Fix GROUP BY clause in Special:MostLinkedTemplates
authorAntoine Musso <hashar@users.mediawiki.org>
Tue, 1 Nov 2011 13:14:59 +0000 (13:14 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Tue, 1 Nov 2011 13:14:59 +0000 (13:14 +0000)
commit2f233ed1c617cfdf300f13d8472ff762b4813cee
treeed922f474a68c2bfe19bf1f7ecaf7ac4d8427af9
parent607c4dfe422ce65912e287dc0768c582961b7d2a
Fix GROUP BY clause in Special:MostLinkedTemplates

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
RELEASE-NOTES-1.18
includes/specials/SpecialMostlinkedtemplates.php