User:Nekky-chan/global.js

// +120 min = MESZ window.DisplayClockJS = { offset: 120, format: '%2H:%2M:%2S | %d. %b %Y (MESZ)', }; importScriptPage('MediaWiki:ChatHacks.js', 'dev'); importScriptPage('MediaWiki:ChatOptions.js', 'dev'); importArticles({   type: 'script',    articles: [        'u:dev:CategoryRenameAuto-update/code.js',        'u:dev:MediaWiki:UserCheck/code.js',        'u:dev:DiscussionsFeed.js',        'u:dev:AdminDropdown.js',        'u:dev:UTCClock/code.js',        'u:dev:View Source/code.js',        'u:dev:QuickToolsv2/code.js',        'u:dev:GlobalEditcount/code.js',        "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"    ] }); importStylesheetPage('BotoneraPopups/code.css', 'dev');

// For NekkyBud from Ditto Duck Penguin :) $(function { var tru = { condition: "false" };   setInterval(function {        if ($('#advanced_tools')[0] !== undefined && tru.condition == "false") {            function SecondaryMod {                var Secondary_Module = {                    "Links": "H2",                    "Discussion Feed": "/Special:DiscussionsFeed",                    "API User": "/api.php?action=query&list=allusers&augroup=bureaucrat%7Csysop&auprop=groups&auactiveusers",                    "Admins and Bureaucrats": "/Special:ListUsers/sysop,bureaucrat",                    "CSS/JS Pages": "H2",                    "Wikia.css": "/MediaWiki:Wikia.css",                    "Wikia.js": "/MediaWiki:Wikia.js",                    "Common.css": "/MediaWiki:Common.css",                    "Common.js": "/MediaWiki:Common.js",                    "Themes.css": "/MediaWiki:Themes.css",                    "nPIs": "/Special:Insights/nonportableinfoboxes",                    "All Templates": "/Special:Templates" }               $('#quicktoolsv2').prepend(' \                div#secondarymodule li {\    display: grid;\ }\  ');

Object.keys(Secondary_Module).forEach(function(d, s) {                   if (Secondary_Module[d] != "H2") {                        $('#secondarymodule ul').append('' + d + ' ')                    } else {                        $('#secondarymodule ul').append(" " + d + "  ");                    }                }) }

$("a#advanced_tools").on('click', function {               SecondaryMod;            })

}       return tru.condition = "true"; }, 2000)

})