Last modified: 2011-03-09 21:14:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1992 - issues when replacing images
issues when replacing images
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All All
: Normal major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-04-27 01:12 UTC by peter green
Modified: 2011-03-09 21:14 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description peter green 2005-04-27 01:12:29 UTC
when uploading a new version of an image the old image has a tendancy to remain
there seem to be two seperate problems behind this.

1: scaled images are not regenerated until a page is re-rendered
2: images stay in cache (squid i presume but i could be mistaken) until forced
out of it (using ctrl+refresh). 

so to replace a scaled image on a page currently the following sequence is needed
1: upload the new image
2: purge the page w/index.php?title=whatever&action=purge to force the new
scaled image to be generated
3: ctrl+refresh to force the old thumbnail out of cache.

so when an image is updated all pages using it need to be invalidated (same as
when editing a template) and the image needs to be purged from cache.
Furthermore when regenerating a scaled image the old scaled image needs to be
purged from cache.

i figured out this sequence based on trial and error and educated guesses but
most newbies aren't going to have a clue if and when they run into this issue.

shared uploads (commons) further complicate this issue
Comment 1 JeLuF 2005-04-29 07:26:33 UTC
This is already addressed in MediaWiki 1.5alpha when thumb.php support is
enabled. Beta phase of MediaWiki 1.5 will start soon.
Comment 2 Brion Vibber 2005-07-10 23:03:16 UTC
Is this resolved?
Comment 3 Mr. Anderson 2005-08-21 02:17:36 UTC
I think no. There is at least still a problem concerning pictures. When changing
an image that is used as thumbnail in a template without reloading the template
itself, but only loading a page that uses this template, the new thubnail is not
generated and there is no thumbnail displayed at all.

e. g. page A uses template {{B}}. B uses [[Image:C.png|100px|foo].
Now C is updated. B is _not_ reloaded. When now loading A there is no thumbnail
of C.png visible. As soon as B is reloaded the thumbnail in A is visible again.

Note You need to log in before you can comment on or make changes to this bug.