MediaWiki:Common.js

MDFW - The Mystery Dungeon Tree of Information.
Revision as of 11:54, 8 July 2022 by Adkuate (talk | contribs)
Jump to navigation Jump to search

CSS and Javascript changes must comply with the wiki design rules.


Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* Any JavaScript here will be loaded for all users on every page load. */

/* Include in the wiki the following JavaScript pages */

/*
// MediaWiki:jCarousel.js
mw.loader.load( '/w/index.php?title=MediaWiki:jCarousel.js&action=raw&ctype=text/javascript' );
*/

/*
// MediaWiki:Countdown.js
mw.loader.load( '/w/index.php?title=MediaWiki:Countdown.js&action=raw&ctype=text/javascript' );
*/

// Widget:Rescue Password Generator/script.js
mw.loader.load( '/w/index.php?title=Widget:Rescue_Password_Generator/script.js&action=raw&ctype=text/javascript' );

/* Mass Move Pages Tool
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Plastikspork/massmove.js&action=raw&ctype=text/javascript' ); //[[User:Plastikspork/massmove.js]]
mw.util.addPortletLink("p-tb", "//en.wikipedia.org/wiki/Special:Massmove", "Mass move", "p-massmove", "Mass move");
*/