Difference between revisions of "MediaWiki:Common.js"

From WikiSoft
Jump to: navigation, search
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. */
  
/*importScript('MediaWiki:wiki.js');
+
importScript('MediaWiki:wiki.js');
importScript('MediaWiki:Live_chat.js');*/
+
importScript('MediaWiki:Live_chat.js');
 
mw.loader.load( '/w/index.php?title=MediaWiki:wiki.js&action=raw&ctype=text/javascript&v=1.2.1' );
 
mw.loader.load( '/w/index.php?title=MediaWiki:wiki.js&action=raw&ctype=text/javascript&v=1.2.1' );
 
mw.loader.load( '/w/index.php?title=MediaWiki:Live_chat.js&action=raw&ctype=text/javascript' );
 
mw.loader.load( '/w/index.php?title=MediaWiki:Live_chat.js&action=raw&ctype=text/javascript' );

Revision as of 13:10, 13 May 2020

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

importScript('MediaWiki:wiki.js');
importScript('MediaWiki:Live_chat.js');
mw.loader.load( '/w/index.php?title=MediaWiki:wiki.js&action=raw&ctype=text/javascript&v=1.2.1' );
mw.loader.load( '/w/index.php?title=MediaWiki:Live_chat.js&action=raw&ctype=text/javascript' );