MediaWiki:Common.js: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
m (Changed protection level for "MediaWiki:Common.js" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
mNo edit summary
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */


/*Include in the wiki
/* Include in the wiki the following JavaScript pages:
MediaWiki:Countdown.js
MediaWiki:Countdown.js
Widget:Rescue Password Generator/script.js‎
Widget:Rescue Password Generator/script.js
*/
*/
mw.loader.load( '/w/index.php?title=MediaWiki:Countdown.js&action=raw&ctype=text/javascript' );
mw.loader.load( '/w/index.php?title=MediaWiki:Countdown.js&action=raw&ctype=text/javascript' );
mw.loader.load( '/w/index.php?title=Widget:Rescue_Password_Generator/script.js‎&action=raw&ctype=text/javascript' );
mw.loader.load( '/w/index.php?title=Widget:Rescue_Password_Generator/script.js&action=raw&ctype=text/javascript' );


/*Mass Move Pages Tool
/* 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.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");
mw.util.addPortletLink("p-tb", "//en.wikipedia.org/wiki/Special:Massmove", "Mass move", "p-massmove", "Mass move");
*/

Revision as of 11:23, 24 April 2021

/* Any JavaScript here will be loaded for all users on every page load. */

/* Include in the wiki the following JavaScript pages:
MediaWiki:Countdown.js
Widget:Rescue Password Generator/script.js
*/

mw.loader.load( '/w/index.php?title=MediaWiki:Countdown.js&action=raw&ctype=text/javascript' );
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");
*/