In MW REST API we've started prefixing all the error message keys with the endpoint name, like rest-pagehistory-revision-nonexistent. However, a lot of messages are the same for all the endpoints, so I propose to deduplicate them and pull out the endpoint name prefix when it's not needed. That way we can have less messages and reuse translations created for one endpoint in another.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
REST: Deduplicate and normalize REST error message names | mediawiki/core | master | +115 -158 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T229661 Core REST API in MediaWiki | |||
Open | None | T237565 REST API Infrastructure in MediaWiki | |||
Resolved | • Pchelolo | T237568 Deduplicate REST error messages |
Event Timeline
Comment Actions
Change 549631 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/core@master] REST: Deduplicate and normalize REST error message names
Comment Actions
Change 549631 merged by jenkins-bot:
[mediawiki/core@master] REST: Deduplicate and normalize REST error message names