API:RecentChanges

Get all recent changes to the wiki, à la Special:Recentchanges. This module can be used as a generator (but note that, like all other generators, it generates information about pages, not about revisions). Apparently, although many log actions can be viewed using this module, patrol actions are not among them.

Parameters

 * : The timestamp to start listing from (May not be more than $wgRCMaxAge into the past, which on Wikimedia wikis is 30 days )
 * : The timestamp to end listing at
 * : Direction to list in
 * : List newest changes first (default). Note:  has to be later than  .
 * : List oldest changes first. Note:  has to be before  .
 * : Only list changes in these namespaces
 * : Only list changes made by this user
 * : Do not list changes made by this user
 * : Only list changes tagged with this tag
 * : Only list certain types of changes
 * : Regular page edits
 * : External edits
 * : Page creations (Uploads are not listed as  but as  )
 * : Log entries
 * : Only list items that meet these criteria. Conflicting options (such as  and  ) cannot be used together
 * : Only list minor edits
 * : Don't list minor edits
 * : Only list bot edits
 * : Don't list bot edits
 * : Only list edits by anonymous users
 * : Only list edits by registered users
 * : Only list edits to pages that are currently redirects
 * : Only list edits to pages that currently aren't redirects
 * : Only list edits flagged as patrolled. Only available to users with the  right
 * : Only list edits not flagged as patrolled. Only available to users with the  right
 * : Which properties to get
 * : The user who made the change. Also returns anon="" if it was an anonymous edit.
 * : The user id who made the change.
 * : The edit/log comment
 * : The parsed comment for the edit/log comment
 * : The time and date of the change (default)
 * : The title the change was made to (default)
 * : Gets the following IDs:  (rc_cur_id);   (rc_this_oldid);   (rc_last_oldid); and   (rc_id) (used for patrolling). (default)
 * : The page size before and after  the change
 * : Whether the changed page is currently a redirect
 * : Whether the change is patrolled. Only available to users with the  right
 * : If the change was a log event, add the,   and   fields and the log parameters (since >=1.13.0)
 * : List tags for the entry
 * : A new page was created
 * : The change was a minor edit
 * : The change was a bot edit
 * : Which tokens to obtain for each change
 * : The patrol token
 * : Maximum amount of changes to list (10 by default)
 * : Only list changes which are the latest revision
 * : Only list changes which are the latest revision

Example
Possible warnings
 * Action ' action ' is not allowed for the current user
 * Thrown when a token is requested that the current user isn't allowed to use

Error Codes

 * code: rcshow
 * info: Incorrect parameter - mutually exclusive values may not be supplied
 * code: rcpermissiondenied
 * info: You need the patrol right to request the patrolled flag