Changes

Jump to navigation Jump to search
no edit summary
Line 37: Line 37:  
// get the ID of the current page
 
// get the ID of the current page
 
var currentPageId = "{{#invoke:wd|label|raw}}";
 
var currentPageId = "{{#invoke:wd|label|raw}}";
 +
console.log('current page ID is ');
 
console.log(currentPageId);
 
console.log(currentPageId);
 
var pageID = document.querySelector('.wikibase-title .wikibase-title-id').innerText.replace( /[()]/g, '' );
 
var pageID = document.querySelector('.wikibase-title .wikibase-title-id').innerText.replace( /[()]/g, '' );
editors
3,524

edits

Navigation menu