];
/**
- * @var Array Map of (grant => right => boolean)
+ * @var array Map of (grant => right => boolean)
* Users authorize consumers (like Apps) to act on their behalf but only with
* a subset of the user's normal account rights (signed off on by the user).
* The possible rights to grant to a consumer are bundled into groups called
$wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
/**
- * @var Array Map of grants to their UI grouping
+ * @var array Map of grants to their UI grouping
* @since 1.27
*/
$wgGrantPermissionGroups = [
* Rates are sampling probabilities (e.g. 0.1 means 1 in 10 events are sampled).
* @since 1.28
*/
-$wgStatsdSamplingRates = [];
+$wgStatsdSamplingRates = [
+ 'wanobjectcache:*' => 0.001
+];
/**
* InfoAction retrieves a list of transclusion links (both to and from).