Page MenuHomePhabricator

Service: Flatten media structure
Closed, ResolvedPublic2 Estimated Story Points

Description

Currently the media object has properties for videos and images. Let's remove that distinction so we have more flexibility over the ordering of media items in galleries.
This will allow us to seamlessly switch over to T86954 without requiring changes on the client side.

Event Timeline

bearND raised the priority of this task from to High.
bearND updated the task description. (Show Details)
bearND moved this task to Backlog on the Mobile-Content-Service board.
bearND subscribed.

Change 232320 had a related patch set uploaded (by Mholloway):
WIP: Flatten media structure

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

The two separate promises for images and video are still bothering me, but it seems necessitated by the API architecture for the moment.

That said, it looks like there are plans at some point on the horizon to deprecate prop=imageinfo and prop=videoinfo in favor of a (to-be-written) prop=fileinfo module that could presumably handle both.

Change 232320 merged by Mobrovac:
Eliminate image/video distinction in media object

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