mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-03 02:16:51 +00:00
7d69e86265
Work around RESTBase problem that causes errors if we try to switch to VE when the wikitext is empty. This would prevent non-power-users from opening VE entirely. This only solves the issue for new empty pages, and not when the user intentionally empties the edit box. In that case, though, they get a dialog where they can choose to "keep" or "discard" changes, and discarding lets you open the editor. Bug: T118152 Change-Id: Ie808bcaa9826deacac392dd6cbc90a9446602b79 |
||
---|---|---|
.. | ||
ve.init.mw.DesktopArticleTarget.init.js | ||
ve.init.mw.DesktopArticleTarget.js | ||
ve.init.mw.MobileArticleTarget.js |