Manual:$wgRCEngines/de-formal

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<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>(see below)

Details

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.

This variable was introduced as $wgStreamLoggers and was renamed to $wgRCEngines in MediaWiki 1.22 alpha.

Default value

<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',
];

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