API:
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 8 May 2008 12:33:20 +0000 (12:33 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 8 May 2008 12:33:20 +0000 (12:33 +0000)
commitb7d460aaeb8e997473a3b0ac0cd42e550104a02c
tree0a025c4c727076ebe129c7c1f29e7cd329c305e8
parent57607dbd2350a46523b0f60a83fecd8376c0d343
API:
* Added ApiQueryBase::addJoin() which provides a cleaner interface to construct JOIN queries. Behind the scenes this still uses the old, ugly way, but it'll be easy to rewrite when/if the Database class gets its own function for JOINs
* Used addJoin() in query modules where necessary
* Removed FORCE INDEX (rc_timestamp) from ApiQueryRecentchanges: it's nigh impossible to integrate with addJoin() and it doesn't seem to be necessary anyway (my MySQL instance automatically chooses rc_timestamp)
includes/api/ApiQueryAllUsers.php
includes/api/ApiQueryAllpages.php
includes/api/ApiQueryBacklinks.php
includes/api/ApiQueryBase.php
includes/api/ApiQueryLogEvents.php
includes/api/ApiQueryRecentChanges.php
includes/api/ApiQueryUserContributions.php
includes/api/ApiQueryUsers.php