User:Persian Poet Gal/extendusertabs.js

// Please leave the following line // user:Where/usertabs $(function { if (wgTitle.indexOf("/") != -1 || document.title.indexOf("- History -") != -1)  //no subpages or history     return;  if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk") {     var username = encodeURIComponent( wgTitle );     mw.util.addPortletLink("p-cactions", wgServer + "/wiki/Special:Block/" + username, "Block", "ca-block", "Block this user");     mw.util.addPortletLink("p-cactions", wgServer + "/wiki/Special:Contributions/" + username, "Contribs", "ca-contribs", "Contribs of this user");     mw.util.addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special%3ALog&type=newusers&user=" + username, "Creation Log", "ca-creationlog", "Creation log of this user");     mw.util.addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=move&user=" + username, "Page moves", "ca-pagemoves", "Page moves by this user");     mw.util.addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=block&page=User:" + username, "Block log", "ca-blocklog", "Block log of this user"); mw.util.addPortletLink("p-cactions", "http://toolserver.org/~tangotango/userreg.php?user=" + username + "&subdom=en&domain=.wikipedia.org", "Regfind", "ca-regfind", "Regfind"); mw.util.addPortletLink("p-cactions", "http://samspade.org/whois?query=" + username, "WHOIS", "ca-whois", "WHOIS of IP"); mw.util.addPortletLink("p-cactions", "http://toolserver.org/~vvv/sulutil.php?user=" + username, "SUL", "ca-sul", "SUL lookup for user"); } });

//