Page MenuHomePhabricator

Translate response body property descriptions for remaining endpoints
Closed, ResolvedPublic3 Estimated Story Points

Description

Make response body property descriptions translatable for all core schemas in the MediaWiki REST API for which this has not been done. Task T384747: Translate response body property descriptions for 'content.v1' endpoints covers doing this for schemas used in the content.v1 module, and can be used as a pattern. See that task for implementation details and links to an example.

Schemas covered by this task:

  • MediaFile.json
  • MediaLinks.json
  • ModuleSpec.json
  • PageHistory.json
  • PageHistoryCount.json
  • PageLanguageLinks.json
  • RevisionCompare.json
  • SearchResults.json

To reiterate something mentioned on T384747: Translate response body property descriptions for 'content.v1' endpoints if any English descriptions are available from the API Portal endpoint documentation, they should be used as the English string in en.json, rather than the current description from the schema.

Note that ModuleSpec.json is not listed, because it refers to a non-WMF spec and therefore needs no modification.

Event Timeline

HCoplin-WMF triaged this task as Medium priority.
HCoplin-WMF set the point value for this task to 3.

Change #1119237 had a related patch set uploaded (by Fgoodwin; author: Fgoodwin):

[mediawiki/core@master] Translate response body property descriptions for remaining endpoints

https://gerrit.wikimedia.org/r/1119237

BPirkle updated the task description. (Show Details)
BPirkle added a subscriber: FGoodwin.

Change #1119237 merged by jenkins-bot:

[mediawiki/core@master] Translate response body property descriptions for remaining endpoints

https://gerrit.wikimedia.org/r/1119237

Change #1170127 had a related patch set uploaded (by Reedy; author: Fgoodwin):

[mediawiki/core@REL1_43] Translate response body property descriptions for remaining endpoints

https://gerrit.wikimedia.org/r/1170127

Change #1189458 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/core@master] Fix broken x-i18n-description with plain English strings

https://gerrit.wikimedia.org/r/1189458

Change #1189458 abandoned by Thiemo Kreuz (WMDE):

[mediawiki/core@master] Fix broken x-i18n-description with plain English strings

Reason:

Replaced by I61dd15b.

https://gerrit.wikimedia.org/r/1189458

Change #1170127 abandoned by Reedy:

[mediawiki/core@REL1_43] Translate response body property descriptions for remaining endpoints

https://gerrit.wikimedia.org/r/1170127