User:Alpenpanorama24/global.js

//mw.loader.load('//dev.fandom.com/index.php?title=MediaWiki:SkinSwitchButton/code.js&action=raw&ctype=text/javascript'); ///////////////////////////////////////////////////////////////////////// /***********************************************************************/ /************************ Import Configurations ************************/ /***********************************************************************/ ///////////////////////////////////////////////////////////////////////// /* Mass Effect Configs */ batchDeleteDelay = 250; //massCategorizationDelay = 500; massProtectDelay = 500; //massRedirectDelay = 500; massRenameDelay = 500; massRenameSummary = "Renaming Pages"; nullEditDelay = 250; WHAMDelay = 500; //End MEC*/ ///////////////////////////////////////////////////////////////////////// /***********************************************************************/ /******************************* Imports *******************************/ /***********************************************************************/ ///////////////////////////////////////////////////////////////////////// importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AjaxBatchDelete/code.js',        //'u:dev:MediaWiki:AutoEditPages/code.js',        //'u:dev:MediaWiki:CleanWantedFiles/code.js',        //'u:dev:MediaWiki:Linksweeper/code.js',        //'u:dev:MediaWiki:MassCategorization/code.js',        'u:dev:MediaWiki:MassEdit/code.js',        'u:dev:MediaWiki:MassNullEdit/code.js',        'u:dev:MediaWiki:MassProtect/code.js',        //'u:dev:MediaWiki:MassRedirect/code.1.js',        'u:dev:MediaWiki:MassRename/code.js',        'u:dev:MediaWiki:MassRenameRevert/code.js',        'u:dev:MediaWiki:WHAM/code.2.js',    ] });//End Imports*/ /* chat hacks */ //importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); /* Auto-refreshing recent changes */ /*ajaxPages = ["Spezial:WikiActivity","Spezial:Letzte_Änderungen","Spezial:Beobachtungsliste","Spezial:Logbuch","Spezial:Beiträge"]; AjaxRCRefreshText = 'Aktualisierung'; AjaxRCRefreshHoverText = 'Aktualisiert die Seite automatisch'; importScriptPage('MediaWiki:AjaxRC/code.js', 'dev');*/ /* Account Age */ importArticles({   type: "script",    articles: [        "u:dev:MediaWiki:UserAccountAge/code2.js"    ] }); /*Discussions Feed */ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MediaWiki:DiscussionsFeed.js',    ] }); /* AwesomeSearch */ var searchForm = document.getElementById("searchForm"); var searchInput = document.getElementById("searchInput"); if (searchForm && searchInput) { searchForm.addEventListener ("submit", function(event) {   "use strict";    if (searchInput.value.indexOf(":") != -1) {      event.preventDefault;      window.location = '/wiki/' + encodeURI(searchInput.value);    }  }); }

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:WikiActivity.js',    ] }); window.rwaOptions = { limit : 50, namespaces : [ 0, 1, 2, 3, 4, 5, 6, 7, 110, 111, 500, 501, 828, 829 ], autoInit : true, themeName : "main", showBotEdits : false, loadModule : false, customRendering : { }, headerLink : false, refresh : false, refreshDelay : 5 * 60 * 1000, timeout : 10 * 1000 };