Manual:$wgPoolCounterConf

From MediaWiki.org

Jump to: navigation, search
Warning - v1.16.0 has not been released yet. This feature may be modified or removed before final release.
Miscellaneous settings: $wgPoolCounterConf
Configuration for processing pool control.
Introduced in version: 1.16.0 (r52888)
Removed in version: still in use
Allowed Values: array or null
Default Value: null

Other settings: Alphabetical | By Function


[edit] Details

Configuration for processing pool control, for use in high-traffic wikis. An implementation is provided in the PoolCounter extension.

This configuration array maps pool types to an associative array. The only defined key in the associative array is "class", which gives the class name. The remaining elements are passed through to the class as constructor parameters.

[edit] Example

$wgPoolCounterConf = array(
    'Article::view' => array(
        'class' => 'PoolCounter_Client',
       /* ... any extension-specific options... */
    ),
);