Changes

Jump to navigation Jump to search
no edit summary
Line 22: Line 22:  
console.log("it's a controller")
 
console.log("it's a controller")
 
var $title2 = $( '.wikibase-title' ),
 
var $title2 = $( '.wikibase-title' ),
qId2 = $title2.find( '.wikibase-title-id' ).text().replace( /[()]/g, '' );
+
qId = $title2.find( '.wikibase-title-id' ).text().replace( /[()]/g, '' );
 
var api = new mw.Api();
 
var api = new mw.Api();
 
api.get( {
 
api.get( {

Navigation menu