Page MenuHomePhabricator

API query module to show order of installed extensions
Open, Needs TriagePublic

Description

Context

The order in which extensions are loaded is important. If the order of extension loading is different in a local environment compared to production, it's possible to encounter bugs that are not reproducible in a local environment. (See T20110 for an example of ConfirmEdit/AbuseFilter interaction.)

Proposal

  • Provide an API query module that returns a list of enabled skins and extensions, using ExtensionRegistry::getAllThings().

Consequences

  • It will be possible to use the CLI to make a request against production and a local instance and diff the two arrays, to show discrepancies in the order in which extensions are loaded