r91601 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91600‎ | r91601 | r91602 >
Date:20:51, 6 July 2011
Author:reedy
Status:deferred
Tags:
Comment:
Add a few more title fields
Modified paths:
  • /trunk/extensions/MetricsReporting/ApiAnalyticsBase.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MetricsReporting/ApiAnalyticsBase.php
@@ -95,7 +95,7 @@
9696 // b, c, d
9797 // TODO: Cater for "top:20" etc
9898 $query['conds']['country_code'] = $parsedFilter;
99 - $titleFields[] = '';
 99+ $titleFields[] = 'country_code';
100100 break;
101101 case 'selectwebproperties':
102102 /*if ( $params['authcode'] != 'some string' ) {
@@ -109,7 +109,7 @@
110110 case 'selectprojects':
111111 // c
112112 $query['conds']['project_code'] = $parsedFilter;
113 - $titleFields[] = '';
 113+ $titleFields[] = 'project_code';
114114 break;
115115 case 'selectwikis':
116116 // c

Status & tagging log