r70569 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70568‎ | r70569 | r70570 >
Date:14:12, 6 August 2010
Author:reedy
Status:ok
Tags:
Comment:
Change statsOutput to parent, wikiStatsOutput is a subclass of statsOutput
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryCategoryMembers.php (modified) (history)
  • /trunk/phase3/maintenance/language/StatOutputs.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/StatOutputs.php
@@ -70,7 +70,7 @@
7171 $blue = '00';
7272 $color = $red . $green . $blue;
7373
74 - $percent = statsOutput::formatPercent( $subset, $total, $revert, $accuracy );
 74+ $percent = parent::formatPercent( $subset, $total, $revert, $accuracy );
7575 return 'bgcolor="#' . $color . '"|' . $percent;
7676 }
7777 }
Index: trunk/phase3/includes/api/ApiQueryCategoryMembers.php
@@ -209,7 +209,6 @@
210210 ApiBase::PARAM_TYPE => 'string',
211211 ApiBase::PARAM_REQUIRED => true
212212 ),
213 -
214213 'prop' => array(
215214 ApiBase::PARAM_DFLT => 'ids|title',
216215 ApiBase::PARAM_ISMULTI => true,

Status & tagging log