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 = ["Recentchanges", "WikiActivity", "Watchlist", "Log", "Contributions"]; window.ajaxRefresh = 45000; window.AjaxRCRefreshText = 'AjaxRCRefresh'; // Imports importArticles({   type: 'script',    articles: [        '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:de.nekkytest:User:Nekky-chan/Import.javascript', // scripts        'u:dev:ChatHacks.js',        'u:dev:MediaWiki:CodeQuickLinks/code.js',        'u:dev:DiscussionsFeed.js', // light        'u:dev:MediaWiki:DiscussionsActivity.js', // pretty        'u:dev:GlobalEditcount/code.js',        'u:dev:MultiUpload/code.js',        'u:dev:QuickDiff/code.js',        'u:dev:Rollback/code.js',        'u:dev:UserAccountAge/code2.js',        'u:dev:UTCClock/code.js',        'u:dev:UnhideUserMasthead/code.js',        'u:dev:MediaWiki:VSTFReport.js', 'u:dev:View Source/code.js', 'u:dev:MediaWiki:VanguardTools.js', 'u:dev:Wikimarks/code.js', 'u:dev:MediaWiki:UserCheck/code.js', ] }); // To use this script, install it and view  Special:Langscan //importScriptURI('http://pastebin.com/raw/AGusXuNv'); now in common.js importStylesheetPage('BotoneraPopups/code.css', 'dev');