Jump to navigation Jump to search
What are commons sorts of errors?
Looking at the data presented at https://lists.wikimedia.org/pipermail/mobile-l/2015-April/009037.html What are commons sorts of errors that would cause event.action == 'error'? --EpochFail (talk) 03:40, 11 November 2015 (UTC)
- Any and all errors that could be the result of making an API call to action=edit will cause event.action to be set to 'error'. Common errors, however, would likely include: transport errors (event.errorText == 'http'); the edit was rejected by the API, in which case the errorText will be set to the error message returned by the API; the user failed the CAPTCHA challenge; or the abuse filter kicked in. Unfortunately, the documentation around how these errors are dealt with and logged was in the old EditorApi source https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/96fffac3b44b881aedaf76434b2903b2167cdbed/resources/mobile.editor.api/EditorApi.js#L163-L223 --Phuedx (WMF) (talk) 09:58, 11 November 2015 (UTC)