Page MenuHomePhabricator

Enabling NWE breaks wikitext pasting in VE
Closed, ResolvedPublic1 Estimated Story Points

Description

We don't want wikitext pasting in NWE, so to do this I put an unregister call in ve.ce.MWWikitextSurface. However as this code is always loaded if NWE is available this won't work. We probably need a separate registry like we have for commands.

Event Timeline

Esanders changed the point value for this task from 1 to 8.Sep 20 2016, 6:48 PM
Esanders changed the point value for this task from 8 to 1.Sep 21 2016, 8:08 PM

Change 312096 had a related patch set uploaded (by Esanders):
Only unregister WT string handler in WT handler factory

https://gerrit.wikimedia.org/r/312096

Turns out I'd already done most of the hard work to make this happen (creating a separate DTH for the wikitext surface).

Change 312096 merged by jenkins-bot:
Only unregister WT string handler in WT handler factory

https://gerrit.wikimedia.org/r/312096