User:Skill/monobook.js

// from WikiProject User scripts/Scripts/User Contribs Tabs // modified to remove edit summary usage and add logs link addOnloadHook(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 ); addPortletLink("p-cactions", wgServer + "/wiki/Special:Contributions/" + username, "contribs", "ca-contrib", "User contributions"); addPortletLink("p-cactions", "http://tools.wikimedia.de/~interiot/cgi-bin/Tool1/wannabe_kate?username=" + username + "&site=en.wikipedia.org", "count", "ca-editcount", "Edit count from Interiot's Tool1"); addPortletLink("p-cactions", wgServer + "index.php?title=Special%3ALog&type=&user=" + username + "&page=", "logs", "ca-logs", "User logs"); } });