MediaWiki:Common.js: Difference between revisions

Want an adless experience? Log in or Create an account.
force load mw.util
m (Unreliable rank coloring script superseded by CSS.)
(force load mw.util)
Line 7: Line 7:


/* add Templates and Sandbox links to the Toolbox */
/* add Templates and Sandbox links to the Toolbox */
mw.loader.load( 'mw.util' );
mw.util.addPortletLink( 'p-tb', '/wiki/Category:Templates', 'Templates', 't-templates', 'Available Templates' );
mw.util.addPortletLink( 'p-tb', '/wiki/Category:Templates', 'Templates', 't-templates', 'Available Templates' );
mw.util.addPortletLink( 'p-tb', '/wiki/Zelda Dungeon Wiki:Sandbox', 'Sandbox', 't-sandbox', 'Sandbox for testing changes' );
mw.util.addPortletLink( 'p-tb', '/wiki/Zelda Dungeon Wiki:Sandbox', 'Sandbox', 't-sandbox', 'Sandbox for testing changes' );