Index: trunk/phase3/includes/api/ApiQueryAllpages.php |
— | — | @@ -106,6 +106,7 @@ |
107 | 107 | } else if($params['filterlanglinks'] == 'withlanglinks') { |
108 | 108 | $this->addTables('langlinks'); |
109 | 109 | $this->addWhere('page_id=ll_from'); |
| 110 | + $this->addOption('DISTINCT'); |
110 | 111 | $forceNameTitleIndex = false; |
111 | 112 | } |
112 | 113 | if ($forceNameTitleIndex) |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -302,6 +302,7 @@ |
303 | 303 | * (bug 15785) Allow for different expiry times for different protections in |
304 | 304 | action=protect |
305 | 305 | * Added allowsduplicates attribute to action=paraminfo output |
| 306 | +* (bug 15767) apfilterlanglinks returns duplicate results |
306 | 307 | |
307 | 308 | === Languages updated in 1.14 === |
308 | 309 | |