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 pageID = document.querySelector('.wikibase-title .wikibase-title-id').innerText.replace( /[()]/g, '' );
 
var pageID = document.querySelector('.wikibase-title .wikibase-title-id').innerText.replace( /[()]/g, '' );
 +
console.log(pageID);
    
if (isDataController()) {
 
if (isDataController()) {
 +
console.log('is dc');
 
generateGDPRLink(pageID);
 
generateGDPRLink(pageID);
 
}
 
}
editors
3,524

edits

Navigation menu