Last modified: 2012-04-16 09:15:57 UTC
We have noticed on pl.wiki weird problem with template Klawiaturka (http://pl.wikipedia.org/wiki/Szablon:Klawiatura). It shows up only for anonymous users, it can be observed on * http://pl.wikipedia.org/wiki/Break_%28klawisz%29 (parser cache key: plwiki:stable-pcache:idhash:1208619-0!*!0!!*!4 and timestamp 20110331153036) * http://pl.wikipedia.org/wiki/Insert There is an issue with image 'File:KB United States.svg', which is not shown on those pages. There is a red warning 'Błąd – grafika jest niepoprawna lub nie istnieje', which informs that file is invalid or does not exist. Purging the page does not help. Performing a null edit (which does not change the content of article) does not help. Editing the template (should invalidate cached pages) does not help. Only edit changing the article fixes the problem. Is there a way to find broken pages and drop invalid cache entries automatically? There can be more affected templates.
seems like something people with shell would be needed for, but I'm open to being proved wrong ;)
Perhaps this was transient? I can't seem to replicate while logged in or out.
(In reply to comment #2) > Perhaps this was transient? I can't seem to replicate while logged in or out. I can. http://pl.wikipedia.org/w/index.php?title=Break_%28klawisz%29&stableid=24737756 has a red link logged in or out.
aaron@fenari:~$ php runQuery.php plwiki object(stdClass)#21 (4) { ["fi_rev_id"]=> string(8) "24737756" ["fi_name"]=> string(20) "KB_United_States.svg" ["fi_img_timestamp"]=> string(14) "20101227075724" ["fi_img_sha1"]=> string(31) "s2t6ksa4iljchijevo98mj9pbn418dz" } aaron@fenari:~$ php runQuery.php commonswiki object(stdClass)#21 (2) { ["img_sha1"]=> string(31) "s2t6ksa4iljchijevo98mj9pbn418dz" ["img_timestamp"]=> string(14) "20101227075725" } Somehow the fi_img_timestamp is too small by 1.
Should be fixed in r85199.
(In reply to comment #5) > Should be fixed in r85199. This is not retroactive though. I'll look into a cleanup script. Actually, re-opening as a reminder for that.
(In reply to comment #6) > (In reply to comment #5) > > Should be fixed in r85199. > > This is not retroactive though. I'll look into a cleanup script. Actually, > re-opening as a reminder for that. Script added in r85202. I can't run it now since findFileFromKey() isn't in 1.17.
Are there any other known effected files? It should be very unlikely for there to be that many. Pages can be fixed by de-approving and re-approving again.
Yes. In an article: http://pl.wikipedia.org/wiki/Franciszek_Bunsch * http://pl.wikipedia.org/wiki/Plik:Franciszek_Bunsch_-_Pow%C3%B3d%C5%BA_-_grafika.jpg * http://pl.wikipedia.org/wiki/Plik:Franciszek_Bunsch_-_Wej%C5%9Bcie_do_Piekie%C5%82_%28Dante%29_-_grafika.jpg
Giving this to Aaron so he can run his script.
(In reply to comment #10) > Giving this to Aaron so he can run his script. Script is done.