require_once("QueryPage.php");
/**
- *
+ * @package MediaWiki
+ * @subpackage SpecialPage
*/
class UnusedimagesPage extends QueryPage {
function sortDescending() {
return false;
}
+ function isSyndicated() { return false; }
function getSQL() {
$dbr =& wfGetDB( DB_SLAVE );
global $wgLang, $wgContLang;
$title = Title::makeTitle( NS_IMAGE, $result->title );
- $imageUrl = htmlspecialchars( Image::wfImageUrl( $result->title ) );
+ $imageUrl = htmlspecialchars( Image::imageUrl( $result->title ) );
$return =
# The 'desc' linking to the image page
'('.$skin->makeKnownLinkObj( $title, wfMsg('imgdesc') ).') '
# 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;
}