http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56289
Revision: 56289
Author: mrzman
Date: 2009-09-14 02:17:31 +0000 (Mon, 14 Sep 2009)
Log Message:
-----------
Fixes for r56284:
* Parse the message shown in the box
* Fix undefined variable notice
Modified Paths:
--------------
trunk/phase3/includes/LogEventsList.php
Modified: trunk/phase3/includes/LogEventsList.php
===================================================================
--- trunk/phase3/includes/LogEventsList.php 2009-09-14 01:56:24 UTC (rev
56288)
+++ trunk/phase3/includes/LogEventsList.php 2009-09-14 02:17:31 UTC (rev
56289)
@@ -575,9 +575,10 @@
$pager = new LogPager( $loglist, $types, $user, $page, '',
$conds );
if( $lim > 0 ) $pager->mLimit = $lim;
$logBody = $pager->getBody();
+ $s = '';
if( $logBody ) {
if ( $msgKey )
- $s = '<div class="mw-warning-with-logexcerpt">'
. wfMsg( $msgKey ) ;
+ $s = '<div class="mw-warning-with-logexcerpt">'
. wfMsgExt( $msgKey, array('parse') ) ;
$s .= $loglist->beginLogEventsList() .
$logBody .
$loglist->endLogEventsList();
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs