Changes

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

edits

Navigation menu