Manual:$wgRCEngines/ja

From Linux Web Expert

<translate> Recent changes, new pages, watchlist and history</translate>: $wgRCEngines
Legacy mapping from URI schemes to RCFeed subclasses.
<translate> Introduced in version:</translate>1.22.0 (Gerrit change 81128; git #ffc71cb6)
<translate> Deprecated in version:</translate>1.38.0 (Gerrit change 590684; git #f8ecea1e)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate><translate> Unspecified</translate>
<translate> Default value:</translate>(下記参照)

詳細

Legacy mapping from URI schemes to RCFeed subclasses.

Used for $wgRCFeeds (in RecentChange::factory) to determine which class to use if 'class' is not set, but 'uri' is.

この変数は、MediaWiki 1.22 alpha で、$wgStreamLoggers として導入され $wgRCEngines に名称変更されました。

既定値

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.31
<translate> MediaWiki version:</translate>
$wgRCEngines = [
	'redis' => RedisPubSubFeedEngine::class,
	'udp' => UDPRCFeedEngine::class,
];
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.30</tvar> is unsupported version</translate>">
1.22 – 1.30
<translate> MediaWiki versions:</translate>
$wgRCEngines = [
	'redis' => 'RedisPubSubFeedEngine',
	'udp' => 'UDPRCFeedEngine',
];

使用法

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.

関連項目