Page MenuHomePhabricator

API error messages should be localised
Closed, DuplicatePublic

Description

Actually, the api returns only english error messages (code and info), see: https://github.com/wikimedia/mediawiki/blob/e369f66d0029594d1ce289f7a505d3ce20250828/includes/api/ApiBase.php#L1344

At least, the info message should be localised to the user language. Usage example: MobileFrontend displays the message in the info field for some error codes (https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/master/javascripts/modules/editor/EditorOverlay.js#L341).

Related Objects

StatusSubtypeAssignedTask
DeclinedNone
ResolvedCatrope
ResolvedSbailey
OpenNone
OpenNone
OpenNone
Resolved GWicke
Resolvedssastry
ResolvedNone
ResolvedDbrant
Resolved bearND
ResolvedMholloway
ResolvedNone
OpenNone
OpenNone
OpenNone
ResolvedArlolra
ResolvedMooeypoo
ResolvedCatrope
Resolved GWicke
OpenNone
Resolved marcoil
Resolved marcoil
Resolved GWicke
ResolvedJdforrester-WMF
DuplicateNone
Resolved bearND
OpenNone
ResolvedArlolra
DeclinedNone
DuplicateNone
DuplicateNone
DeclinedNone
DeclinedNone
DeclinedNone
OpenNone
DeclinedNone
DuplicateNone
Resolvedmatmarex
ResolvedAnomie
ResolvedAnomie
ResolvedAnomie
DuplicateNone

Event Timeline

Florian raised the priority of this task from to Needs Triage.
Florian updated the task description. (Show Details)
Florian changed Security from none to None.
Florian added a subscriber: Florian.
Jhernandez triaged this task as Medium priority.Aug 18 2015, 4:02 PM
Jhernandez edited projects, added MobileFrontend; removed Readers-Web-Backlog.