On Sat, May 3, 2008 at 11:17 AM, Bryan Tong Minh
<dev.btongminh(a)gmail.com> wrote:
> Revision: 34137
> Author: aaron
> Date: 2008-05-02 21:29:05 +0000 (Fri, 02 May 2008)
>
> Log Message:
> -----------
> Don't keep puring squids for images where no thumb is needed (bug 13776)
>
> Modified Paths:
> --------------
> trunk/phase3/includes/filerepo/File.php
[...]
>
> + if ( $wgUseSquid && !$thumb->isError() && $thumb->url != $this->getURL() ) {
> SquidUpdate::purge( array( $thumbUrl ) );
Now that I think about it, shouldn't a purge also be triggered on
error during thumb generation?
Bryan