API:Watchlist feed
From MediaWiki.org
![]() |
This page is part of the MediaWiki API documentation. |
Language: | English |
---|
Quick overview:
- Quick start guide
- FAQ
- Tutorial
- Formats
- Error reporting
- Restricting usage
- Authentication
- Queries
- Search suggestions
- Expanding templates and rendering
- Purging pages' caches
- Parameter information
- Changing wiki content
- Watchlist feed
- Extensions
- Using the API in MediaWiki and extensions
- Miscellaneous
- Implementation
- Client code
MediaWiki version: | 1.9 |
This module is to present either the current users, or else, with the correct token any other users on the wiki, Watchlist in an RSS or Atom format.
Parameters
feedformat
: The format of the feed to return. Either rss (default) or atomhours
: List pages modified within this many hours from now. The value must be between 1 and 72. Default is 24allrev
: Include multiple revisions of the same page within given timeframewlowner
: The user whose watchlist you want (must be accompanied by token if it's not you)wltoken
: Security token that requested user set in their preferenceslinktodiffs
: Link to change differences instead of article pages
Examples
Get the current users Special:Watchlist as a feed.
Result |
---|
The following content has been placed in a collapsed box for improved usability. |
<?xml version="1.0"?> <?xml-stylesheet type="text/css" href="http://bits.wikimedia.org/skins-1.5/common/feed.css?283-19"?> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> <channel> <title>MediaWiki - My watchlist [en]</title> <link>http://www.mediawiki.org/wiki/Special:Watchlist</link> <description>My watchlist</description> <language>en</language> <generator>MediaWiki 1.16wmf4</generator> <lastBuildDate>Mon, 10 Jan 2011 23:58:22 GMT</lastBuildDate> </channel> </rss> |
The above content has been placed in a collapsed box for improved usability. |