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.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Eliminate image/video distinction in media object | mediawiki/services/mobileapps | master | +13 -8 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 232320 had a related patch set uploaded (by Mholloway):
WIP: Flatten media structure
Comment Actions
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.