Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,655
edits
(Copy template, saving to see what it looks like) |
mNo edit summary |
||
Line 12: | Line 12: | ||
$('a.menu__item--random').attr('href', mw.util.getUrl('Special:RandomInCategory/All_Modules')); | $('a.menu__item--random').attr('href', mw.util.getUrl('Special:RandomInCategory/All_Modules')); | ||
$('<ul>').attr('id', 'p- | $('<ul>').attr('id', 'p-Games').insertAfter(advancedMode ? '#p-interaction' : '#p-personal'); | ||
// [[Minecraft]] | // [[Minecraft]] | ||
mw.util.addPortletLink( 'p-Games', mw.util.getUrl('Minecraft'), 'Minecraft' ); | mw.util.addPortletLink( 'p-Games', mw.util.getUrl('Minecraft'), 'Minecraft' ); | ||
Line 25: | Line 25: | ||
if ( !advancedMode ) { | if ( !advancedMode ) { | ||
$('<ul>').attr('id', 'p-interaction').insertAfter('#p- | $('<ul>').attr('id', 'p-interaction').insertAfter('#p-Games'); | ||
// [[Minecraft Wiki:Community portal]] | // [[Minecraft Wiki:Community portal]] | ||
mw.util.addPortletLink( 'p-interaction', mw.util.getUrl('Minecraft Wiki:Community portal'), 'Community portal' ); | mw.util.addPortletLink( 'p-interaction', mw.util.getUrl('Minecraft Wiki:Community portal'), 'Community portal' ); |
edits