MediaWiki:Common.js

importArticles({   type: "script",    articles: [        "User:Jens_Ingels/common.js/flash.js",        "external:dev:RevealAnonIP/code.js",        "external:dev:FixWantedFiles/code.js",        "external:dev:InactiveUsers/code.js",        "u:dev:ListingEdit/code.js"    ] }); // Configuration options for window.ListingEdit go here (optional) // End section. window.ListingEdit.init;

/* "Username" template - from Bloons wiki */ $(function { if (typeof wgUserName != 'undefined') {     $('.insertusername').html(wgUserName);  } });

/* Detect undefined */ var isThisScriptToLoad = true; if (typeof(wgDeveloperFlag) == 'undefined') { // Not a developer // Should load MediaWiki:Common.js isThisScriptToLoad = (typeof(loadFlag) == 'undefined'); } else { // A developer // Should load Special:Mypage/monobook.js isThisScriptToLoad = (typeof(loadFlag) != 'undefined'); }