User:Akasim/common.js

/* importArticles({   type: 'script',    articles: [        'u:googology:MediaWiki:Common.js'    ] });

/* Any JavaScript here will be loaded for all users on every page load. */ /* (function {  var script = document.createElement("script");  script.type = "text/javascript";  script.src  = "http://cdn.mathjax.org/mathjax/latest/MathJax.js";

var config = 'MathJax.Hub.Config({' +                'extensions: ["tex2jax.js"],' +                 'jax: ["input/TeX","output/HTML-CSS"]' +               '});' + 'MathJax.Hub.Startup.onload;';

if (window.opera) {script.innerHTML = config} else {script.text = config}

document.getElementsByTagName("head")[0].appendChild(script); });

/* Cf. http://dev.wikia.com/wiki/MassEdit */ importArticles({   type: 'script',    articles: [        'u:dev:MassEdit/code.js'    ] });

importArticles({   type: "script",    articles: [        'u:dev:AjaxBatchDelete/code.2.js'    ] });

importScriptPage('SkinSwitchButton/code.js', 'dev');

if (mw.config.get("wgUserGroups").indexOf('sysop') > -1) { massCategorizationDelay = 1000; importScriptPage('MediaWiki:MassCategorization/code.js', 'dev'); }

importArticles({   type: 'script',    articles: [        'u:dev:CategoryRenameAuto-update/code.js',    ] });