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

Content deleted Content added
refactor
add one more or
Line 5:
}
 
if(mw.config.get('wgNamespaceNumber') == 2 || mw.config.get('wgNamespaceNumber') == 3 || mw.config.get('wgCanonicalSpecialPageName') == "Contributions") {
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');
}