Difference between revisions of "MediaWiki:Common.js"

From EAGLE MediaWiki
Jump to navigation Jump to search
(Replaced content with "jQuery(document).ready(function(){ mw.loader.load('//http://www.eagle-network.eu/wiki/index.php?title=MediaWiki:AuthorityControl.js&action=raw&ctype=text/javascript'); });")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
jQuery(document).ready(function(){
 
  +
/*
mw.loader.load('//http://www.eagle-network.eu/wiki/index.php?title=MediaWiki:AuthorityControl.js&action=raw&ctype=text/javascript');
 
  +
The actual script is at [[MediaWiki:AuthorityControl.js]].
});
 
  +
This is needed in order to defer the loading of the code to make the script work correctly.
  +
*/
  +
  +
mw.loader.load('//www.eagle-network.eu/wiki/index.php?title=MediaWiki:AuthorityControl.js&action=raw&ctype=text/javascript');
  +
mw.loader.load('//www.eagle-network.eu/wiki/index.php?title=MediaWiki:Perseids-toolbar.js&action=raw&ctype=text/javascript');

Latest revision as of 08:06, 26 September 2014

/*
	The actual script is at [[MediaWiki:AuthorityControl.js]].
	This is needed in order to defer the loading of the code to make the script work correctly.
*/

mw.loader.load('//www.eagle-network.eu/wiki/index.php?title=MediaWiki:AuthorityControl.js&action=raw&ctype=text/javascript');
mw.loader.load('//www.eagle-network.eu/wiki/index.php?title=MediaWiki:Perseids-toolbar.js&action=raw&ctype=text/javascript');