Manual:$wgRCEngines
Jump to navigation
Jump to search
UDP updates: $wgRCEngines | |
---|---|
Configuration for RC feed protocol engines |
|
Introduced in version: | 1.22.0 (Gerrit change 81128; git #ffc71cb6) |
Removed in version: | still in use |
Allowed values: | Unspecified |
Default value: | (see below) |
Other settings: Alphabetical | By function |
Details
This variable is for configuring what engine classes will be used for what protocols when sending network updates for recent changes.
See the main configuration variable, $wgRCFeeds
for how to configure where recent changes information will be sent.
This variable was introduced as $wgStreamLoggers
and was renamed to $wgRCEngines
in MediaWiki 1.22 alpha.
Default value
MediaWiki version: | ≥ 1.31 |
$wgRCEngines = [
'redis' => RedisPubSubFeedEngine::class,
'udp' => UDPRCFeedEngine::class,
];
MediaWiki versions: | 1.22 – 1.30 |
$wgRCEngines = [
'redis' => 'RedisPubSubFeedEngine',
'udp' => 'UDPRCFeedEngine',
];
Usage
This variable is an associated array mapping the URI protocol to the fully qualified class name that will handle that protocol.
This represents MediaWiki's built-in engine for sending RC updates over a UDP connection. More engines can be added by adding more keys or overriding existing ones.