r41693 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41692‎ | r41693 | r41694 >
Date:09:35, 5 October 2008
Author:catrope
Status:old
Tags:
Comment:
(bug 15767) API: apfilterlanglinks returns duplicate results
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryAllpages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryAllpages.php
@@ -106,6 +106,7 @@
107107 } else if($params['filterlanglinks'] == 'withlanglinks') {
108108 $this->addTables('langlinks');
109109 $this->addWhere('page_id=ll_from');
 110+ $this->addOption('DISTINCT');
110111 $forceNameTitleIndex = false;
111112 }
112113 if ($forceNameTitleIndex)
Index: trunk/phase3/RELEASE-NOTES
@@ -302,6 +302,7 @@
303303 * (bug 15785) Allow for different expiry times for different protections in
304304 action=protect
305305 * Added allowsduplicates attribute to action=paraminfo output
 306+* (bug 15767) apfilterlanglinks returns duplicate results
306307
307308 === Languages updated in 1.14 ===
308309

Status & tagging log