From 8ae5b6fc374c9c7d6df1aaab58c9850c9aa50d0b Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Tue, 29 Aug 2006 16:51:11 +0000 Subject: [PATCH] * Ordered the query results by disambiguation page title --- includes/SpecialDisambiguations.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/SpecialDisambiguations.php b/includes/SpecialDisambiguations.php index f6067820a4..0355c85b72 100644 --- a/includes/SpecialDisambiguations.php +++ b/includes/SpecialDisambiguations.php @@ -78,7 +78,8 @@ class DisambiguationsPage extends PageQueryPage { .' AND pa.page_namespace = ' . NS_MAIN # Limit to just articles in the main namespace .' AND pb.page_id = lb.tl_from' .' AND pb.page_namespace = la.pl_namespace' - .' AND pb.page_title = la.pl_title'; + .' AND pb.page_title = la.pl_title' + .' ORDER BY lb.tl_namespace, lb.tl_title'; return $sql; } -- 2.20.1