User:Aiihuan/global.js

/* Imports */ importArticles({ type:"script", articles: [   'u:dev:MediaWiki:AjaxBatchDelete/code.2.js',   'u:dev:MediaWiki:AjaxDelete/code.js',   'u:dev:MediaWiki:AjaxDiff/code.js',   'u:dev:MediaWiki:AjaxRename/code.js',   'u:dev:MediaWiki:AjaxRC/code.js',   'u:kocka:MediaWiki:AjaxThreadDelete/code.js',   'u:dev:MediaWiki:BackToThread/code.js',   'u:dev:MediaWiki:BackToTopButton/code.js',   'u:dev:MediaWiki:ChatModHover/code.js',   'u:dev:MediaWiki:DupImageList/code.js',   'u:dev:MediaWiki:MassCategorization/code.js',   'u:dev:MediaWiki:MassRename/code.js',   'u:kocka:MediaWiki:MessageWallActions/code.js',   'u:dev:MediaWiki:MultiUpload/code.js',   'u:dev:MediaWiki:NullEditButton/code.js',   'u:dev:MediaWiki:PortableCSSPad/code.js',   'u:dev:MediaWiki:PrivateMessageAlert/code.js',   'u:dev:MediaWiki:PurgeBlogs/code.js',   'u:dev:QuickDiff/code.js',   'u:dev:MediaWiki:QuickIW/code.js',   'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:RevealAnonIP/code.js', 'u:dev:MediaWiki:SearchSuggest/code.js', 'u:dev:MediaWiki:Standard_Edit_Summary/code.js', /*'u:dev:MediaWiki:ToggleSideBar/code.js',*/ 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:View_Source/code.js', 'u:dev:MediaWiki:WHAM/code.2.js' ] }); window.ajaxPages = ["Special:WikiActivity", "Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions/Aiihuan", "Special:Images"]; /*window.AjaxDelete = {   deleteReasons: {        'Help:Spam': 'Spam',        'Help:Vandalism': 'Vandalism',        'Housekeeping': 'Housekeeping',        'Author request': 'Author request',        'Inappropriate': 'Inappropriate',        'Harassment': 'Harassment',        'User page not created by owner': 'User page not created by owner',    },    autoCheckWatch: false };*/ /* Global navigation - based on code from Slyst and Jr Mime */ globalnavcolor = setInterval(function { if ($('.wds-global-navigation').length) { $('.wds-global-navigation, .wds-global-navigation__logo, .wds-global-navigation__link, .wds-global-navigation__wikis-menu, .wds-global-navigation__search, .wds-global-navigation__account-menu, .wds-global-navigation__user-menu, .wds-global-navigation__notifications-menu, .wds-global-navigation__start-a-wiki').css('background-color', $('.navbackground').css('background-color')); clearInterval(globalnavcolor); } }, 150)