Page MenuHomePhabricator

openShowImage function should add a category to files exceeding $wgMaxAnimatedGifArea
Open, Needs TriagePublic

Description

To help identify files which are exceeding the $wgMaxAnimatedGifArea limit, openShowImage should add a category.

Event Timeline

Change 820702 had a related patch set uploaded (by Samtar; author: Samtar):

[mediawiki/core@master] ImagePage: Add category to files exceeding $wgMaxAnimatedGifArea

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

Test wiki created on Patch demo by TheresNoTime using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/c9aeeffe22/w

hmmmmm, from the above patchdemo I'm testing with https://patchdemo.wmflabs.org/wikis/c9aeeffe22/wiki/File:IZjdaFG6Wb.gif — the category exists but is still a red link, and the file isn't included in the category 😟

Change 820702 abandoned by Samtar:

[mediawiki/core@master] ImagePage: Add category to files exceeding $wgMaxAnimatedGifArea

Reason:

Flawed - I want tracking categories I think, not addCategoryLinks

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

Test wiki on Patch demo by TheresNoTime using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/c9aeeffe22/w/