API: Fix up r46825:
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 9 Feb 2009 14:07:18 +0000 (14:07 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 9 Feb 2009 14:07:18 +0000 (14:07 +0000)
commit5f0226fd8db7b9cea4db75288ea972f754778725
tree0a06a69d867df474edb443a092d3eae9cea56af7
parent4e67c4bdee7e131fb8cd03541ee34e8d3bed8259
API: Fix up r46825:
* put the tables in the right order
* JOIN on user_text as well for better index usage
* Force the index on the recentchanges table as well
* Don't ORDER BY rev_user_text if it's constant
includes/api/ApiQueryUserContributions.php