Jump to content

Schema talk:MobileWebEditing

Add topic
From Meta, a Wikimedia project coordination wiki
Latest comment: 9 years ago by Phuedx (WMF) in topic What are commons sorts of errors?
Maintainer:Jon Katz & Sam Smith
Team:Reading - Web
Project:Mobile Wikimedia sites
Status:
inactive
Purge:Auto-purge username + eventCapsule PII after 90 days

What are commons sorts of errors?

[edit]

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)Reply

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)Reply