Wikia code/includes/api/ApiQueryDeletedrevs.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\ApiQueryDeletedrevs.php 2011-07-18 22:31:07.013671900 +0100
+++ D:\Programming\SVN\wikia\trunk\includes\api\ApiQueryDeletedrevs.php 2011-08-17 15:28:14.227539100 +0100
@@ -106,7 +106,7 @@
if ( $limit == 'max' ) {
$limit = $this->getMain()->canApiHighLimits() ? $botMax : $userMax;
- $this->getResult()->addValue( 'limits', $this->getModuleName(), $limit );
+ $this->getResult()->setParsedLimit( $this->getModuleName(), $limit );
}
$this->validateLimit( 'limit', $limit, 1, $userMax, $botMax );