Content deleted Content added
add one more or |
for contribs |
||
Line 6:
if(mw.config.get('wgNamespaceNumber') == 2 || mw.config.get('wgNamespaceNumber') == 3 || mw.config.get('wgCanonicalSpecialPageName') == "Contributions") {
var uname = "";
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');▼
if (mw.config.get("wgCanonicalSpecialPageName") == "Contributions")
uname = mw.config.get("wgTitle").split("/").pop();
else uname = mw.config.get("wgTitle").split("/")[0];
▲ mw.util.addPortletLink("p-tb", 'https://en.wikipedia.org/w/index.php?title=Special:Log/block&page=User:' +
}
|