mediawiki-extensions-Visual.../modules/ve-mw/init
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
..
styles Transplant CSS from the main document to each iframe 2013-07-09 16:13:28 -07:00
targets mw.ViewPageTarget: Surface error messages from core edit api 2013-07-15 22:22:55 +00:00
tours Bump gender survey width to 475. 2013-07-11 18:06:04 -04:00
ve.init.mw.genderSurvey.css The great directory split of 2013 2013-07-02 20:51:38 -07:00
ve.init.mw.genderSurvey.js The great directory split of 2013 2013-07-02 20:51:38 -07:00
ve.init.mw.js The great directory split of 2013 2013-07-02 20:51:38 -07:00
ve.init.mw.Platform.js The great directory split of 2013 2013-07-02 20:51:38 -07:00
ve.init.mw.splitTest.js The great directory split of 2013 2013-07-02 20:51:38 -07:00
ve.init.mw.Target.js api: Split save action into separate API module 2013-07-11 15:37:23 -07:00