mediawiki-extensions-Visual.../modules/ve-mw
Bartosz Dziewoński 1dc642ee57 ArticleTargetSaver: Fix handling for data.result !== 'success'
The comment here seems to be wrong, as far as I can tell, this
case can only happen when viewing a diff with no changes
(`data.result === 'nochanges'`) or saving an edit and getting
a captcha (`data.result === 'error'`).

The handling here, added in the recent refactor
b0f4b4c94e, causes both of these
cases to behave wrong (displaying the error message, instead of
empty diff / captcha form).

Change-Id: I305e8ca9ff769c229a93d5fb3307e545a0227f2f
2019-11-19 14:23:58 -05:00
..
ce Follow-up I83b98e41: Always sanitize when using plain text paste in NWE 2019-11-07 14:49:57 +00:00
dm Replace $.when with ve.promiseAll 2019-11-04 22:06:54 +08:00
init ArticleTargetSaver: Fix handling for data.result !== 'success' 2019-11-19 14:23:58 -05:00
preinit ArticleTargetSaver: Fix handling for data.result !== 'success' 2019-11-19 14:23:58 -05:00
tests Add missing FragmentInspector tests to MW 2019-11-12 13:52:35 +00:00
themes SaveDialog: Hide options bar when empty 2019-07-16 14:28:25 +01:00
ui Merge "Move more code to ArticleTargetSaver" 2019-11-14 21:26:24 +00:00
ve.MWutils.js eslint: Enable valid-jsdoc 2019-04-17 17:13:39 +01:00