Jump to: navigation, search

Difference between revisions of "MediaWiki:Common.js"

(Created page with "- Any JavaScript here will be loaded for all users on every page load.: $('body').repo({ user: 'darcyclarke', name: 'Repo.js' });")
 
 
Line 2: Line 2:
  
 
$('body').repo({ user: 'darcyclarke', name: 'Repo.js' });
 
$('body').repo({ user: 'darcyclarke', name: 'Repo.js' });
 +
 +
importScript('MediaWiki:' + wgPageName + '.js');

Latest revision as of 11:11, 17 December 2013

/* Any JavaScript here will be loaded for all users on every page load. */
 
$('body').repo({ user: 'darcyclarke', name: 'Repo.js' });
 
importScript('MediaWiki:' + wgPageName + '.js');