The current implementation handles built-in namespaces, but not all namespaces introduced by other extensions, namely those that don't define a constant. To remedy this, Hooks.isValidNamespace() could be altered to also allow an int (namespace index) as parameter.
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/extensions/Wikispeech | master | +1 K -1 K | Use API to retrieve utterances |
Related Objects
Related Objects
- Mentioned In
- rEWIS39199430cc9c: Update patch set 5
T164251: Use API action to preprocess text
T173516: Use json file extension for the stylelint config file
T172094: npm 3 requires peer dependencies to be explicitly defined in package.json
rEWIS7cfd1ca70f97: Use API to retrieve utterances
rEWIS1c4575e2910b: Use API to retrieve utterances
rEWIS407c1f796b44: Use API to retrieve utterances
rEWISbe65eb260df6: Use API to retrieve utterances
rEWISfcd3d105b3b4: Use API to retrieve utterances
rEWISc67c26b95feb: Use API to retrieve utterances - Mentioned Here
- rEWIScdedb07aaf64: build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
rEWIS2791dad9ce7f: build: bump grunt and drop grunt-cli
rEWISa7e5eafd7d46: build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
rEWIS03ca98666d0f: build: Updating jakub-onderka/php-parallel-lint to 0.9.2
rEWISd84db16ee0a3: Use json extension for .stylelintrc
rEWIS7cfd1ca70f97: Use API to retrieve utterances
T172094: npm 3 requires peer dependencies to be explicitly defined in package.json
T173516: Use json file extension for the stylelint config file
T164251: Use API action to preprocess text
Event Timeline
Comment Actions
Also, the constants (NS_*) doesn't seem to be accessible from JS, so for T164251: Use API action to preprocess text, we need the indices.
Comment Actions
Change 365563 had a related patch set uploaded (by Sebastian Berlin (WMSE); owner: Sebastian Berlin (WMSE)):
[mediawiki/extensions/Wikispeech@master] Use API to retrieve utterances
Comment Actions
Since the namespace check was moved to front end in the patch above, the config variable was changed to use index.
Comment Actions
Change 365563 merged by jenkins-bot:
[mediawiki/extensions/Wikispeech@master] Use API to retrieve utterances