API:Watchlist/FIXME
From MediaWiki.org
Prefix: wl Required Rights: None POST Only? No
Get all recent changes to pages in the logged in user's watchlist
[edit] Parameters
- allrev – Include multiple revisions of the same page within given timeframe. Type: bool
- dir – In which direction to enumerate pages.
- Type: one of newer, older
- end – The timestamp to end enumerating. Type: timestamp
- excludeuser – Don't list changes by this user. Type: user
- limit – How many total results to return per request. Type: limit
- namespace – Filter changes to only the given namespace(s). Type: namespace
- owner – The name of the user whose watchlist you'd like to access. Type: user
- prop – Which additional items to get (non-generator mode only). ids - Adds revision ids and page ids title - Adds title of the page flags - Adds flags for the edit user - Adds the user who made the edit userid - Adds user id of whom made the edit comment - Adds comment of the edit parsedcomment - Adds parsed comment of the edit timestamp - Adds timestamp of the edit patrol - Tags edits that are patrolled size - Adds the old and new lengths of the page notificationtimestamp - Adds timestamp of when the user was last notified about the edit.
- Type: one of ids, title, flags, user, userid, comment, parsedcomment, timestamp, patrol, sizes, notificationtimestamp
- show – Show only items that meet this criteria. For example, to see only minor edits done by logged-in users, set wlshow=minor|!anon.
- Type: one of minor, !minor, bot, !bot, anon, !anon, patrolled, !patrolled
- start – The timestamp to start enumerating from. Type: timestamp
- token – Give a security token (settable in preferences) to allow access to another user's watchlist. Type: string
- user – Only list changes by this user. Type: user
[edit] Errors Codes
- bad_wlowner – Specified user does not exist.
- bad_wltoken – Incorrect watchlist token provided -- please set a correct token in Special:Preferences.
- invalidtitle – Bad title ``title''.
- invalidtitle – Bad title ``key''.
- notloggedin – You must be logged-in to have a watchlist.
- patrol – patrol property is not available.
- permissiondenied – You need the patrol right to request the patrolled flag.
- readapidenied – You need read permission to use this module.
- show – Incorrect parameter - mutually exclusive values may not be supplied.
- user-excludeuser – user and excludeuser cannot be used together.