User:Banarama/global.js

//////////////////////////////////////////////// /**************** Miscellaneous ***************/ //////////////////////////////////////////////// /* Rail Priority */ $(function {   mw.hook('DiscordIntegrator.added').add(function { $('.DiscordIntegratorModule').appendTo('#WikiaRail'); }); });//End RP*/ /* Stop Signature Check */ if (window.WikiaEditor && window.GlobalTriggers) { window.GlobalTriggers.bind('WikiaEditorReady', function callback {       window.GlobalTriggers.unbind('WikiaEditorReady', callback);        window.setTimeout(function { $('#wpSave').closest('form').off('submit.CheckSignature'); }, 0);   }); }//End SSC*/ //////////////////////////////////////////////// /*************** Import Configs ***************/ //////////////////////////////////////////////// /* Cache Check */ window.cacheSkip = []; window.cacheSkipLimit = 1000; window.topLevelCat = '';//End CC*/

/* WHAM! */ WHAMDelay = 1000

/* RailWAM */ window.railWAM = { logPage: 'Project:WAM Log' };

/* GlobalNavButtons */ var globalNavButtons = [ {   text: 'RC', url: 'https://community.fandom.com/wiki/User:Banarama/RC', isMain: false, whoIsMain: false, shortName: 'mrc' }, {    text: 'DW', url: 'https://diepio.wikia.com', isMain: true, whoIsMain: false, shortName: 'diep' }, {    text: 'Recent Changes', url: 'https://diepio.wikia.com/wiki/Special:RecentChanges', isMain: false, whoIsMain: 'diep' }, {    text: 'MediaWiki:Wikia.css', url: 'https://diepio.wikia.com/wiki/MediaWiki:Wikia.css', isMain: false, whoIsMain: 'diep' }, {    text: 'MediaWiki:Themes.css', url: 'https://diepio.wikia.com/wiki/MediaWiki:Themes.css', isMain: false, whoIsMain: 'diep' }, {    text: 'Gadgets CSS', url: 'https://diepio.wikia.com/index.php?title=Special%3APrefixIndex&prefix=Gadget-&namespace=8', isMain: false, whoIsMain: 'diep' }, {    text: 'SV', url: 'https://survivio.wikia.com', isMain: true, whoIsMain: false, shortName: 'su' }, {    text: 'Recent Changes', url: 'https://survivio.wikia.com/wiki/Special:RecentChanges', isMain: false, whoIsMain: 'su' }, {    text: 'MediaWiki:Wikia.css', url: 'https://survivio.wikia.com/wiki/MediaWiki:Wikia.css', isMain: false, whoIsMain: 'su' }, {    text: 'TB', url: 'https://totally-accurate-battle-simulator.wikia.com', isMain: true, whoIsMain: false, shortName: 'tabs' }, {    text: 'Recent Changes', url: 'https://totally-accurate-battle-simulator.wikia.com/wiki/Special:RecentChanges', isMain: false, whoIsMain: 'tabs' }, {    text: 'Testing 1', url: 'https://totally-accurate-battle-simulator.wikia.com/wiki/User:Banarama/Testing', isMain: false, whoIsMain: 'tabs' }, {    text: 'Testing 2', url: 'https://totally-accurate-battle-simulator.wikia.com/wiki/User:Banarama/Testing2', isMain: false, whoIsMain: 'tabs' }, {    text: 'MediaWiki:Wikia.css', url: 'https://totally-accurate-battle-simulator.wikia.com/wiki/MediaWiki:Wikia.css', isMain: false, whoIsMain: 'tabs' }, {    text: 'User:Banarama/wikia.css', url: 'https://totally-accurate-battle-simulator.wikia.com/wiki/User:Banarama/wikia.css', isMain: false, whoIsMain: 'tabs' }, {    text: '&C', url: '', isMain: true, whoIsMain: false, shortName: 'wikis' }, {    text: 'Community Central', url: 'https://c.wikia.com', isMain: false, whoIsMain: 'wikis' }, {    text: 'Community Council', url: 'https://cc.wikia.com', isMain: false, whoIsMain: 'wikis' }, {    text: 'Banarama Wiki', url: 'https://banandru.wikia.com/Special:RecentChanges', isMain: false, whoIsMain: 'wikis' }, {    text: 'Dev Wiki', url: 'https://dev.wikia.com/Special:RecentChanges', isMain: false, whoIsMain: 'wikis' }, {    text: 'Edit nav', url: 'https://community.fandom.com/wiki/User:Banarama/global.js?action=edit', isMain: false, whoIsMain: 'wikis' } ];

/* AnnouncementsIgnore */ window.announcementsIgnore = { option: 'opt-in-all', exceptWikiIds: [ 143359,//Big Nate 253983//Minecraft CreepyPasta ] };

//////////////////////////////////////////////// /******************* Imports ******************/ //////////////////////////////////////////////// /* Universal Imports */ importArticles({   type: 'script',    articles: [        'u:banarama:MediaWiki:ModifiedACUP.js',        'u:community:User:DarkBarbarian/preventTheLimbo.js',        'u:dev:AjaxBatchDelete.js',        'u:dev:AjaxBatchUndelete.js',        'u:dev:AjaxDelete/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:AnalyticsShortcut.js',        'u:dev:AnchoredRollback/code.js',        'u:dev:AnnouncementsIgnore.js',        'u:dev:BlogLink/code.js',        'u:dev:BotManagement.js',        'u:dev:CacheCheck/code.js',        'u:dev:CategoryRenameAuto-update/code.js',        'u:dev:CodeEditor.js',        'u:dev:CodeQuickLinks/code.js',        'u:dev:ContribsButtons.js',        'u:dev:DisableInfoboxBuilder.js',        'u:dev:DiscussionsViewer.js',        'u:dev:DisplayTimer/code.js',        'u:dev:EditConflictAlert/code.js',        'u:dev:FastCreate.js',        'u:dev:FileLogs.js',        'u:dev:FileUsageAuto-update/code.js', 'u:dev:FindAndReplace/code.js', 'u:dev:FixJSRTLang.js', 'u:dev:GlobalChatJS.js', 'u:dev:GlobalNavButtons.js', 'u:dev:LastEdited/code.js', 'u:dev:LinkToDiscussionsProfileIfTheyDontHaveLivePosts/code.js', 'u:dev:MarkBlocked.js', 'u:dev:MassCategorization/code.js', 'u:dev:MassEdit/code.js', 'u:dev:MassNullEdit/code.js', 'u:dev:MassProtect/code.js', 'u:dev:MassRename/code.js', 'u:dev:MinimalTemplateClassification.js', 'u:dev:MinimalTestModeAlert.js', 'u:dev:MobileEditor.js', 'u:dev:MultipleFileDelete/code.js', 'u:dev:MultiUpload/code.js', 'u:dev:NullEditButton/code.js', 'u:dev:PageCreator/code2.js', 'u:dev:PageEditInfo/code.js', 'u:dev:PortableCSSPad/code.js', 'u:dev:PortableListUsers.js', 'u:dev:ProtectionIcons.js', 'u:dev:RailWAM/code.js', 'u:dev:RCLink.js', 'u:dev:RCStats.js', 'u:dev:RecentChangesMultiple/code.2.js', 'u:dev:RedirectManagement/code.js', 'u:dev:ReferencePopups/code.js', 'u:dev:SearchSuggest/code.js', 'u:dev:SeeMoreActivityButton/code.js', 'u:dev:ShowUserGroups.js', 'u:dev:Thread Inspection/code.js', 'u:dev:UnsafeScripts/code.js', //'u:dev:View Source/code.js', 'u:dev:VSTFReport.js', 'u:dev:WHAM/code.2.js', 'u:dev:WLHEditLinks/code.js', 'u:dev:WallGreetingButton/code.js', 'u:dev:Wikimarks/code.js', 'u:dev:WorkingMoreUsersCount.js', 'u:elderscrolls:Common.js/DiscussionsLinks.js' ] });//End UI*/

/* Wiki-specific imports */ if ('65099' === config.wgCityId) { importArticle({       type: 'style',        article: 'u:dev:MediaWiki:FANSUN.css'    }); } if (['193260', '65099'].indexOf(config.wgCityId) !== -1) { importArticle({       type: 'script',        article: 'u:dev:FANSUN.js'    }); }//End WSI*/