The namespace and content model checks in init.isAvailable should only apply to VE, not NWE, and we should disable the switch button in such circumstances. Not sure how to factor out it from the rest neatly.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T132023 VisualEditor support for editing inside CollaborationKit | |||
Open | Feature | None | T138636 Allow using VisualEditor on Special:MassMessage | ||
Open | None | T138642 VisualEditor should provide a clean integrated VE/WT editor widget that can be integrated into any context | |||
Open | None | T130400 (Actually) Add wikitext support for citoid for automatic reference insertion | |||
Open | None | T90864 Help VisualEditor users find the wikitext "Save" button | |||
Open | None | T171974 Improve and consolidate our unified editing platform so that it's great on all devices | |||
Open | None | T104479 Provide a modern wikitext editor | |||
Resolved | Jdforrester-WMF | T141149 Provide a Beta Feature of a modern wikitext editor integrated into the visual editor | |||
Resolved | • AlexMonk-WMF | T146182 NWE should let you edit talk pages, templates, and JSON blobs, (but not let you switch) |
Event Timeline
Change 311860 had a related patch set uploaded (by Alex Monk):
Split isAvailable from visual-specific checks
This first half of this is done, but the switch button needs to be disabled where isAvailable is true but isVisualAvailable isn't.
Change 312618 had a related patch set uploaded (by Alex Monk):
NWE: Don't show button to switch to VE if it isn't available
Change 312618 merged by jenkins-bot:
NWE: Don't show button to switch to VE if it isn't available
Change 313908 had a related patch set uploaded (by Alex Monk):
Allow NWE on non-VE namespaces
Change 314040 had a related patch set uploaded (by Alex Monk):
Disable switch-to-VE button in NWE if VE is unavailable, don't hide it
Change 314040 merged by jenkins-bot:
Disable switch-to-VE button in NWE if VE is unavailable, don't hide it