Also set the queue types map when rebuilding the ready queue map
[lhc/web/wiklou.git] / includes / WikiFilePage.php
index 817f0fa..34f15c3 100644 (file)
@@ -47,7 +47,7 @@ class WikiFilePage extends WikiPage {
        }
 
        /**
-        * @param $file File:
+        * @param File $file
         */
        public function setFile( $file ) {
                $this->mFile = $file;
@@ -180,7 +180,8 @@ class WikiFilePage extends WikiPage {
                        $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 ) );
@@ -207,7 +208,7 @@ class WikiFilePage extends WikiPage {
                $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() ) );
                }