http://www.mediawiki.org/wiki/Special:Code/MediaWiki/70569
Revision: 70569
Author: reedy
Date: 2010-08-06 14:12:41 +0000 (Fri, 06 Aug 2010)
Log Message:
-----------
Change statsOutput to parent, wikiStatsOutput is a subclass of statsOutput
Modified Paths:
--------------
trunk/phase3/includes/api/ApiQueryCategoryMembers.php
trunk/phase3/maintenance/language/StatOutputs.php
Modified: trunk/phase3/includes/api/ApiQueryCategoryMembers.php
===================================================================
--- trunk/phase3/includes/api/ApiQueryCategoryMembers.php 2010-08-06
13:57:02 UTC (rev 70568)
+++ trunk/phase3/includes/api/ApiQueryCategoryMembers.php 2010-08-06
14:12:41 UTC (rev 70569)
@@ -209,7 +209,6 @@
ApiBase::PARAM_TYPE => 'string',
ApiBase::PARAM_REQUIRED => true
),
-
'prop' => array(
ApiBase::PARAM_DFLT => 'ids|title',
ApiBase::PARAM_ISMULTI => true,
Modified: trunk/phase3/maintenance/language/StatOutputs.php
===================================================================
--- trunk/phase3/maintenance/language/StatOutputs.php 2010-08-06 13:57:02 UTC
(rev 70568)
+++ trunk/phase3/maintenance/language/StatOutputs.php 2010-08-06 14:12:41 UTC
(rev 70569)
@@ -70,7 +70,7 @@
$blue = '00';
$color = $red . $green . $blue;
- $percent = statsOutput::formatPercent( $subset, $total,
$revert, $accuracy );
+ $percent = parent::formatPercent( $subset, $total, $revert,
$accuracy );
return 'bgcolor="#' . $color . '"|' . $percent;
}
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs