Manual:$wgRCEngines/de-formal
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate>
This deprecated feature should no longer be used, but is still available for reasons of backwards compatibility. This feature was deprecated in version <tvar name=ver>1.38.0</tvar>.</translate> |
<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) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
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
<translate> ≥</translate> 1.31
<translate> MediaWiki version:</translate> |
$wgRCEngines = [
'redis' => RedisPubSubFeedEngine::class,
'udp' => UDPRCFeedEngine::class,
];
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
Categories:
- MediaWiki configuration settings/de-formal
- MediaWiki configuration settings introduced in version 1.22.0/de-formal
- MediaWiki configuration settings deprecated in version 1.38.0/de-formal
- MediaWiki configuration settings still in use/de-formal
- Pages with broken file links
- MediaWiki deprecated or obsolete features/de-formal
- Recent changes variables/de-formal