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. This module is implemented by ApiQueryRecentChanges.php.

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)
 * : for entries associated with a revision
 * : The page size before and after  the change
 * : Whether the changed page is currently a redirect. When returned, the value is an empty string; not the redirect destination.
 * : Whether the change is patrolled. Only available to users with the  right. When returned, the value is an empty string.
 * : If the change was a log event, add the,   and   fields and the log parameters
 * : 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
 * : When more results are available, use this to continue
 * : Restrict results to these page titles
 * : Restrict results to these page titles

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

Output
The "" that is returned can be 'edit', 'new', 'move', 'log', 'external', or 'move over redirect'.