MediaWiki:Minerva.js

From SPCodex, The Smashing Pumpkins wiki
Revision as of 02:39, 29 October 2020 by MusikAnimal (talk | contribs) (Undo revision 56173 by MusikAnimal (talk))

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
$.when( mw.loader.using( 'mediawiki.util' ), $.ready ).then( function () {
	$('#p-navigation .mw-ui-icon-minerva-die').hide();
	mw.util.addPortletLink('p-navigation', '/wiki/Discography', 'Discography', 'nav-discography');
	mw.util.addPortletLink('p-navigation', '/wiki/Studio_sessions', 'Studio sessions', 'nav-studio-sessions');
	mw.util.addPortletLink('p-navigation', '/wiki/Tour_history', 'Tour history', 'nav-tour-history');
	mw.util.addPortletLink('p-navigation', '/wiki/Special:RandomInCategory/Songs', 'Random song', 'nav-random-song');
	mw.util.addPortletLink('p-navigation', '/wiki/Special:RandomInCategory/Albums', 'Random album', 'nav-random-album');
	mw.util.addPortletLink('p-navigation', '/wiki/Special:RandomInCategory/Live_performances', 'Random show', 'nav-random-show');
	mw.util.addPortletLink('p-navigation', '/wiki/Category:Contents', 'Categories', 'nav-categories');
	mw.util.addPortletLink('p-navigation', '/wiki/Category:Drilldown', 'Browse database', 'nav-database');
	mw.util.addPortletLink('p-navigation', '/wiki/Pumpkin_Patch', 'Pumpkin Patch', 'nav-pumpkin-patch');
	mw.util.addPortletLink('p-navigation', '/wiki/SPCodex:FAQ', 'FAQ', 'nav-faq');
});