Manual:$wgRCFeeds

Details
This variable is for configuring where MediaWiki will send network updates for recent changes. This is called after recent changes info have been inserted into the recentchanges table.

Usage
MediaWiki supports sending recent changes updates to any number of destinations. Therefore this variable is an array, with each entry being a descriptor of where and how to send the data.

Each descriptor is an associative array with the following keys:
 * formatter : Fully qualified class name for the class that will format the data for sending over the network. It must inherit the RCFeedFormatter interface.
 * uri : URI to send the data to (the protocol indicates what engine is used to send the data)
 * add_interwiki_prefix : True or false whether to add the interwiki prefix to the data
 * omit_bots : True or false whether to skip bot edits

As mentioned, the formatter key specifies what class will be used to format the data, and the protocol of the URI specifies how to actually send the data. See $wgStreamLoggers for how to configure the mapping of protocols to engines.

Built-in formatters and engines
A formatter needs to be specified in order for the data to be translated properly before going over the network. MediaWiki has the following built-in formatter classes:


 * JSONRCFeedFormatter : Outputs the RC information in a JSON dictionary
 * IRCColourfulRCFeedFormatter : Outputs an IRC line with color codes for broadcast to an IRC server

Additionally, the protocol in the URI specifies what engine to use. As of version 1.22, the only builtin protocol is UDP, which uses the IDPRCFeedEngine to send the data.

Example
Here are some example configurations: