Page MenuHomePhabricator

Replace wgVisualEditorNamespaces with a 2D array of namespace => enabled state
Closed, ResolvedPublic8 Estimated Story Points

Description

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.

Event Timeline

Jdforrester-WMF assigned this task to Krenair.
Jdforrester-WMF raised the priority of this task from to Needs Triage.
Jdforrester-WMF updated the task description. (Show Details)
Jdforrester-WMF subscribed.

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

Jdforrester-WMF moved this task from To Triage to TR1: Releases on the VisualEditor board.
Jdforrester-WMF set Security to None.

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