usertext, not user :)
authorDomas Mituzas <midom@users.mediawiki.org>
Tue, 28 Oct 2008 18:49:00 +0000 (18:49 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Tue, 28 Oct 2008 18:49:00 +0000 (18:49 +0000)
includes/api/ApiQueryUserContributions.php

index a7bd29a..1d84512 100644 (file)
@@ -177,7 +177,7 @@ class ApiQueryContributions extends ApiQueryBase {
                        $this->addWhereIf('rev_minor_edit != 0', isset ($show['minor']));
                }
                $this->addOption('LIMIT', $this->params['limit'] + 1);
-               $this->addOption( 'USE INDEX', array( 'revision' => 'user_timestamp' ) );
+               $this->addOption( 'USE INDEX', array( 'revision' => 'usertext_timestamp' ) );
 
                // Mandatory fields: timestamp allows request continuation
                // ns+title checks if the user has access rights for this page