Changes

Jump to navigation Jump to search
no edit summary
Line 23: Line 23:  
var $title2 = $( '.wikibase-title' ),
 
var $title2 = $( '.wikibase-title' ),
 
qId2 = $title2.find( '.wikibase-title-id' ).text().replace( /[()]/g, '' );
 
qId2 = $title2.find( '.wikibase-title-id' ).text().replace( /[()]/g, '' );
 
+
var api = new mw.Api();
 
api.get( {
 
api.get( {
 
    action: 'expandtemplates',
 
    action: 'expandtemplates',

Navigation menu