This only cause a trouble for Microsoft SQL which require the column to be
referenced by their input name, not the output one (AS alias). Might trigger
on Oracle database.
This is part of bug 31913: 'GROUP BY clauses incorrect in SQL generated
for special pages'
Need backport in REL1_18
* (bug 30817) Restored linktrail for kk (Kazakh)
* (bug 27398) Add $wgExtraGenderNamespaces for configured gendered namespaces
* (bug 30846) New LanguageOs class
+* (bug 31913) Special:MostLinkedTemplates had an incorrect GROUP BY clause
+ under Microsoft SQL.
=== Other changes in 1.18 ===
* Removed legacy wgAjaxWatch javascript global object, no longer in use.
'tl_title AS title',
'COUNT(*) AS value' ),
'conds' => array ( 'tl_namespace' => NS_TEMPLATE ),
- 'options' => array( 'GROUP BY' => 'namespace, title' )
+ 'options' => array( 'GROUP BY' => 'tl_namespace, tl_title' )
);
}