summaryrefslogtreecommitdiff
path: root/includes/SpecialMostlinked.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialMostlinked.php')
-rw-r--r--includes/SpecialMostlinked.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/SpecialMostlinked.php b/includes/SpecialMostlinked.php
index ccccc1a4..1791228d 100644
--- a/includes/SpecialMostlinked.php
+++ b/includes/SpecialMostlinked.php
@@ -37,7 +37,7 @@ class MostlinkedPage extends QueryPage {
page_namespace
FROM $pagelinks
LEFT JOIN $page ON pl_namespace=page_namespace AND pl_title=page_title
- GROUP BY pl_namespace,pl_title
+ GROUP BY 1,2,3,5
HAVING COUNT(*) > 1";
}