http://www.mediawiki.org/wiki/Special:Code/MediaWiki/59740

Revision: 59740
Author:   ialex
Date:     2009-12-04 18:37:54 +0000 (Fri, 04 Dec 2009)

Log Message:
-----------
* (bug 21559) "logempty" message is now wrapped in a div with class 
"mw-warning-logempty" when used in log extract

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/includes/LogEventsList.php

Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES  2009-12-04 16:51:45 UTC (rev 59739)
+++ trunk/phase3/RELEASE-NOTES  2009-12-04 18:37:54 UTC (rev 59740)
@@ -665,6 +665,8 @@
   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 ==
 

Modified: trunk/phase3/includes/LogEventsList.php
===================================================================
--- trunk/phase3/includes/LogEventsList.php     2009-12-04 16:51:45 UTC (rev 
59739)
+++ trunk/phase3/includes/LogEventsList.php     2009-12-04 18:37:54 UTC (rev 
59740)
@@ -658,7 +658,8 @@
                                 $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();



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to