From: Alex Z Date: Mon, 14 Sep 2009 02:17:31 +0000 (+0000) Subject: Fixes for r56284: X-Git-Tag: 1.31.0-rc.0~39748 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=68eb4a8aebeb47350620aa3f2e5020321029a01b;p=lhc%2Fweb%2Fwiklou.git Fixes for r56284: * Parse the message shown in the box * Fix undefined variable notice --- diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index dfe6fa6aea..e7e4dbe84d 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -575,9 +575,10 @@ class LogEventsList { $pager = new LogPager( $loglist, $types, $user, $page, '', $conds ); if( $lim > 0 ) $pager->mLimit = $lim; $logBody = $pager->getBody(); + $s = ''; if( $logBody ) { if ( $msgKey ) - $s = '
' . wfMsg( $msgKey ) ; + $s = '
' . wfMsgExt( $msgKey, array('parse') ) ; $s .= $loglist->beginLogEventsList() . $logBody . $loglist->endLogEventsList();