From: Alexandre Emsenhuber Date: Fri, 4 Dec 2009 18:37:54 +0000 (+0000) Subject: * (bug 21559) "logempty" message is now wrapped in a div with class "mw-warning-logem... X-Git-Tag: 1.31.0-rc.0~38623 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=0f0e1b307dc01d9923198b5ed51e5a35bd654d43;p=lhc%2Fweb%2Fwiklou.git * (bug 21559) "logempty" message is now wrapped in a div with class "mw-warning-logempty" when used in log extract --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 7530fc74e2..075fa6805b 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -665,6 +665,8 @@ Hopefully we will remove this configuration var soon) due to an infinite loop of job requeues. * (bug 21523) File that can have multiple pages (djvu, pdf, ...) no longer have the page selector when they have only one page +* (bug 21559) "logempty" message is now wrapped in a div with class + "mw-warning-logempty" when used in log extract == API changes in 1.16 == diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index cfbadeb343..0e4a72c2b7 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -658,7 +658,8 @@ class LogEventsList { $loglist->endLogEventsList(); } else { if ( $showIfEmpty ) - $s = wfMsgExt( 'logempty', array('parse') ); + $s = Html::rawElement( 'div', array( 'class' => 'mw-warning-logempty' ), + wfMsgExt( 'logempty', array( 'parseinline' ) ) ); } if( $pager->getNumRows() > $pager->mLimit ) { # Show "Full log" link $urlParam = array();