Page MenuHomePhabricator

Filter participate image list to only contain image files
Closed, ResolvedPublic

Description

We need to restrict the file types so that the videos and other media types are not shown.

The list of images retrieved via the API call needs to be filtered just after it's received.

The only file types we need to keep are:

  • .png
  • .jpg (I think .jpeg form as well just in case)
  • .svg

Event Timeline

NavinoEvans moved this task from In progress to Pending on the ISA board.
Eugene233 updated the task description. (Show Details)May 17 2019, 10:58 AM

Change 510983 had a related patch set uploaded (by Eugene233; owner: Eugene233):
[labs/tools/Isa@master] Filter participate image list to only contain image files

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

Eugene233 moved this task from Pending to In progress on the ISA board.

Change 510983 merged by jenkins-bot:
[labs/tools/Isa@master] Filter participate image list to only contain image files

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

Eugene233 closed this task as Resolved.May 21 2019, 8:58 AM