Manual:$wgRCEngines
Appearance
This feature was removed completely in version 1.46.0. |
| Perubahan terkini, halaman baru, daftar pantauan dan sejarah: $wgRCEngines | |
|---|---|
| Legacy mapping from URI schemes to RCFeed subclasses. |
|
| Diperkenalkan pada versi: | 1.22.0 (Gerrit change 81128; git #ffc71cb6) |
| Tidak digunakan pada versi: | 1.38.0 (Gerrit change 590684; git #f8ecea1e) |
| Dihapus pada versi: | 1.46.0 (Gerrit change 1251549; git #75deb0a0) |
| Nilai yang diizinkan: | Tidak ditentukan |
| Nilai tetapan: | (Lihat di bawah) |
| Pengaturan lainnya: Menurut alfabet | Menurut fungsi | |
Detail
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.
Nilai default
| Versi MediaWiki: | 1.31 – 1.46 |
$wgRCEngines = [
'redis' => RedisPubSubFeedEngine::class,
'udp' => UDPRCFeedEngine::class,
];
| Versi MediaWiki: | 1.22 – 1.30 |
$wgRCEngines = [
'redis' => 'RedisPubSubFeedEngine',
'udp' => 'UDPRCFeedEngine',
];
Penggunaan
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.