|
Thanks for using our site! |
MediaWiki:Common.js: Difference between revisions
From ranchstory
Jump to navigationJump to search
imported>Stephen64 Moving widget to it's own dedicate js file |
imported>Stephen64 No 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. */ | ||
/* Loads the JS Required fro the Discord Widget */ | |||
mw.loader.load( '/w/index.php?title=MediaWiki:DiscordWidget.js&action=raw&ctype=text/javascript' ); | mw.loader.load( '/w/index.php?title=MediaWiki:DiscordWidget.js&action=raw&ctype=text/javascript' ); | ||
/* Loads the JS Required for a Twitter Widget */ | |||
mw.loader.load('https://platform.twitter.com/widgets.js&action=raw&ctype=text/javascript'); | |||
Revision as of 22:35, 6 January 2021
/* Any JavaScript here will be loaded for all users on every page load. */
/* Loads the JS Required fro the Discord Widget */
mw.loader.load( '/w/index.php?title=MediaWiki:DiscordWidget.js&action=raw&ctype=text/javascript' );
/* Loads the JS Required for a Twitter Widget */
mw.loader.load('https://platform.twitter.com/widgets.js&action=raw&ctype=text/javascript');