Jump to content

User:Animum/headers.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Animum (talk | contribs) at 02:01, 31 May 2009 (Change). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
addOnloadHook(function () {
    addPortletLink('p-personal', 'http://toolserver.org/~river/cgi-bin/count_edits',
        'Kate\'s tool', 'pt-kate', 'Kate\'s tool', null, document.getElementById('pt-preferences'));
    addPortletLink('p-personal', 'http://en.wikipedia.org/w/index.php?title=Special:Log&user=' + encodeURIComponent(wgUserName),
        'logs', 'pt-mylogs', 'logs', null, document.getElementById('pt-watchlist'));
    addPortletLink('p-personal', wgArticlePath.replace(/\$1/, 'Wikipedia:Administrator intervention against vandalism'),
        'AIV', 'pt-AIV', 'AIV', null, document.getElementById('pt-preferences'));
    addPortletLink('p-personal', wgArticlePath.replace(/\$1/, 'User:' + encodeURIComponent(wgUserName) + '/monobook.js'),
        'monobook', 'pt-monobook', 'monobook', null, document.getElementById('pt-preferences'));
});