User:JJPMaster/Scripts/g4.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 3:
}
 
if(mw.config.get('wgNamespaceNumber') == 2 || 3) {
mw.util.addPortletLink("p-tb", 'https://en.wikipedia.org/w/index.php?title=Special:Log/deleteblock&page=User:' + mw.config.get('wgTitle'), 'Block log', 'blog', 'View this user\'s block log');
}
 
if(mw.config.get('wgNamespaceNumber') == 3) {
mw.util.addPortletLink("p-tb", 'https://en.wikipedia.org/w/index.php?title=Special:Log/block&page=User:' + mw.config.get('wgTitle'), 'Block log', 'blog', 'View this user\'s block log');
}