Index: trunk/extensions/MetricsReporting/ApiAnalyticsBase.php |
— | — | @@ -21,6 +21,7 @@ |
22 | 22 | 'user' => $wgMetricsDBuser, |
23 | 23 | 'password' => $wgMetricsDBpassword, |
24 | 24 | 'dbname' => $wgMetricsDBname, |
| 25 | + 'tablePrefix' => '', |
25 | 26 | ) |
26 | 27 | ); |
27 | 28 | } |
Index: trunk/extensions/MetricsReporting/MetricsReporting.php |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | $wgMetricsDBname = ''; |
21 | 21 | $wgMetricsDBuser = ''; |
22 | 22 | $wgMetricsDBpassword = ''; |
23 | | -//$wgMetricsDBtype = 'mysql'; |
| 23 | +$wgMetricsDBtype = 'mysql'; |
24 | 24 | |
25 | 25 | $dir = dirname( __FILE__ ) . '/'; |
26 | 26 | |
Index: trunk/extensions/MetricsReporting/ApiAnalytics.php |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | public function getAllowedParams() { |
45 | 45 | return array( |
46 | 46 | 'metric' => array( |
47 | | - ApiBase::PARAM_ISMULTI => false, |
| 47 | + ApiBase::PARAM_ISMULTI => true, |
48 | 48 | ApiBase::PARAM_TYPE => $this->metricModuleNames, |
49 | 49 | ApiBase::PARAM_REQUIRED => true, |
50 | 50 | ), |