Manual:$wgRCEngines/zh

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgRCEngines and the translation is 15% complete.
Other languages:
English • ‎español • ‎magyar • ‎polski • ‎中文 • ‎日本語
UDP更新: $wgRCEngines
Configuration for RC feed protocol engines
引进版本:1.22.0
移除版本:仍在使用
允许的值:未指定
默认值:(参见下方)

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.

变量$wgStreamLoggers被引入并在MediaWiki 1.22 alpha中被更名为$wgRCEngines

Default value

MediaWiki版本:
1.31
$wgRCEngines = [
	'redis' => RedisPubSubFeedEngine::class,
	'udp' => UDPRCFeedEngine::class,
];
MediaWiki版本:
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.

See also