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

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

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 subscribed.
Jhernandez edited projects, added MobileFrontend; removed Web-Team-Backlog.