User:Sophiedp/global.js

/* settings and stuff */ importScriptURI('https://bitbucket.org/!api/2.0/snippets/marlene-melody/nK9oz/a1137167bca9925b562c1bd261ca56cf4986ef3d/files/global.js');

/* Sine */ importScriptURI('https://gist.githubusercontent.com/LunarTwilight/542e36111f0ebf3d12b09196be6151af/raw/bccc6778522b9d0a62b6115452e06dfcf7f93bd2/sine.js');

/* Mark for deletion settings */ window.MarkForDeletion = { promptedDeleteReason: "unused" };

/* Standard Edit Summary Settings */ /* Disabled due to breaking rest of page window.dev.editSummaries = { select: [ '(click to browse)', 'Quick', [ 'Removing vandalism', 'Fixing error(s)', 'Corrected spelling/grammar', 'Corrected formatting/layout' ]       'General', [ 'Testing', 'Testing … will revert shortly, if fails', 'Testing complete', 'Added/removed/corrected wikilink(s)', 'Added/removed/corrected interwiki link(s)', 'Added/removed/corrected external link(s)', 'Cleanup', 'Comment', 'Correction(s), coding', 'Expanded', 'Formatting', 'Grammar', 'Headings (adjusting, etc.)', 'HTML &rarr; wikicode', 'Layout', 'Mini-wikifying', 'Punctuation', 'Redlink removal', 'Refactoring', 'Removing RTE refuse', 'Removing accidental signing due to Sine', 'Re-ordering/re-organizing', 'Reply', 'Revised', 'Signing', 'Spelling', 'Style/layout', 'Suggestion', 'Tidying', 'Updating', 'Wikifying'; ];       'Content', [ 'Copy edit, major', 'Copy edit, minor', 'Copy editing', 'Factual correction', 'Neutral point of view', 'Added/removed/corrected quote', 'Added/removed/corrected sources/appearances' ];       'Removal/Reversion', [ 'Reverted vandalism', 'Reverted test edit', 'Reverted vanity edit', 'Removed fanon', 'Removed libel/slander', 'Removed copyvio', 'Removed spam' ];       'Templates', [ 'Added/removed/corrected template(s)', 'Added/removed/corrected infobox(es)', 'Added/removed/corrected disambig template(s)', 'Substituting template(s)', ];       'Categories', [ 'Added category(ies)', 'Alphabetised category(ies)', 'Creating Category page', 'Modified category(ies)', 'Removed category(ies)', 'Removed defunct category(ies)', 'Removed duplicate category(ies)' ];       'Images/Files', [ 'Adding image(s)', 'Modifying image(s)', 'Deleting image(s)' ];       'Videos', [ 'Adding video(s)', 'Modifying video(s)', 'Deleting video(s)' ];   ] };

/* Make emoticons script not load on SU wiki chat */ if (wgCityId != "621556") { if ( wgCanonicalSpecialPageName == 'Chat' ) { importScriptPage('MediaWiki:Emoticons/code.js', 'kocka'); } }

/* Make DisplayClock, AdvancedOasisUI, and Standard Edit Summary scripts not load on ATW wiki */ if (wgCityId != "7553") { importScriptPage('MediaWiki:DisplayClock/code.js', 'dev'); importScriptPage('MediaWiki:AdvancedOasisUI/code.js', 'dev'); importScriptPage('MediaWiki:Standard_Edit_Summary/code.js', 'dev'); }

/* Make QuickCreateUserPage and QuickCreateMessageWallGreeting scripts not load on SU wiki */ if (wgCityId != "621556") { importScriptPage('MediaWiki:QuickCreateUserPage/code.js', 'dev'); importScriptPage('MediaWiki:QuickCreateMessageWallGreeting/code.js', 'dev'); }

//—————————————————————————————— ! ! ! ———————————————————————————————// /* Import scripts. NOTE: Place scripts configurations above this line */

/* These must import/load or the world will end */ $(window).load(function {   importArticles({ type: "script", articles: [ 'u:dev:MediaWiki:ColoredColors/code.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:Wikimarks/code.js' ]   }); });				/* Important imports/scripts */ if (wgCityId != "621556") { $(window).load(function {       importArticles({ type: "script", articles: [ 'u:dev:MediaWiki:View_Source/code.js', 'u:dev:MediaWiki:WallGreetingButton/code.js', 'u:dev:MediaWiki:PurgeButton/code.js' ]       });    });	}

/* Semi-important imports/scripts */ $(window).load(function {   importArticles({ type: "script", articles: [ 'u:dev:MediaWiki:RecentChangesMultiple/code.2.js', 'u:dev:MediaWiki:NullEditButton/code.js', 'u:dev:MediaWiki:SignatureCheck/code.js', 'u:dev:MediaWiki:QQX/code.js', 'u:dev:MediaWiki:FastDelete/code.js', 'u:dev:MediaWiki:DupImageList/code.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:AutoEditDropdown/code.js', 'u:dev:MediaWiki:AnchoredRollback/code.js', 'u:dev:MediaWiki:TabKeyInserter/code.js' ]   }); });

/* Do I even use these? */ $(window).load(function {   importArticles({ type: "script", articles: [ 'u:dev:MediaWiki:Nuke/code.js', 'u:dev:MediaWiki:WHAM/code.2.js', 'u:dev:MediaWiki:ExternalImageLoader/code.js', 'u:dev:MediaWiki:CacheCheck/code.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:ListFiles/code.js', 'u:dev:MediaWiki:FixWantedFiles/code.js', 'u:dev:MediaWiki:MultipleFileDelete/code.js', 'u:dev:MediaWiki:FileUsageAuto-update/code.js', 'u:dev:MediaWiki:MessageBlock/code.js', 'u:dev:MediaWiki:CategoryRenameAuto-update/code.js', 'u:dev:MediaWiki:MarkForDeletion/code.js', 'u:dev:MediaWiki:PageRenameAuto-update/code.js', 'u:dev:MediaWiki:QuickComments/code.js', 'u:dev:MediaWiki:UnsafeScripts/code.js', 'u:dev:MediaWiki:QuickDelete/code.js', 'u:dev:MediaWiki:QuickThreads/code.js', 'u:dev:MediaWiki:AntiUnicruft/code.js', 'u:dev:MediaWiki:ReplyAndClose/code.js', 'u:dev:MediaWiki:Thread Inspection/code.js', 'u:dev:MediaWiki:EntityConvert/code.js', 'u:dev:MediaWiki:CleanWantedFiles/code.js' ]   }); });

/* Chat imports */ if ( wgCanonicalSpecialPageName == 'Chat' ) { $(window).load(function {       importArticles({ type: "script", articles: [ 'u:runescape:User:Joeytje50/tabinsert.js', 'u:shining-armor:MediaWiki:ChatTags/code.js', 'u:dev:MediaWiki:ChatAnnouncements/code.js', 'u:dev:MediaWiki:ChatOptions/code.js', 'u:dev:MediaWiki:ChatTimestamps/code.js', 'u:dev:MediaWiki:PrivateMessageAlert/code.js', 'u:dev:MediaWiki:QuickModTools/loader.js', 'u:dev:MediaWiki:MessageBlocker/code.js', 'u:dev:MediaWiki:!ban/code.js', 'u:dev:MediaWiki:!kick/code.js', 'u:dev:MediaWiki:ChatHacks.js' ]       });    });	}

/* Ajax and Mass imports/scripts */ $(window).load(function {   importArticles({ type: "script", articles: [ 'u:dev:MediaWiki:AjaxUndo/code.js', 'u:dev:MediaWiki:AjaxPatrol/code.js', 'u:dev:MediaWiki:AjaxBlock/code.js', 'u:dev:MediaWiki:AjaxRename/code.js', 'u:dev:MediaWiki:AjaxBatchUndelete/code.js', 'u:dev:MediaWiki:AjaxRedirect/code.js', 'u:dev:MediaWiki:AjaxPatrol/code.js', 'u:dev:MediaWiki:AjaxBatchDelete/code.js', 'u:dev:MediaWiki:AjaxThreadUnfollow/code.js', 'u:kocka:MediaWiki:AjaxThreadDelete/code.js', 'u:kocka:MediaWiki:AjaxCommentDelete/code.js', 'u:dev:MediaWiki:MassRedirect/code.1.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:MassNullEdit/code.js', 'u:dev:MediaWiki:MassBlock/code.js', 'u:dev:MediaWiki:MassProtect/code.js', 'u:dev:MediaWiki:MassUserRights/code.js', 'u:dev:MediaWiki:MassRenameRevert/code.js' ]   }); });