r87144 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87143‎ | r87144 | r87145 >
Date:22:38, 29 April 2011
Author:overlordq
Status:ok
Tags:
Comment:
Fix group by for Special:MostLinkedTemplates
Modified paths:
  • /trunk/phase3/includes/specials/SpecialMostlinkedtemplates.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialMostlinkedtemplates.php
@@ -68,7 +68,7 @@
6969 'tl_title AS title',
7070 'COUNT(*) AS value' ),
7171 'conds' => array ( 'tl_namespace' => NS_TEMPLATE ),
72 - 'options' => array( 'GROUP BY' => 'tl_title' )
 72+ 'options' => array( 'GROUP BY' => 'namespace, title' )
7373 );
7474 }
7575

Status & tagging log