Page MenuHomePhabricator

Media-list: Update title property to reflect the redirect target title
Closed, ResolvedPublic

Description

Follow-up from T230040 & T230067: The media-list object's title property still contains the original (un-redirected) file page title even after the image sources have been resolved, for example.

{"title":"File:Olympic_rings.svg","section_id":0,"type":"image","showInGallery":true,"srcset":[{"src":"//upload.wikimedia.org/wikipedia/commons/thumb/5/5c/Olympic_rings_without_rims.svg/320px-Olympic_rings_without_rims.svg.png","scale":"1x"}]}

title should also be resolved.

Event Timeline

Mholloway renamed this task from Media-list: Update title property to reflect the redirect title to Media-list: Update title property to reflect the redirect target title.Sep 6 2019, 9:47 PM

Change 530003 had a related patch set uploaded (by MSantos; owner: MSantos):
[mediawiki/services/mobileapps@master] media-list: avoid redirects in media titles

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

Change 541638 had a related patch set uploaded (by MSantos; owner: MSantos):
[mediawiki/services/mobileapps@master] media-list: Split mwApiGetBatched

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

Change 541638 merged by jenkins-bot:
[mediawiki/services/mobileapps@master] media-list: Split mwApiGetBatched

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

DannyS712 added a subscriber: DannyS712.

[batch] remove patch for review tag from resolved tasks