Wikia code/includes/api/ApiQueryRevisions.php

--- 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 ) {