Difference between revisions of "MediaWiki:Common.js"

From CAC Documentation wiki
Jump to navigation Jump to search
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: document.write("<script type='text/javascript' src='/analytics.js'></script>");")
 
 
(One intermediate revision by the same user not shown)
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='/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');