http://www.mediawiki.org/wiki/Special:Code/MediaWiki/61976
Revision: 61976 Author: demon Date: 2010-02-04 14:55:53 +0000 (Thu, 04 Feb 2010) Log Message: ----------- Followup r61957, define $index Modified Paths: -------------- trunk/phase3/includes/api/ApiQueryRevisions.php Modified: trunk/phase3/includes/api/ApiQueryRevisions.php =================================================================== --- trunk/phase3/includes/api/ApiQueryRevisions.php 2010-02-04 14:42:37 UTC (rev 61975) +++ trunk/phase3/includes/api/ApiQueryRevisions.php 2010-02-04 14:55:53 UTC (rev 61976) @@ -142,6 +142,9 @@ $this->fld_user = isset ( $prop['user'] ); $this->token = $params['token']; + // Possible indexes used + $index = array(); + if ( !is_null( $this->token ) || $pageCount > 0 ) { $this->addFields( Revision::selectPageFields() ); } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs