User:LanaBot/global.js

var QuickToolsAdvancedtop = false; massCategorizationDelay = 400;

window.AjaxCommentDeleteConfig = { fastDelete: "Housekeeping" }; window.addEventListener("scroll", function {   $(".wds-global-navigation").toggleClass("hideNav", $(".wds-global-navigation").offset.top > 50); }); $(function {    $('.wds-global-navigation__search-toggle').off;    $('.wds-global-navigation__search-input').off('keydown blur');    $('#globalNavigation').addClass('wds-search-is-active'); }); window.addEventListener("scroll", function {   $(".wds-global-navigation").toggleClass("hideNav", $(".wds-global-navigation").offset.top > 50); }); $(function {    $('.wds-global-navigation__search-toggle').off;    $('.wds-global-navigation__search-input').off('keydown blur');    $('#globalNavigation').addClass('wds-search-is-active'); }); /* AjaxRC */ window.ajaxRefresh = 5000; window.ajaxPages = ["Blog:Recent_posts","Special:Chat","Special:WikiActivity","Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions","Special:Images","Special:Contributions"]; window.AjaxRCRefreshText = 'Update content'; window.AjaxRCRefreshHoverText = 'Automatically refresh the page'; importArticles({    type: 'script',     articles: [         'u:dev:MediaWiki:DiscussionsFeed.js',         'u:dev:MediaWiki:DiscussionsRailModule/code.js',         'u:dev:MediaWiki:EditBio/code.js',         'u:dev:MediaWiki:SandboxTab/code.js',         'u:dev:MediaWiki:LastEdited/code.js',         'u:dev:MediaWiki:Rollback/code.js',         'u:dev:MediaWiki:ViewRemoved/code.js',         'u:dev:View Source/code.js',         'u:dev:WallGreetingButton/code.js',         'u:dev:AjaxCommentDelete/code.js',         'u:dev:AjaxDiff/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',         'u:dev:AjaxRC/code.js',         'u:dev:MediaWiki:AnchoredRollback/code.js',         'u:dev:MediaWiki:DiscussionsViewer/code.js',         'u:dev:MediaWiki:CacheCheck/code.js', 'u:dev:MediaWiki:QuickToolsv2/code.js', 'u:dev:MediaWiki:MassCategorization/code.js', ] });