User:Fearless Diva/global.js

mw.loader.using('mediawiki.util').then(function {	//Config	window.lastEdited = {	   avatar: true,	    avatarsize: 15,	    size: true,	    diff: true,	    diffModal: true,	    comment: true,	    newpage: true,	    time: 'timeago',	    timezone: 'UTC',	    lang: 'en',	    position: {	        element: document.getElementById('WikiaPageHeader'),	        method: 'append'	    },	    namespaces: {	        exclude: []	    },	    pages: []	};	window.BotManagementAdd = 'Enable';	window.BotManagementRemove = 'Disable';	window.AjaxCommentDeleteConfig = {	    fastDelete: "Removal ofspam/vandalism/inappropriate comment"	};	window.AjaxDelete = {	    deleteReasons: {	        'Vandalism': 'Vandalism',	        'Spam': 'Spam',	        'Marked for speedy deletion': 'Speedy',	        'Empty page': 'Empty',	        'Author request': 'Author request', 'Irrelevant': 'Irrelevant', },	   imageDeleteReasons: { 'Offensive': 'Offensive', 'Inappropriate': 'Inappropriate', 'Housekeeping/Unused': 'Unused', 'Copyright infringement': 'Copyright', 'Author request': 'Author request' },	   autoCheckWatch: false, noUndelete: true, reload: true };	var language = mw.config.get('wgContentLanguage'); var suffix = language === 'en' ? '' : '/' + language; window.FCButtons = [ {			label: 'Create user page', target: 'User:Fearless Diva', content: '', alwaysDisplay: true, placement: '.global-navigation .wds-dropdown__content .wds-list', prepend: true }	];

//Uncreated category list in S:Cat if (mw.config.get("wgCanonicalSpecialPageName") === "Categories") { var $newCats = $(" ").css("float", "right").text("Uncreated categories:"); var $newCatsList = $("").appendTo($newCats); $(".mw-spcontent > ul").before($newCats); $(".mw-spcontent > ul > li").has(".newcategory").clone.appendTo($newCatsList); }

importArticles({	   type: 'script',	    articles: [	        'u:dev:MediaWiki:Bbang/code.js',	        'u:dev:MediaWiki:AddBlockUserTag/code.js',	        'u:dev:MediaWiki:AdminDashboard_JS-Button/code.js',	        'u:dev:MediaWiki:AjaxBatchDelete.js',	        'u:dev:MediaWiki:AjaxCommentDelete/code.js',	        'u:dev:MediaWiki:AjaxDelete/code.js',	        'u:dev:MediaWiki:AjaxDiff/code.js',	        'u:dev:MediaWiki:AjaxPatrol/code.js',	        'u:dev:MediaWiki:AjaxThreadDelete/code.js',	        'u:dev:MediaWiki:AjaxUndo/code.js',	        'u:dev:MediaWiki:AnchoredRollback/code.js',	        'u:dev:MediaWiki:BotManagement.js',	        'u:dev:MediaWiki:CategoryRedLinks.js',	        'u:dev:MediaWiki:CodeQuickLinks/code.js',	        'u:dev:MediaWiki:DiscussionsActivity.js',	        'u:dev:MediaWiki:Discussions_Delete_All/code.js',	        'u:dev:MediaWiki:DiscussionsViewer.js',	        'u:dev:MediaWiki:FANSUN.js', 'u:dev:MediaWiki:FastCreate.js', 'u:dev:MediaWiki:FastDelete/code.js', 'u:dev:MediaWiki:FileUsageAuto-update/code.js', 'u:dev:Mediawiki:GlobalEditCount/code.js', 'u:dev:MediaWiki:LastEdited/code.js', 'u:dev:MediaWiki:MarkBlocked.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:MassEdit/code.js', 'u:dev:MediaWiki:MassProtect/code.js', 'u:dev:MediaWiki:MassRename/code.js', 'u:dev:MediaWiki:MultipleFileDelete/code.js', 'u:dev:MediaWiki:NewImages.js', 'u:dev:MediaWiki:PageRenameAuto-update/code.js', 'u:dev:MediaWiki:PortableCSSPad/code.js', 'u:dev:MediaWiki:PortableListUsers.js', 'u:dev:MediaWiki:RecentChangesMultiple/code.2.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:ReferencePopups/code.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:ShowUserGroups.js', 'u:dev:MediaWiki:TabKeyInserter/code.js', 'u:dev:MediaWiki:ThemeToggler.js', 'u:dev:MediaWiki:ToggleDebugMode/code.js', 'u:dev:MediaWiki:UnhideUserMasthead/code.js', 'u:dev:MediaWiki:ViewDeleted/code.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:VSTFReport.js', 'u:dev:MediaWiki:WhatLinksHere/code.js', 'u:dev:MediaWiki:WHAM/code.2.js' ]	}); });