User:Animum/headers.js: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Animum (talk | contribs)
m Change
Animum (talk | contribs)
Kate's tool has died
Line 1: Line 1:
addOnloadHook(function () {
addOnloadHook(function () {
addPortletLink('p-personal', 'http://toolserver.org/~river/cgi-bin/count_edits',
addPortletLink('p-personal', 'http://tools.wmflabs.org/supercount/index.php',
'Kate\'s tool', 'pt-kate', 'Kate\'s tool', null, document.getElementById('pt-preferences'));
'editcount', 'pt-editcount', 'editcount', null, document.getElementById('pt-preferences'));
addPortletLink('p-personal', 'http://en.wikipedia.org/w/index.php?title=Special:Log&user=' + encodeURIComponent(wgUserName),
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'));
'logs', 'pt-mylogs', 'logs', null, document.getElementById('pt-watchlist'));

Revision as of 23:43, 21 July 2015

addOnloadHook(function () {
    addPortletLink('p-personal', 'http://tools.wmflabs.org/supercount/index.php',
        'editcount', 'pt-editcount', 'editcount', 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'));
});