User:Aiihuan/global.js

/* Imports */ importArticles({ type:"script", articles: [   'u:dev:AjaxBatchDelete/code.2.js',   'u:dev:AjaxDelete/code.js',   'u:dev:AjaxDiff/code.js',   'u:dev:AjaxRename/code.js',   'u:dev:AjaxRC/code.js',   'u:kocka:MediaWiki:AjaxThreadDelete/code.js',   'u:dev:BackToTopButton/code.js',   'u:dev:ChatModHover/code.js',   'u:dev:CommentPreview/code.js',   'u:dev:DupImageList/code.js',   'u:dev:EditBio/code.js',   'u:dev:MassCategorization/code.js',   'u:dev:MassRename/code.js',   'u:dev:MassPatrol/code.js',   'u:dev:MultiUpload/code.js',   'u:dev:NullEditButton/code.js',   'u:dev:PortableCSSPad/code.js',   'u:dev:PrivateMessageAlert/code.js',   'u:dev:PurgeBlogs/code.js',   'u:dev:QuickDiff/code.js',   'u:dev:QuickIW/code.js',   'u:dev:RedirectManagement/code.js',   'u:dev:RevealAnonIP/code.js',   'u:dev:SearchSuggest/code.js',   'u:dev:Standard_Edit_Summary/code.js',   'u:dev:ViewRemoved/code.js', 'u:dev:View_Source/code.js', 'u:dev: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)