Background
Testing a non-release version of Codex with your local MediaWiki install is possible right now, but it's annoying. You basically have to run the Codex build and then copy the files from Codex's dist directories to the resources/lib/codex* directories (and of course there's no documentation on what to copy where).
Proposed solution
We could make this easier by adding an optional config setting in MediaWiki that a developer can point to the directory where they have cloned the Codex repo, which would then use the right files from Codex's dist directories instead of the files in resources/lib. We would also need an npm watch-style command in Codex that rebuilds the dist files whenever the source files change.
Acceptance criteria
- Pointing to a local version of Codex for local MediaWiki development is implemented in MediaWiki core
- This feature is documented