r53460 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53459‎ | r53460 | r53461 >
Date:21:42, 18 July 2009
Author:ialex
Status:deferred
Tags:
Comment:
(bug 18193) Spacing issue when no results returned
This happends when the 'checkuser-nomatch-edits' message is displayed. Changed wfMsgHtml() to wfMsgExt() with 'parse' option so that <p> is added arround it (as currently for 'checkuser-nomatch' message).
Modified paths:
  • /trunk/extensions/CheckUser/CheckUser_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CheckUser/CheckUser_body.php
@@ -286,7 +286,7 @@
287287 if( $lastEdit ) {
288288 $lastEditDate = $wgLang->date( wfTimestamp(TS_MW,$lastEdit), true );
289289 $lastEditTime = $wgLang->time( wfTimestamp(TS_MW,$lastEdit), true );
290 - return wfMsgHtml( 'checkuser-nomatch-edits', $lastEditDate, $lastEditTime );
 290+ return wfMsgExt( 'checkuser-nomatch-edits', 'parse', $lastEditDate, $lastEditTime );
291291 }
292292 return wfMsgExt('checkuser-nomatch','parse');
293293 }

Status & tagging log