Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,655
edits
(Copy template, saving to see what it looks like) |
m (Sandbox isn't super useful on mobile, but maybe I'll add it later) |
||
(One intermediate revision by the same user not shown) | |||
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-Useful').insertAfter(advancedMode ? '#p- | $('<ul>').attr('id', 'p-Useful').insertAfter(advancedMode ? '#p-links' : '#p-personal'); | ||
// [[ | // [[All Modules]] | ||
mw.util.addPortletLink( 'p- | mw.util.addPortletLink( 'p-Useful', mw.util.getUrl('All Modules'), 'All Modules' ); | ||
// [[ | // [[Public Server]] | ||
mw.util.addPortletLink( 'p- | mw.util.addPortletLink( 'p-Useful', mw.util.getUrl('Public Server'), 'Public Server' ); | ||
// [[ | // [[Custom Crafters]] | ||
mw.util.addPortletLink( 'p- | mw.util.addPortletLink( 'p-Useful', mw.util.getUrl('Custom Crafters'), 'Custom Crafters' ); | ||
// [[ | // [[Better Armour Stands]] | ||
mw.util.addPortletLink( 'p- | mw.util.addPortletLink( 'p-Useful', mw.util.getUrl('Better Armour Stands'), 'Better Armour Stands' ); | ||
// [[ | // [[Liquid Tanks]] | ||
mw.util.addPortletLink( 'p- | mw.util.addPortletLink( 'p-Useful', mw.util.getUrl('Liquid Tanks'), 'Liquid Tanks' ); | ||
// [[Metallurgy]] | |||
mw.util.addPortletLink( 'p-Useful', mw.util.getUrl('Metallurgy'), 'Metallurgy' ); | |||
// [[Zauber Cauldrons]] | |||
mw.util.addPortletLink( 'p-Useful', mw.util.getUrl('Zauber Cauldrons'), 'Zauber Cauldrons' ); | |||
$('<ul>').attr('id', 'p-links').insertAfter('#p-Useful'); | |||
// //gm4.co | |||
mw.util.addPortletLink( 'p-links', '//gm4.co', 'Website' ); | |||
// [[Discord]] | |||
mw.util.addPortletLink( 'p-links', '//gm4.co/discord', 'Discord' ); | |||
// [[ | // [[GitHub]] | ||
mw.util.addPortletLink( 'p- | mw.util.addPortletLink( 'p-links', '//github.com/Gamemode4Dev/GM4_Datapacks', 'GitHub' ); | ||
// [[ | // [[YouTube]] | ||
mw.util.addPortletLink( 'p- | mw.util.addPortletLink( 'p-links', '//youtube.com/Gamemode4Official', 'YouTube' ); | ||
// [[ | // [[Twitter]] | ||
mw.util.addPortletLink( 'p- | mw.util.addPortletLink( 'p-links', '//twitter.com/GM4Official', 'Twitter' ); | ||
// [[ | // [[Patreon]] | ||
mw.util.addPortletLink( 'p- | mw.util.addPortletLink( 'p-links', '//patreon.com/gamemode4', 'Patreon' ); | ||
// [[ | // [[Evergrowth]] | ||
mw.util.addPortletLink( 'p- | mw.util.addPortletLink( 'p-links', '//gm4.co/evergrowth', 'Evergrowth' ); | ||
// [[ | |||
mw.util.addPortletLink( 'p- | |||
} ); | } ); |
edits