Right now wgVisualEditorNamespaces is a 1D list of namespaces in which VE is enabled. Instead, make this a 2D list of namespace => enabled states with a different name (e.g. wgVisualEditorAvailableNamespaces) so that we can configure namespace enablement better.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Krenair | T104898 Replace wgVisualEditorNamespaces with a 2D array of namespace => enabled state | |||
Resolved | Legoktm | T107646 Merging anything using integer keys in extension registration is broken |
Event Timeline
Per option 3 in @Legoktm's comment in https://gerrit.wikimedia.org/r/#/c/223080/
This would also solve our double-listing of the User namespace in some wikis' preferences
Change 223967 had a related patch set uploaded (by Alex Monk):
Replace wgVisualEditorNamespaces with an associative array
https://gerrit.wikimedia.org/r/223967
Change 223967 merged by jenkins-bot:
Replace wgVisualEditorNamespaces with an associative array
https://gerrit.wikimedia.org/r/223967
Change 228198 had a related patch set uploaded (by Alex Monk):
Fix part of the VE NS config issue
https://gerrit.wikimedia.org/r/228198
Change 228746 had a related patch set uploaded (by Alex Monk):
Revert "Revert "Replace wgVisualEditorNamespaces with an associative array""
https://gerrit.wikimedia.org/r/228746
Change 228746 merged by jenkins-bot:
Revert "Revert "Replace wgVisualEditorNamespaces with an associative array""
https://gerrit.wikimedia.org/r/228746
Change 228198 merged by jenkins-bot:
Fix part of the VE NS config issue
https://gerrit.wikimedia.org/r/228198