Reading/Mobile needs from MediaWiki API

This page documents mobile web and app needs from the MediaWiki API.

Phabricator tasks
T75616 - app tracking task
 * T96956: AbuseFilter should not let users specify arbitrary error codes which are then emitted over the API
 * T95378: Add support to PageImages for finding a freely licensed page image
 * T95072: API blocked error should give details - blocker, target (IP, range, user), expiry, reason, etc.
 * T88083: Mobile apps users should not be shown captchas when creating accounts
 * T30085: Allow user login with email address in addition to username
 * T87824: Create specialised content API for mobile apps
 * T32788: Allow triggering of user password reset email via the API
 * T87336: PageImages shouldn't return images that are not in the lead section
 * T76103: Createaccount API should support username validation without having to try to create an account
 * T74387: "createaccount" action failure should return the name of the extension that caused it to fail.

T87807 - RESTBase Mobile App User Story

T87824 - Create specialised content API for mobile apps

T98145 - [EPIC] Lead images to stable
 * T98146 - Create an API to get the lead image for an article
 * T98147 - Create an API to get and set cropping information for the lead image of an article


 * T98067 - move text cleanup and 1-2 sentence logic from the "Link preview" mobile feature into TextExtracts

Migrate api.php requests to use improved

Email threads

 * https://lists.wikimedia.org/pipermail/wikitech-l/2015-April/081559.html
 * mobile-tech: "image cropping in Gather"

Other

 * Pending investigation: JSON serialization bugs (empty objects as arrays)
 * Meeting minutes from meeting about mobile-specific content service
 * FIXMEs in MobileFrontend