$wgOut->addWikiMsg( 'nolinkstoimage' );
return;
}
- $wgOut->addHTML( Xml::element( 'h5', null, wfMsg( 'linkstoimage' ) ) . "\n" );
+ $wgOut->addWikiMsg( 'linkstoimage' );
$wgOut->addHTML( "<ul class='mw-imagepage-linktoimage'>\n" );
$sk = $wgUser->getSkin();
),
__METHOD__
);
+
if ( 0 == $dbr->numRows( $res ) )
return;
- $wgOut->addHTML( Xml::element( 'h5', null, wfMsg( 'redirectstofile' ) ) . "\n" );
+ $wgOut->addWikiMsg( 'redirectstofile' );
$wgOut->addHTML( "<ul class='mw-imagepage-redirectstofile'>\n" );
$sk = $wgUser->getSkin();
}
if ( count( $dupes ) == 0 ) return;
- $wgOut->addHTML( Xml::element( 'h5', null, wfMsg( 'duplicatesoffile' ) ) . "\n" );
+ $wgOut->addWikiMsg( 'duplicatesoffile' );
$wgOut->addHTML( "<ul class='mw-imagepage-duplicates'>\n" );
$sk = $wgUser->getSkin();