$sql .= " LIMIT {$limit}";
$wgOut->addWikiText( wfMsg( 'imglegend' ) );
- $wgOut->addWikiText( wfMsg( 'imagelisttext', $lt, wfMsg( $sort ) ) );
+ $wgOut->addHTML( wfMsgExt( 'imagelisttext', array('parse'), $lt, wfMsg( $sort ) ) );
$sk = $wgUser->getSkin();
$titleObj = Title::makeTitle( NS_SPECIAL, "Imagelist" );
$bydate = wfMsg( 'bydate' );
$lt = $wgLang->formatNum( min( $shownImages, $limit ) );
if ($shownav) {
- $text = wfMsg( 'imagelisttext', $lt, $bydate );
- $wgOut->addHTML( "<p>{$text}\n</p>" );
+ $text = wfMsgExt( 'imagelisttext', array('parse'), $lt, $bydate );
+ $wgOut->addHTML( $text . "\n" );
}
$sub = wfMsg( 'ilsubmit' );