Commons talk:Village pump/Archive/2009

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Phantom file

Could someone please look into the following problem for me? It concerns this category view: Category:Colubridae. In it you'll see that while most of the subcategories are indicated to contain subcategories and pages of their own, two of them also contain files. The first of these, "Ahaetulla (3 C, 3 P, 2 F)," does indeed contain two files as expected. However, the problem is with "Drymarchon (1 C, 1 P, 1 F)," which is supposed to contain one file, but actually doesn't. A file may have been there in the past, but if so it was moved elsewhere months ago. Is it perhaps because there is still something there that I can't see? We may need a SysOp to fix this one. Thanks, --Jwinius (talk) 22:05, 2 January 2009 (UTC)

Have you tried to purge the cache for that page? --J.smith (talk) 17:25, 3 January 2009 (UTC)
I just tried a purge and it dosn't seem to have fixed it. I have no idea whats going on here. :) --J.smith (talk) 17:28, 3 January 2009 (UTC)
I see the same as Jwinius. It's not about cache. NVO (talk) 08:49, 7 January 2009 (UTC)
Isn't the file in the subcategory Category:Drymarchon couperi (File:EasternIndigo.jpg)? TimVickers (talk) 21:43, 7 January 2009 (UTC)
Yeah, but that's not supposed to show up in the Category:Colubridae view. Apparently. this has been a problem for a while... --Jwinius (talk) 07:33, 8 January 2009 (UTC)

(copied from Commons:Village pump#Phantom_file)
There are plenty of such cases, especially when categories are changed through bots or templates; Category:Halo and Category:Pagos since several months, Category:2008–2009 Israel–Gaza conflict casualties, Category:Duplicate, Category:Universally replaced by CommonsDelinker, Category:Candidates for deletion, ... These counters don't seem to work correctly. Deletion and recreation does not solve the problem. Moving (which is a delete and create under another name) neither. Purge neither. I have never seen a workaround for that. I think that is one of the reasons why these counters are not displayed on (all ?) other wikipedias. --Foroa (talk) 13:41, 6 January 2009 (UTC)

Buggy code, huh? Unfortunate, but thanks for your response. Cheers, --Jwinius (talk) 16:10, 6 January 2009 (UTC)
Work around? :-)
I just had a play, I added two files to your category Drymarchon which was showing as (1 C, 1 P, 1 F), that changed to (1 C, 1 P, 3 F), but when I removed my two files it fixed itself, now (1 C, 1 P). Did a bit of further testing, method that works: add file to category, refresh category page display (clear cache), delete file from category, refresh category page display (clear cache). Counts should be fixed. --Tony Wills (talk) 09:26, 25 February 2009 (UTC)
This section was archived on a request by: Rd232 (talk) 09:43, 26 December 2011 (UTC)