r55522 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55521‎ | r55522 | r55523 >
Date:08:16, 23 August 2009
Author:ialex
Status:ok
Tags:
Comment:
* (bug 20362) Special:Statistics now produces valid HTML when view counters are enabled
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/specials/SpecialStatistics.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialStatistics.php
@@ -251,7 +251,9 @@
252252 )
253253 );
254254 if( $res->numRows() > 0 ) {
 255+ $text .= Xml::openElement( 'tr' );
255256 $text .= Xml::tags( 'th', array( 'colspan' => '2' ), wfMsgExt( 'statistics-mostpopular', array( 'parseinline' ) ) );
 257+ $text .= Xml::closeElement( 'tr' );
256258 while( $row = $res->fetchObject() ) {
257259 $title = Title::makeTitleSafe( $row->page_namespace, $row->page_title );
258260 if( $title instanceof Title ) {
Index: trunk/phase3/RELEASE-NOTES
@@ -421,6 +421,8 @@
422422 watched page is deleted
423423 * (bug 20358) Unprotect tab was missing accesskey; now same as protect tab.
424424 * (bug 20317) Cleaned up default main page link accesskey settings
 425+* (bug 20362) Special:Statistics now produces valid HTML when view counters are
 426+ enabled
425427
426428 == API changes in 1.16 ==
427429

Status & tagging log