Wikia code/includes/api/ApiQueryRevisions.php
Appearance
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. The information shown below refers to the now unmaintained 1.16 MediaWiki release. The current stable release number is 1.43.0. |
--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\includes\api\ApiQueryRevisions.php 2011-07-18 22:31:07.123046900 +0100
+++ D:\Programming\SVN\wikia\trunk\includes\api\ApiQueryRevisions.php 2011-08-17 15:28:14.342773400 +0100
@@ -197,7 +197,7 @@
$limit = $params['limit'];
if ( $limit == 'max' ) {
$limit = $this->getMain()->canApiHighLimits() ? $botMax : $userMax;
- $this->getResult()->addValue( 'limits', $this->getModuleName(), $limit );
+ $this->getResult()->setParsedLimit( $this->getModuleName(), $limit );
}
if ( $enumRevMode ) {