Manual:RCFeed

This is the schema for the machine-readable Recent Changes feed. It's related to MediaWiki's internal RecentChanges object, with additional information about the wiki in which the change was made.

Common event

 * string ID of the recent change event (rcid).
 * string Type of recent change event (rc_type). One of "edit", "new", "log", or "external".
 * number ID of relevant namespace of affected page (rc_namespace, page_namespace). This is  ("Special") for log events.
 * string Full page name, from.
 * string (rc_comment).
 * number Unix timestamp (derived from rc_timestamp).
 * string (rc_user_text).
 * boolean (rc_bot).

Common server

 * string
 * string
 * string
 * string

Edits
For type=edit and type=new. Other types of events do not have these properties.
 * boolean (rc_minor).
 * boolean (rc_patrolled). This property only exists if patrolling is supported for this event (based on, ).
 * object
 * null | number (rc_old_len)
 * number (rc_new_len)
 * object
 * null | number (rc_last_oldid)
 * number (rc_this_oldid)

Log events
For type=log
 * (rc_log_id)
 * (rc_log_type)
 * (rc_log_action)
 * mixed Property only exist if event has rc_params.

Example
{	"comment": "sorting image request", "wiki": "enwiki", "server_name": "en.wikipedia.org", "title": "Talk:Kalette", "timestamp": 1425392294, "server_script_path": "/w", "namespace": 1, "server_url": "http://en.wikipedia.org", "length": { "new": 219, "old": 186 },	"user": "Mr. Granger", "bot": false, "type": "edit", "id": 718374724, "minor": false, "revision": { "new": 649690049, "old": 649645633 } } {	"comment": "Bot: Removing redundant category (Uploaded with GWToolset)", "wiki": "commonswiki", "server_name": "commons.wikimedia.org", "title": "File:Interior of wheelhouse looking aft; pipes on aft wall were for heating. - Ferry TICONDEROGA, Route 7, Shelburne, Chittenden County, VT HAER VT,4-SHEL,1-66.tif", "timestamp": 1425392723, "server_script_path": "/w", "namespace": 6, "server_url": "http://commons.wikimedia.org", "length": { "new": 7278, "old": 7314 },	"user": "SteinsplitterBot", "bot": true, "patrolled": true, "type": "edit", "id": 156219030, "minor": true, "revision": { "new": 151956073, "old": 130736146 } } {	"comment": "Új oldal, tartalma: „ #író”", "wiki": "huwiktionary", "server_name": "hu.wiktionary.org", "title": "rakstnieks", "timestamp": 1425393635, "server_script_path": "/w", "namespace": 0, "server_url": "http://hu.wiktionary.org", "length": { "new": 19, "old": null },	"user": "Karesz52", "bot": false, "patrolled": false, "type": "new", "id": 1790735, "minor": false, "revision": { "new": 1782943, "old": null } }