Modify Catalyst API so it supports patchdemo's options to load images from Wikimedia Commons:
The built-in instant commons behavior can be enabled via the local settings option wgUseInstantCommons. Files with locals settings options can be placed at dir settings.d under the wiki directory and they will be honored by MediaWiki.
In case the quick instant commons method is selected, the local setting shouldn't be flipped on. Instead, the extension should be checked out and enabled.
Proposal
In the mediawikiCore section of the MW main chart, we will add a new value to enable instant commons.
Additionally, the quick instant commons extension will be added to the list of extensions in the extensions section.
When instant commons is ticked by a user from the web UI, patchdemo will provide the flag in values.mediawikiCore in the JSON body as part of the call to create a new environment. If quick instant commons is selected as the method, it will further enable the QuickInstantCommons extension.
The MW main chart will then handle the request and decide whether to turn on the local settings property or just check out and enable the extension.