Manual talk:Hooks/ResourceLoaderTestModules
Add topicAppearance
From mediawiki.org
Latest comment: 9 years ago by Sebastian Berlin (WMSE) in topic Adding tested modules as dependencies
This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made.
When I created a new JS module, contrary to what it says here, I didn't need to add it to dependencies. In fact, doing that broke the testing with the error:
Error: Unknown dependency: ext.wikispeech.highlighter
where the new module is ext.wikispeech.highlighter.js.
It may well be that I've done something, somewhere that I should've done differently, but if not, the documentation should be updated.
The patch where this happened: I097b969ce00274b5f8d16d98c9d7ffd8c12f4fe1. Sebastian Berlin (WMSE) (talk) 07:33, 18 May 2017 (UTC) Reply