Thanks for using our site!

If you're looking to become an editor, please read the Becoming an Editor section carefully.

MediaWiki:Common.js: Difference between revisions

From ranchstory
Jump to navigationJump to search
imported>Stephen64
No edit summary
imported>Stephen64
No edit summary
Line 4: Line 4:
/* Loads the JS Required for a Twitter Widget */
/* Loads the JS Required for a Twitter Widget */
mw.loader.load('https://platform.twitter.com/widgets.js&action=raw&ctype=text/javascript');
mw.loader.load('https://platform.twitter.com/widgets.js&action=raw&ctype=text/javascript');
/* Loads the JS Required fro the Twitter Widget */
mw.loader.load( '/w/index.php?title=MediaWiki:TwitterWidget.js&action=raw&ctype=text/javascript' );

Revision as of 23:32, 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');
/* Loads the JS Required fro the Twitter Widget */
mw.loader.load( '/w/index.php?title=MediaWiki:TwitterWidget.js&action=raw&ctype=text/javascript' );