API: Partial fix of bug 16076: use pl_from instead of page_id in list=backlinks query...
authorRoan Kattouw <catrope@users.mediawiki.org>
Fri, 24 Oct 2008 18:54:02 +0000 (18:54 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Fri, 24 Oct 2008 18:54:02 +0000 (18:54 +0000)
commit31cf2fef2deb4c19f3b6b59c6b5e68f93c8c658e
tree32c3f859f75cf0fc26980ee15ef8084327d051b0
parent640ad160f8d05a41355eff9c6329e00d0b4a4b6b
API: Partial fix of bug 16076: use pl_from instead of page_id in list=backlinks query. The two are equal because of the JOIN clause, but pl_from is indexed whereas page_id isn't (MySQL 5 automatically rewrites this, 4 doesn't)
includes/api/ApiQueryBacklinks.php