r56289 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56288‎ | r56289 | r56290 >
Date:02:17, 14 September 2009
Author:mrzman
Status:ok
Tags:
Comment:
Fixes for r56284:
* Parse the message shown in the box
* Fix undefined variable notice
Modified paths:
  • /trunk/phase3/includes/LogEventsList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogEventsList.php
@@ -575,9 +575,10 @@
576576 $pager = new LogPager( $loglist, $types, $user, $page, '', $conds );
577577 if( $lim > 0 ) $pager->mLimit = $lim;
578578 $logBody = $pager->getBody();
 579+ $s = '';
579580 if( $logBody ) {
580581 if ( $msgKey )
581 - $s = '<div class="mw-warning-with-logexcerpt">' . wfMsg( $msgKey ) ;
 582+ $s = '<div class="mw-warning-with-logexcerpt">' . wfMsgExt( $msgKey, array('parse') ) ;
582583 $s .= $loglist->beginLogEventsList() .
583584 $logBody .
584585 $loglist->endLogEventsList();

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r56284Follow-up on r56251 - merging showLogs and showLogExtractchurchofemacs22:21, 13 September 2009

Status & tagging log