User:Nekky-chan/global.js

//Disable InfoboxBuilder if ($('.template-classification-type-text').data('type') == 'infobox') $('#ca-edit').attr('href', function(a) {   return this.href + '&useeditor=source'; }) if(window.location.pathname.indexOf('Special:InfoboxBuilder') != -1) {var pname = window.location.pathname.split('Special:InfoboxBuilder/')[1]; location.replace(document.URL.replace(window.location.href.split('/wiki/')[1],'Template:'+pname+'?action=edit&useeditor=source'));}

// +120 min = MESZ window.DisplayClockJS = { offset: 120, format: '%2H:%2M:%2S | %d. %b %Y (MESZ)', }; // AjaxRC window.ajaxSpecialPages = ["WikiActivity"]; window.ajaxRefresh = 45000; window.AjaxRCRefreshText = 'AjaxRCRefresh'; // Imports importArticles({   type: 'script',    articles: [        'u:dev:Wikimarks/code.js',        'u:dev:AjaxRC/code.js',        'u:dev:!bang/code.js', // ! in search bar        // useful popup stuff         'u:dev:MediaWiki:BotoneraPopups/BotoneraPopups.js',        'u:dev:MediaWiki:BotoneraPopups/WikiArticle.js',        'u:dev:MediaWiki:BotoneraPopups/UILang/en.js',        'u:dev:MediaWiki:BotoneraPopups/code.js',        'u:dev:MediaWiki:SmoothGlobalNav/code.js',        'u:dev:MediaWiki:VanguardTools.js',        'u:de.nekkytest:User:Nekky-chan/GloTemplate.javascript', // scripts        'u:dev:ChatHacks.js',        'u:dev:MediaWiki:CodeQuickLinks/code.js',        'u:dev:MediaWiki:RCStats.js',        'u:dev:MediaWiki:Discussions_Delete_All/code.js',        'u:dev:MediaWiki:DiscussionsViewer/code.js',        'u:dev:GlobalEditcount/code.js',        'u:dev:MultiUpload/code.js',        'u:dev:QuickDiff/code.js', 'u:dev:Rollback/code.2.js', 'u:dev:UserAccountAge/code2.js', 'u:dev:MediaWiki:UserCheck/code.js', 'u:dev:UTCClock/code.js', 'u:dev:UnhideUserMasthead/code.js', 'u:dev:MediaWiki:VSTFReport.js', 'u:dev:View Source/code.js', ] });