Difference between revisions of "MediaWiki:Common.js"

From GAMEO
Jump to navigation Jump to search
 
Line 6: Line 6:
 
});
 
});
  
mw.loader.load( '/w/index.php?title=MediaWiki:Scripturizer.js&action=raw&ctype=text/javascript' );
+
mw.loader.load( '/index.php?title=MediaWiki:Scripturizer.js&action=raw&ctype=text/javascript' );

Latest revision as of 16:43, 21 January 2021

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

mw.config.set('tableSorterCollation', {
			'à':'a', 'â':'a', 'æ':'ae', 'ç':'c', 'é':'e', 'è':'e', 'ê':'e', 'ë':'e', 'ï':'i', 'î':'i', 'ô':'o', 'œ':'oe', 'ù':'u', 'û':'u', 'ü':'u', 'ÿ':'y',  // French characters
			'ä':'ae', 'ö' : 'oe', 'ß': 'ss', 'ü':'ue' // German characters
});

mw.loader.load( '/index.php?title=MediaWiki:Scripturizer.js&action=raw&ctype=text/javascript' );