Fix Special:Import for new schema; make it create page records as needed and hook...
[lhc/web/wiklou.git] / includes / SpecialUnusedimages.php
index 9a0f253..6d6cb2f 100644 (file)
@@ -9,7 +9,8 @@
 require_once("QueryPage.php");
 
 /**
- *
+ * @package MediaWiki
+ * @subpackage SpecialPage
  */
 class UnusedimagesPage extends QueryPage {
 
@@ -43,12 +44,10 @@ class UnusedimagesPage extends QueryPage {
                # Last modified date
                . ' . . '.$wgLang->timeanddate($result->value)
                # Link to username
-               . ' . . '.$skin->makeLinkObj( Title::makeTitle( NS_USER, $result->img_user_text ), $result->img_user_text);
-               
+               . ' . . '.$skin->makeLinkObj( Title::makeTitle( NS_USER, $result->img_user_text ), $result->img_user_text)
                # If there is a description, show it
-               if($result->img_description != '') {
-                       $return .= ' <i>(' . $skin->formatComment( $result->img_description ) . ')</i>';
-               }
+               . $skin->commentBlock( $result->img_description );
+               
                return $return;
        }