mediawiki-extensions-Visual.../modules/ve-mw
Timo Tijhof 43bce96fae mw.ViewPageTarget: Surface error messages from core edit api
Previously we only looked at error info/code from the root of
the API response, not the ones from the root of the response
that action=visualeditoredit forwards from action=edit.

This changes the message for e.g. AbuseFilter from:

 > Error: Invalid error code

to:

 > Error: Hit AbuseFilter: [name of triggered filter]

Also changed default error for other reasons (e.g. hooks of other
extensions that we don't yet have specific support for) to "Unknown error"
instead of "Invalid error code".

Bug: 50472
Change-Id: I3b32eddafd8fff83f323606f9922ac60b5d3b58e
2013-07-15 22:22:55 +00:00
..
ce Hide ref errors inside MW transclusions 2013-07-10 23:32:30 +02:00
dm Fix uses of addPart to make them async friendly 2013-07-12 01:30:04 +00:00
init mw.ViewPageTarget: Surface error messages from core edit api 2013-07-15 22:22:55 +00:00
test Extend empty document check to check for meta-only data 2013-07-15 12:12:00 +01:00
ui Merge "Fix uses of addPart to make them async friendly" 2013-07-12 21:19:55 +00:00