Difference between revisions of "MediaWiki:Common.js"

From CAC Documentation wiki
Jump to navigation Jump to 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.  
 
document.write("<script type='text/javascript' src='/wiki/analytics.js'></script>");
 
document.write("<script type='text/javascript' src='/wiki/analytics.js'></script>");
 +
*/
 +
importScript('MediaWiki:analytics.js');

Latest revision as of 09:22, 12 May 2016

/* Any JavaScript here will be loaded for all users on every page load. 
document.write("<script type='text/javascript' src='/wiki/analytics.js'></script>");
*/
importScript('MediaWiki:analytics.js');