The first two images on the [[Water]] page are broken. Experimentation reveals that they're only broken at their specifically-scaled sizes (280 and 150 px, respectively). So obviously it's a caching problem. What's that trick for forcing all a page's content to be explicitly regenerated? &action=flush or something?
On 15/09/2007, Steve Summit scs@eskimo.com wrote:
The first two images on the [[Water]] page are broken. Experimentation reveals that they're only broken at their specifically-scaled sizes (280 and 150 px, respectively). So obviously it's a caching problem. What's that trick for forcing all a page's content to be explicitly regenerated? &action=flush or something?
action=purge
On 15/09/2007, Thomas Dalton thomas.dalton@gmail.com wrote:
On 15/09/2007, Steve Summit scs@eskimo.com wrote:
The first two images on the [[Water]] page are broken. Experimentation reveals that they're only broken at their specifically-scaled sizes (280 and 150 px, respectively). So obviously it's a caching problem. What's that trick for forcing all a page's content to be explicitly regenerated? &action=flush or something?
action=purge
And you're right, it worked. I purged both images, and it's working now.
Thomas Dalton wrote:
On 15/09/2007, Steve Summit scs@eskimo.com wrote:
The first two images on the [[Water]] page are broken... What's that trick for forcing all a page's content to be explicitly regenerated?
action=purge
Thanks.
Next question: is there something wrong with SVG rendering or scaling at the moment? I've noticed that both (a) Image:Heme.svg, as seen on the [[Hemoglobin]] page, and (b) Image:NFPA_704.svg, as used in Template:NFPA 704 and seen on many, many chemical pages, are both broken. action=purge doesn't seem to be helping for these.
Steve Summit wrote:
Thomas Dalton wrote:
On 15/09/2007, Steve Summit wrote:
The first two images on the [[Water]] page are broken... What's that trick for forcing all a page's content to be explicitly regenerated?
action=purge
Thanks.
Next question: is there something wrong with SVG rendering or scaling at the moment? I've noticed that both (a) Image:Heme.svg, as seen on the [[Hemoglobin]] page, and (b) Image:NFPA_704.svg, as used in Template:NFPA 704 and seen on many, many chemical pages, are both broken. action=purge doesn't seem to be helping for these.
Purged. These images are on commons, so you should purge them on the commons page. Purging on en: worked, though.
Thomas Dalton:
I'm not sure how long images are cached for - hopefully not too long and the problem will fix itself once the caches expire.
AFAIK, they're cached 'forever, until the page is purged or the image deleted/overwritten
Thomas Dalton wrote:
On 15/09/2007, Steve Summit scs@eskimo.com wrote:
The first two images on the [[Water]] page are broken... What's that trick for forcing all a page's content to be explicitly regenerated?
action=purge
Thanks. And something seems to have fixed those images. But I'm not sure it was action=purge. (Did you try it, Thomas? I didn't; the images were fixed by the time I received your reply.) I've noticed that [[Image:Tabak P9290021.JPG]], as seen in [[Nicotine]], is broken, and action=purge doesn't fix it.
Clearly there's something badly messed up in an image cache somewhere. If I've encountered this many in a few minutes, there have got to be lots more.
I wrote:
I've noticed that [[Image:Tabak P9290021.JPG]], as seen in [[Nicotine]], is broken, and action=purge doesn't fix it.
Aha. You've got to purge the image page itself (e.g. http:// en.wikipedia.org/w/index.php?title=Image:Tabak_P9290021.JPG &action=purge), not the article page containing the image.
Clearly there's something badly messed up in an image cache somewhere. If I've encountered this many in a few minutes, there have got to be lots more.
Speculation on the IRC channel is that a disk filled up, and that there are therefore gobs of 0-sized thumbnails littering the cache.
I wrote:
Next question: is there something wrong with SVG rendering or scaling at the moment? I've noticed that both (a) Image:Heme.svg, as seen on the [[Hemoglobin]] page, and (b) Image:NFPA_704.svg, as used in Template:NFPA 704 and seen on many, many chemical pages, are both broken. action=purge doesn't seem to be helping for these.
Never mind. Action=purge on [[Hemoglobin]] didn't help, but doing it on Image:Heme.svg and Image:NFPA_704.svg themselves surely did. Case closed. (Except for the N,000 other images that probably need the same treatment...)
On 16/09/2007, Steve Summit scs@eskimo.com wrote:
I wrote:
I've noticed that [[Image:Tabak P9290021.JPG]], as seen in [[Nicotine]], is broken, and action=purge doesn't fix it.
Aha. You've got to purge the image page itself (e.g. http:// en.wikipedia.org/w/index.php?title=Image:Tabak_P9290021.JPG &action=purge), not the article page containing the image.
Ah yes, I learned that bit by trial and error. ;)
Clearly there's something badly messed up in an image cache somewhere. If I've encountered this many in a few minutes, there have got to be lots more.
Speculation on the IRC channel is that a disk filled up, and that there are therefore gobs of 0-sized thumbnails littering the cache.
Makes sense. It could mean they are still being created too...
On 16/09/2007, Steve Summit scs@eskimo.com wrote:
Thomas Dalton wrote:
On 15/09/2007, Steve Summit scs@eskimo.com wrote:
The first two images on the [[Water]] page are broken... What's that trick for forcing all a page's content to be explicitly regenerated?
action=purge
Thanks. And something seems to have fixed those images. But I'm not sure it was action=purge. (Did you try it, Thomas? I didn't; the images were fixed by the time I received your reply.) I've noticed that [[Image:Tabak P9290021.JPG]], as seen in [[Nicotine]], is broken, and action=purge doesn't fix it.
Yes, I purged them - I sent an email a few minutes after the first saying so, it must not have arrived yet. I just purged the nicotine patch image, and it worked. To purge you have to use the full url, with index.php, the short form doesn't work, as far as I know.
Clearly there's something badly messed up in an image cache somewhere. If I've encountered this many in a few minutes, there have got to be lots more.
Yes. I don't know how to track them down, though. I'm not sure how long images are cached for - hopefully not too long and the problem will fix itself once the caches expire. If you find any more just go to:
http://en.wikipedia.org/w/index.php?title=Image:XYZ&action=purge
Thomas Dalton wrote:
On 16/09/2007, Steve Summit scs@eskimo.com wrote:
Clearly there's something badly messed up in an image cache somewhere. If I've encountered this many in a few minutes, there have got to be lots more.
Yes. I don't know how to track them down, though.
Me, I'd use something like
find -size 0 -print | xargs rm
but that clearly requires a level of access I don't have. :-)
On 9/15/07, Thomas Dalton thomas.dalton@gmail.com wrote:
To purge you have to use the full url, with index.php, the short form doesn't work, as far as I know.
They should work identically. Of course, since the short form doesn't have a query string, it's ?action=purge you need to append, not &action=purge.
On 16/09/2007, Simetrical Simetrical+wikilist@gmail.com wrote:
On 9/15/07, Thomas Dalton thomas.dalton@gmail.com wrote:
To purge you have to use the full url, with index.php, the short form doesn't work, as far as I know.
They should work identically. Of course, since the short form doesn't have a query string, it's ?action=purge you need to append, not &action=purge.
Ok, it must not have worked when I tried it that way for a different reason... the mystery deepens...
wikitech-l@lists.wikimedia.org