User:0Michael105/global.js

/* Any scripts saved here will save sitewide. */ /* IMPORTANT: Too much imported JavaScript may result in increased load time. Import with caution.

/* AutoCreateUserPages configuration */ window.AutoCreateUserPagesConfig = { content: { 2: ,       3: ,        1202: ''    },    summary: 'Creating page' };

/* AjaxThreadDelete reason configuration */ window.AjaxThreadDeleteConfig = { fastDelete: true, reason: 'Cleanup' };

/* AjaxCommentDelete configuration */ window.AjaxCommentDeleteConfig = { fastDelete: "Cleanup" };

/* GlobalNavButtons configuration */ window.globalNavButtons = [ {   text: 'Wikis', url: '', isMain: true, whoIsMain: false, shortName: 'w' }, {   text: 'Roblox Wikia', url: 'https://roblox.fandom.com', isMain: false, whoIsMain: 'w', shortName: 'RW' }, {    text: 'Case Clicker Wiki', url: 'https://case-clicker-roblox.fandom.com', isMain: false, whoIsMain: 'w', shortName: 'CCRW' }, {    text: 'Royale High', url: 'https://royale-high.fandom.com', isMain: false, whoIsMain: 'w', shortName: 'RHW' }, {    text: 'World Expedition Wiki', url: 'https://world-expedition.fandom.com', isMain: false, whoIsMain: 'w', shortName: 'WEW' }, {    text: 'Community Central', url: 'https://community.fandom.com', isMain: false, whoIsMain: 'w', shortName: 'CC' } ];

/* Ignore all announcements unless wiki listed in exceptWikiIds */ window.announcementsIgnore = { option: 'opt-out-all', exceptWikiIds: [ 177,    /* Community Central (community) */ 4396,   /* Roblox Wikia (roblox) */ 7931,   /* Fandom Developers Wiki (dev) */ // 1412889, /* Stop It Slender 2 Wiki (stop-it-slender-2) */ 1668557, /* Royale High Wiki (royale-high) */ 1851384, /* Case Clicker Roblox Wiki (case-clicker-roblox) */ 2162303 /* World Expedition Wiki (world-expedition) */ ] };

/* NoImageLightbox configuration */ window.NoImageLightbox = { novideo: true };

/* No redlinks for user pages (joritochip) */ mw.hook("wikipage.content").add(function($content) {   var links = $('#mw-content-text a.new');    links.each(function(index, element){ if (!$(element).attr('href')) { var title = $(element).attr('title'); if (title.startsWith('User:') && title.endsWith('(page does not exist)')) { title = title.slice(0, -22); var decodedURL = mw.util.getUrl(title); $(element).removeAttr('data-uncrawlable-url'); $(element).attr('href', decodedURL); }       }    }); });

/* QuickCreateUserPage configuration */ window.qtUserPageTemplate = '';

/* Import JavaScript */ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AjaxBatchDelete.js',        'u:dev:MediaWiki:AjaxBatchUndelete.js',        'u:dev:MediaWiki:AjaxCommentDelete/code.js',        'u:dev:MediaWiki:AjaxDelete/code.js',        'u:dev:MediaWiki:AjaxThreadDelete/code.js',        'u:dev:MediaWiki:AjaxUndo/code.js',        'u:dev:MediaWiki:AnalyticsShortcut.js',        'u:dev:MediaWiki:AnchoredRollback/code.js',        'u:dev:MediaWiki:AnnouncementsIgnore.js',        'u:dev:MediaWiki:AutoCreateUserPages.js',        'u:dev:MediaWiki:CategoryRenameAuto-update/code.js',        'u:dev:MediaWiki:CommentPreview/code.js',        'u:dev:MediaWiki:ContribsLink/code.js',        'u:dev:MediaWiki:DisableAccessKeys.js',        'u:dev:MediaWiki:DisableInfoboxBuilder.js',        'u:dev:MediaWiki:EditConflictAlert/code.js',        'u:dev:MediaWiki:FileLogs.js',        'u:dev:MediaWiki:GlobalEditcount/code.js', 'u:dev:MediaWiki:GlobalNavButtons.js', 'u:dev:MediaWiki:JWB/load.js', 'u:dev:MediaWiki:LastEdited/code.js', 'u:dev:MediaWiki:MassBlock/code.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:MassEdit/code.js', 'u:dev:MediaWiki:MassProtect/code.js', 'u:dev:MediaWiki:MarkBlocked.js', 'u:dev:MediaWiki:MarkForDeletion/code.js', 'u:dev:MediaWiki:NoImageLightbox/code.js', 'u:dev:MediaWiki:Nuke/code.js', 'u:dev:MediaWiki:QuickCreateUserPage/code.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:Status/code.js', 'u:dev:MediaWiki:TopicBlockLog/code.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:VSTFReport.js', 'u:dev:MediaWiki:WallGreetingButton/code.js', 'u:dev:MediaWiki:WHAM/code.2.js' ] });