API performance enhancements (bug 13511):
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 26 Mar 2008 13:43:11 +0000 (13:43 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 26 Mar 2008 13:43:11 +0000 (13:43 +0000)
commitc437a3c194e1cd6161fe8d0320a6fbf43c5e1959
tree985a2e0797279abbcbdd4fdbdf10f7afadcf7465
parentb5ef1048668e0090f17da7018f23a1de31cb3343
API performance enhancements (bug 13511):
* Replaced $wgAPIUCUserPrefixMinLength with the more generic $wgAPIMaxDBRows
* Added ApiBase::checkRowCount() which checks whether the amount of rows to be scanned is acceptable (i.e. <$wgAPIMaxDBRows). Not using this anywhere (yet?), but it's nice to have
* Killed a filesort in the usercontribs query, query is now indexed nicely
* Dropped the minimum length for ucuserprefix since it's no longer needed (query optimized)
* Removed drnamespace from list=deletedrevs (filesorts 8M rows for drnamespace=0)
* Support multiple orderings in ApiBase::addWhereRange()
RELEASE-NOTES
includes/DefaultSettings.php
includes/api/ApiQueryBase.php
includes/api/ApiQueryDeletedrevs.php
includes/api/ApiQueryUserContributions.php