mediawiki-extensions-Visual.../modules/ve-mw/init/targets
Bartosz Dziewoński 7d69e86265 ve.init.mw.DesktopArticleTarget.init: Make switching to VE for new pages work
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
2015-11-09 18:55:21 +01:00
..
ve.init.mw.DesktopArticleTarget.init.js ve.init.mw.DesktopArticleTarget.init: Make switching to VE for new pages work 2015-11-09 18:55:21 +01:00
ve.init.mw.DesktopArticleTarget.js Merge "Target init: Add edit mode switch icons to VE and WE toolbars" 2015-11-04 14:14:49 +00:00
ve.init.mw.MobileArticleTarget.js Add scroll padding equal to the document height for iOS 2015-09-26 17:06:37 +01:00