In the javascript configuration variables in mw.config, wgVisualEditorConfig is an object with among other properties a namespaces entry where the namespaces that VisualEditor can be used in are included. However, currently on meta this includes null, which isn't an actual namespace. It comes from the generating code in ApiVisualEditor::getAvailableNamespaceIds using null for namespaces that don't exist - these should be filtered out at the end.
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/extensions/VisualEditor | master | +4 -2 | Don't include `null` in the namespaces where VE can be enabled |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | DannyS712 | T291729 VisualEditor injects a lot of JavaScript configuration variables | |||
Resolved | DannyS712 | T291728 Javascript config wgVisualEditorConfig.namespaces should not include null |
Event Timeline
Comment Actions
Change 723641 had a related patch set uploaded (by DannyS712; author: DannyS712):
[mediawiki/extensions/VisualEditor@master] Don't include `null` in the namespaces where VE can be enabled
Comment Actions
Change 723641 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Don't include `null` in the namespaces where VE can be enabled