User:TheWWRNerdGuy/global.js

// Go Ctrl+F importArticles to get actual explanations. This stuff needs to be first.

window.MassEditConfig = { interval: 0, }; window.AjaxUndoPrompt = true;

importArticles({   type: 'script',    articles: [    	/*    	Extensions installed    	Adding something which describes each one and whatever values I've changed.        For each thingy in here just get https://dev.fandom.com/wiki/ and copy-paste the name.        Some extensions I will give acronyms to. Assume, unless otherwise stated, that I use the extension, am happy with it, and I would only have it used by myself.        Acronyms used:        // PUO      –   Breaks Fandom's Customisation policy. Stands for Personal Use Only, as you're allowed to mess up your personal JS however you want.        // SWO      –   Can only be used site-wide        // SW       –   I would recommend using this site-wide with ImportJS        // VC       –   Values changed where they need to be. Use Ctrl+F on the extension name to see where.        // SWVC     –   I would recommend this be used site-wide with certain customisations. Those will be commented where they need to be. // B       –   Only bots (or users who REALLY know what they are doing) should use this // NS      –   Not sure about permitting this one's existence // NU      –   I haven't really used this so I don't have an explanation/I've never seen it in action // TBC     –   I need to expand upon this. Probably mostly with SWVC. */

// To add extensions to ImportJS, copy the line and remove ', u:, MediaWiki:

/* Rollback/Spam prevention stuff Basically just there to stop spam/useless contributions*/ 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:AnchoredRollback/code.js', 'u:dev:MediaWiki:MassRollback.js', 'u:dev:MediaWiki:Nuke/code.js', 'u:dev:MediaWiki:AddBlockUserTag/code.js', /* Explanations of each: Rollback                               –   Does the Fandom default rollback that Fandom has, but instead of Tag:Rollback, it has (script) in the edit summary, which has a link to the script's page on DevWiki. AnchoredRollback                       –   Means that when you press Rollback, it will just happen and you will just see the Rollback button disappear. NS because it takes away the weight of a rollback, but required for MassRollback. MassRollback                           –   Adds a Rollback All button on a user's contributions. Only works with Rollback and AnchoredRollback, so easier just to recommend to each Admin (or perhaps SWVC with the others for Admins only?). Nuke                       NU/SW       –   Deletes all pages created by a user. Can only be used by users who have the delete ability (Admins, Content Mods, global PowerUsers). AddBlockUserTag            NU/SW       –   Adds a Block button to a user's masthead. Can only be used by users who have the block ability (Bureaucrats, Admins, global PowerUsers). */

/* Page Controls Stuff that appears in the dropdown menu next to the edit button*/ 'u:dev:MediaWiki:CategoryRenameAuto-update/code.js', 'u:dev:MediaWiki:PageRenameAuto-update/code.js', 'u:dev:MediaWiki:FileUsageAuto-update/code.js', 'u:dev:MediaWiki:View_Source/code.js', 'u:dev:MediaWiki:WhatLinksHere/code.js', 'u:dev:MediaWiki:NullEditButton/code.js', /* Explanations of each: CategoryRenameAuto-update      B   –   For a category, renames it and then applies the rename to every link to it and all pages within it. Utterly floods RecentChanges. PageRenameAuto-update          B   –   Basically ↑ but for pages. Only available to the usual edity suspects. FileUsageAuto-update           B   –   Basically ↑ but for Files View_Source WhatLinksHere                      –   Allows you to access the special page from Page Controls NullEditButton                     –   Clears cache and does other stuff perhaps */

//My Tools 'u:dev:MediaWiki:MassEdit/code.js', 'u:dev:MediaWiki:MassCategorization/code.js', 'u:dev:MediaWiki:MassRename/code.js', 'u:dev:MediaWiki:MassRenameRevert/code.js', 'u:dev:MediaWiki:AjaxBatchDelete.js', 'u:dev:MediaWiki:AjaxBatchUndelete.js', //Help 'u:dev:MediaWiki:CopyTitle.js', 'u:dev:MediaWiki:DupeArgs.js', 'u:dev:MediaWiki:EditConflictAlert/code.js', 'u:dev:MediaWiki:NotesModule/code.js', 'u:dev:MediaWiki:MassProtect/code.js', 'u:dev:MediaWiki:DecodeURI/code.js', 'u:dev:MediaWiki:FastFileDelete.js', 'u:dev:MediaWiki:CategoryQuickRemove.js', 'u:dev:MediaWiki:AddArticleToCategory/code.js', 'u:dev:MediaWiki:AjaxRename/code.js', 'u:dev:MediaWiki:AjaxUndo/code.js', 'u:dev:MediaWiki:ColorPreview/code.js', 'u:dev:MediaWiki:ColoredColors/code.js', 'u:dev:MediaWiki:QuickTitle/code.js', 'u:dev:MediaWiki:AjaxEdit.js', 'u:dev:MediaWiki:AjaxBlock/code.js', 'u:dev:MediaWiki:AjaxUserRights.js', 'u:dev:MediaWiki:BotManagement.js', 'u:dev:MediaWiki:MassBlock/code.js', //Visual stuff 'u:dev:MediaWiki:MarkBlocked.js', 'u:dev:MediaWiki:ProtectionIcons.js', 'u:dev:MediaWiki:PatrolPanel.js', 'u:dev:MediaWiki:ProtectedHighlight/code.js', //Fun 'u:dev:MediaWiki:FirstEditDate.js', 'u:dev:MediaWiki:GlobalEditcount/code.js', 'u:dev:MediaWiki:ShowUserGroups.js', 'u:dev:MediaWiki:MastheadGender/code.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:UserRightsRecord/code.js', 'u:dev:MediaWiki:UserAccountAge/code2.js', //Pretty cool 'u:dev:MediaWiki:EditLeaderboard.js', 'u:dev:MediaWiki:NavCodeLinks/code.js', 'u:dev:MediaWiki:AnalyticsShortcut.js', 'u:dev:MediaWiki:StickySummary.js', 'u:dev:MediaWiki:AddUserRightsTag/code.js', 'u:dev:MediaWiki:MassUserRights/code.js', 'u:dev:MediaWiki:CatNav/code.js', // ?		'u:dev:MediaWiki:PortableListUsers.js', 'u:dev:MediaWiki:GlobalJSLinks.js', 'u:dev:MediaWiki:RemoveTracking.js', 'u:dev:MediaWiki:MassPatrol/code.js', 'u:dev:MediaWiki:MassNullEdit/code.js', 'u:dev:MediaWiki:AjaxDelete/code.js', 'u:dev:MediaWiki:CleanWantedFiles/code.js', 'u:dev:ListUsers/code.js', //'u:dev:MediaWiki:Deadvideo/code.js', //https://dev.fandom.com/wiki/OasisRevived /* Common.js only 'u:dev:MediaWiki:UserBadge/code.js', /* Sitewide PreloadTemplates ProfileTags *//* Others CSSMessageWallTags */   ] });

// This stuff will break stuff if it's before window.dev.forceRemoveTracking = true;