Added a function that returns the list of supported formats to ApiMain
[lhc/web/wiklou.git] / includes / ImagePage.php
index cdaac24..6d4aedf 100644 (file)
@@ -10,13 +10,10 @@ class ImagePage extends Article {
        /**
         * @var File
         */
-       /* private */ var $img;
-       /**
-        * @var File
-        */
-       /* private */ var $displayImg;
-       /* private */ var $repo;
-       /* private */ var $fileLoaded;
+       private $img;
+       private $displayImg;
+       private $repo;
+       private $fileLoaded;
 
        var $mExtraDescription = false;
        var $dupes;
@@ -1100,7 +1097,7 @@ class ImageHistoryList {
                if ( $file->isDeleted( File::DELETED_COMMENT ) ) {
                        $row .= '<span class="history-deleted">' . wfMsgHtml( 'rev-deleted-comment' ) . '</span>';
                } else {
-                       $row .= $this->skin->commentBlock( $description, $this->title );
+                       $row .= $this->skin->commentBlock( $description, $this->title, false, false );
                }
                $row .= '</td>';