Page MenuHomePhabricator

Category:Pages with broken file links (and localized variants) sometimes don't have entries removed properly
Closed, ResolvedPublic

Description

This cat is automatically added to images with broken file links but it's not properly removed if the problem was on the image description page and the situation had been fixed (missing image uploaded) - Images stay in this cat although it's not visible on the image page anymore. They are only removed on the next edit or via null-edit.
Neither purging the cat nor the image page removes the cat, gadgets like cat-a-lot can't remove it either because the cat is not present for them.

Reported for Commons with currently 2.500 images in this cat, many/most of them seem to be false positives.

Even after modifying MediaWiki:Broken-file-category to have User pages in a separate cat not a single of the ~3.000 pages has been placed there, requires a null-edit to have an effect on the cat placement (or removal).
Without editing the new cat is shown on User pages originally placed in the old cat although upon editing they are shown as member of the old cat.


Version: 1.22.0
Severity: normal
URL: https://commons.wikimedia.org/wiki/Category:Pages_with_broken_file_links

Details

Reference
bz46749

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:32 AM
bzimport set Reference to bz46749.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

Reported for Commons with currently 2.500 images in this cat, many/most of
them seem to be false positives.

http://commons.wikimedia.org/wiki/Category:Pages only shows a few? I probably miss something here, sorry I cannot follow your steps.

(In reply to comment #1)

(In reply to comment #0)

Reported for Commons with currently 2.500 images in this cat, many/most of
them seem to be false positives.

http://commons.wikimedia.org/wiki/Category:Pages only shows a few? I probably
miss something here, sorry I cannot follow your steps.

You're url is missing stuff after the first space. Correct url is https://commons.wikimedia.org/wiki/Category:Pages_with_broken_file_links


(This bug is essentially my fault)

Related URL: https://gerrit.wikimedia.org/r/59359 (Gerrit Change I7889598eee54a1c07c64f750b8499e922ba59704)

(In reply to comment #3)

Related URL: https://gerrit.wikimedia.org/r/59359 (Gerrit Change
I7889598eee54a1c07c64f750b8499e922ba59704)

That's for the most common case only. Other cases:

*Should update category when someone deletes an image
*Should update category when someone creates a new image redirect (The patch updates existing image redirects)

Note, common case fix now merged. I suppose should keep this bug open for the other cases.

matmarex subscribed.
  • Should update category when someone deletes an image
  • Should update category when someone creates a new image redirect (The patch updates existing image redirects)

I think these were fixed in rMWa2120b0bd0fe: Make imagelinks work like templatelinks (2014).

The category https://commons.wikimedia.org/wiki/Category:Pages_with_broken_file_links only contains a few pages today, and they all genuinely have broken file links.