In 2017 (MW 1.27, 39a6e3dc4d) support was added to register an RCFeed backend directly using a class option.
For this task:
- Complety any unfinished parts of that migration.
- Updating relevant documentation in code and on mediawiki.org to encourage this method.
- Reduce the footprint of the old mechanism as much as possible, keeping only config-compat but nothing significant at run-time.
Configuration example
$wgRCEngines['eg-engine'] = ExampleRCFeed::class; $wgRCFeeds['eg-feed'] = [ 'uri' => 'eg-engine://bogus', … ];
$wgRCFeeds['eg-feed'] = [ 'class' => ExampleRCFeed::class, … ];