}
/**
- * @param $file File:
+ * @param File $file
*/
public function setFile( $file ) {
$this->mFile = $file;
$this->mFile->upgradeRow();
$this->mFile->purgeCache( array( 'forThumbRefresh' => true ) );
} else {
- wfDebug( 'ImagePage::doPurge no image for ' . $this->mFile->getName() . "; limiting purge to cache only\n" );
+ wfDebug( 'ImagePage::doPurge no image for '
+ . $this->mFile->getName() . "; limiting purge to cache only\n" );
// even if the file supposedly doesn't exist, force any cached information
// to be updated (in case the cached information is wrong)
$this->mFile->purgeCache( array( 'forThumbRefresh' => true ) );
$file = $this->mFile;
if ( ! $file instanceof LocalFile ) {
- wfDebug( __CLASS__ . '::' . __METHOD__ . ' is not supported for this file' );
+ wfDebug( __CLASS__ . '::' . __METHOD__ . " is not supported for this file\n" );
return TitleArray::newFromResult( new FakeResultWrapper( array() ) );
}