Index: trunk/phase3/includes/WikiFilePage.php |
— | — | @@ -156,12 +156,12 @@ |
157 | 157 | $update = new HTMLCacheUpdate( $this->mTitle, 'imagelinks' ); |
158 | 158 | $update->doUpdate(); |
159 | 159 | $this->mFile->upgradeRow(); |
160 | | - $this->mFile->purgeCache( array( 'forRefresh' => true ) ); |
| 160 | + $this->mFile->purgeCache( array( 'forThumbRefresh' => true ) ); |
161 | 161 | } else { |
162 | 162 | wfDebug( 'ImagePage::doPurge no image for ' . $this->mFile->getName() . "; limiting purge to cache only\n" ); |
163 | 163 | // even if the file supposedly doesn't exist, force any cached information |
164 | 164 | // to be updated (in case the cached information is wrong) |
165 | | - $this->mFile->purgeCache( array( 'forRefresh' => true ) ); |
| 165 | + $this->mFile->purgeCache( array( 'forThumbRefresh' => true ) ); |
166 | 166 | } |
167 | 167 | return parent::doPurge(); |
168 | 168 | } |
Index: trunk/phase3/includes/filerepo/file/LocalFile.php |
— | — | @@ -722,7 +722,7 @@ |
723 | 723 | $files = $this->getThumbnails(); |
724 | 724 | |
725 | 725 | // Give media handler a chance to filter the purge list |
726 | | - if ( !empty( $options['forRefresh'] ) ) { |
| 726 | + if ( !empty( $options['forThumbRefresh'] ) ) { |
727 | 727 | $handler = $this->getHandler(); |
728 | 728 | if ( $handler ) { |
729 | 729 | $handler->filterThumbnailPurgeList( $files, $options ); |
Index: trunk/phase3/includes/filerepo/file/File.php |
— | — | @@ -923,7 +923,7 @@ |
924 | 924 | * STUB |
925 | 925 | * Overridden by LocalFile |
926 | 926 | * @param $options Array Options, which include: |
927 | | - * 'forRefresh' : The purging is only to refresh thumbnails |
| 927 | + * 'forThumbRefresh' : The purging is only to refresh thumbnails |
928 | 928 | */ |
929 | 929 | function purgeCache( $options = array() ) {} |
930 | 930 | |