Difference between revisions of "User:Waldir/vector.js"
(it does work now :)) |
|||
Line 1: | Line 1: | ||
− | + | importScriptURI('http://meta.wikimedia.org/w/index.php?title=User:Waldir/vector.js&action=raw&ctype=text/javascript'); | |
− | |||
− | + | if(wgCanonicalSpecialPageName == 'Contributions') | |
− | + | addPortletLink('p-cactions', 'javascript:alert("it works!")', 'show/hide topsdfh', 'ca-hidetop', | |
− | + | "Show/hide pages for which you're the top contributor", ''); | |
− | |||
− |
Revision as of 21:09, 25 November 2012
importScriptURI('http://meta.wikimedia.org/w/index.php?title=User:Waldir/vector.js&action=raw&ctype=text/javascript'); if(wgCanonicalSpecialPageName == 'Contributions') addPortletLink('p-cactions', 'javascript:alert("it works!")', 'show/hide topsdfh', 'ca-hidetop', "Show/hide pages for which you're the top contributor", '');