Page MenuHomePhabricator

allimages api query doesn't allow multiple mime types
Closed, ResolvedPublic

Description

The aimime parameter doesn't understand "|" for supplying multiple mime types. For example, the result of "aimime=image/png|image/gif" should return all gifs and pngs, but, instead, returns nothing.

Event Timeline

MarkAHershberger raised the priority of this task from to Needs Triage.
MarkAHershberger updated the task description. (Show Details)
MarkAHershberger changed Security from none to None.
MarkAHershberger subscribed.
Anomie triaged this task as Lowest priority.Dec 16 2014, 9:33 PM

Change 182062 had a related patch set uploaded (by Ricordisamoa):
Allow querying for multiple MIME types in the allimages API

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

Patch-For-Review

Change 182062 merged by jenkins-bot:
Allow querying for multiple MIME types in the allimages API

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

Anomie subscribed.

Should be deployed to WMF wikis with 1.25wmf14, see https://www.mediawiki.org/wiki/MediaWiki_1.25/Roadmap for the schedule.

Should be deployed to WMF wikis with 1.25wmf14, see https://www.mediawiki.org/wiki/MediaWiki_1.25/Roadmap for the schedule.

Thanks!

Should be deployed to WMF wikis with 1.25wmf14, see https://www.mediawiki.org/wiki/MediaWiki_1.25/Roadmap for the schedule.

Actually, this won't affect WMF wikis in any way, since 'aimime' is disabled in miser mode.

True, but it'll be deployed with that version anyway.

Thanks, the patch works also in MW 1.22.12