Tech:Removing an extension

If a decision has been made to remove an extension from Miraheze for whatever reason (i.e. it's unmaintained, it isn't compatible with the current version of MediaWiki, etc.) the following procedure should be followed when removing an extension. Any user can create a pull request to remove an extension, but it has to be merged and deployed by a system administrator.

The steps below must be done in this order:


 * 1) Generate a list of all wikis using the extension with  . This will create a json list in your home directory called
 * 2) Run
 * 3) Remove any settings configured using
 * 4) Remove any existing configuration from ManageWikiExtensions.php, LocalSettings.php, GlobalSettings.php, and extension-list. (Note: If the extension has extra settings in ManageWikiSettings.php, make sure to remove that too)
 * 5) Remove the submodule from the MediaWiki repository after the settings above have been successfully removed.

On mwtask141 and test131:
 * 1) run
 * 2) run

Globally disabling extensions
If it is not appropriate to fully remove an extension but the extension should not be active on any wikis (e.g. in the event of a security vulnerability with a particular extension), it can be globally disabled without disrupting any related configuration that users have set in ManageWiki by adding the extension to the  array found at the bottom of LocalSettings.php.