mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +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 |
||
---|---|---|
.. | ||
styles | ||
targets | ||
ve.init.mw.ApiResponseCache.js | ||
ve.init.mw.ImageInfoCache.js | ||
ve.init.mw.js | ||
ve.init.mw.LinkCache.js | ||
ve.init.mw.Platform.init.js | ||
ve.init.mw.Platform.js | ||
ve.init.mw.Target.js | ||
ve.init.mw.TargetEvents.js | ||
ve.init.mw.TargetLoader.js | ||
ve.init.mw.trackSubscriber.js | ||
ve.init.MWVESwitchConfirmDialog.js |