Manual:$wgPoolCounterConf

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎中文
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

Details[edit]

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

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.

Example[edit]

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