List of steps to reproduce (step by step, including full links if applicable):
- Install Mediawiki according to DEVELOPERS.md using docker
- Use the "symlinking" style of extension management suggested in: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/extensions/README
What happens?:
- HTTP 403 errors on any resource under /w/extensions or /w/skins
- This applies to things like icons, as well as ULS IME js files, web fonts and anything else not served through the PHP endpoints
What should have happened instead?:
- Resources get served
What works
- Cloning the extension repos directly into the extensions sub directory of the mediawiki repo rather than symlinking
- mount --bind the extension and skin directories directly into the mediawiki repo:
- mount --bind /path/to/mw-extensions /path/to/mediawiki/extensions
It's possible Docker just isn't compatible with the symlink method, but if it is, it should either work out-of-the-box, or DEVELOPERS.md should explain what you need to do to make it work. If it is not, the canonical way to "mount" extensions should be detailed in DEVELOPERS.md instead.