Revision as of 17:32, 19 October 2008 view sourceAnimum (talk | contribs)30,489 edits Restored revision 222207991 by Animum← Previous edit |
Latest revision as of 19:26, 28 November 2021 view source Ladsgroup (talk | contribs)Extended confirmed users, IP block exemptions, Pending changes reviewers, Rollbackers20,548 editsm Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink) |
(4 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
|
addOnloadHook(function () { |
|
$(function () { |
|
addPortletLink('p-personal', 'http://tools.wikimedia.de/~interiot/cgi-bin/Tool1/wannabe_kate', |
|
mw.util.addPortletLink('p-personal', 'http://tools.wmflabs.org/supercount/index.php', |
|
'wannabe kate', 'pt-wannabe kate', 'wannabe kate', null, document.getElementById('pt-preferences')); |
|
'editcount', 'pt-editcount', 'editcount', null, document.getElementById('pt-preferences')); |
|
addPortletLink('p-personal', 'http://en.wikipedia.org/search/?title=Special:Log&user=' + encodeURIComponent(wgUserName), |
|
mw.util.addPortletLink('p-personal', 'http://en.wikipedia.org/search/?title=Special:Log&user=' + encodeURIComponent(mw.config.get('wgUserName')), |
|
'logs', 'pt-mylogs', 'logs', null, document.getElementById('pt-watchlist')); |
|
'logs', 'pt-mylogs', 'logs', null, document.getElementById('pt-watchlist')); |
|
addPortletLink('p-personal', wgArticlePath.replace(/\$1/, 'Misplaced Pages:Administrator intervention against vandalism'), |
|
mw.util.addPortletLink('p-personal', mw.config.get('wgArticlePath').replace(/\$1/, 'Misplaced Pages:Administrator intervention against vandalism'), |
|
'AIV', 'pt-AIV', 'AIV', null, document.getElementById('pt-preferences')); |
|
'AIV', 'pt-AIV', 'AIV', null, document.getElementById('pt-preferences')); |
|
addPortletLink('p-personal', wgArticlePath.replace(/\$1/, 'User:' + encodeURIComponent(wgUserName) + '/monobook.js'), |
|
mw.util.addPortletLink('p-personal', mw.config.get('wgArticlePath').replace(/\$1/, 'User:' + encodeURIComponent(mw.config.get('wgUserName')) + '/monobook.js'), |
|
'monobook', 'pt-monobook', 'monobook', null, document.getElementById('pt-preferences')); |
|
'monobook', 'pt-monobook', 'monobook', null, document.getElementById('pt-preferences')); |
|
}); |
|
}); |