User:DStoykov/usertabs.js: Difference between revisions - Wikipedia


Article Images

Content deleted Content added

Line 10:

if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk") {

var username = encodeURIComponent( wgTitle );

mw.util.addPortletLink("p-cactions", wgServer + "/wiki/Special:Contributions/" + username, "Contribs", "ca-contrib", "User contributions");

mw.util.addPortletLink("p-cactions", "/w/index.php?title=Special:Log&type=move&user=" + username, "Page moves", "ca-pagemoves", "Page moves by this user");

mw.util.addPortletLink("p-cactions", "/w/index.php?title=Special:Log&type=block&user=" + username, "Block log", "ca-blog", "Blocks by this user");