MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=feedwatchlist
(main | feedwatchlist)
- This module requires read rights.
- Font : MediaWiki
- Licéncia : GPL-2.0-or-later
Returns a watchlist feed.
Paramètres :
- feedformat
The format of the feed.
- One of the following values: rss, atom
- Per defaut : rss
- hours
List pages modified within this many hours from now.
- The value must be between 1 and 72.
- Type: integer
- Per defaut : 24
- linktosections
Link directly to changed sections if possible.
- Type: boolean (details)
- allrev
Include multiple revisions of the same page within given timeframe.
- Type: boolean (details)
- wlowner
Used along with token to access a different user's watchlist.
- Type: user name
- wltoken
A security token (available in the user's preferences) to allow access to another user's watchlist.
- wlshow
Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set show=minor|!anon.
- Values (separate with | or alternative): minor, !minor, bot, !bot, anon, !anon, patrolled, !patrolled, autopatrolled, !autopatrolled, unread, !unread
- wltype
Which types of changes to show:
- edit
- Regular page edits.
- new
- Creacions de pagina
- log
- Log entries.
- external
- Cambiaments extèrnes
- categorize
- Category membership changes.
- Values (separate with | or alternative): edit, new, log, external, categorize
- Per defaut : edit|new|log|categorize
- wlexcludeuser
Don't list changes by this user.
- Type: user name
Examples:
- Show the watchlist feed.
- api.php?action=feedwatchlist [open in sandbox]
- Show all changes to watched pages in the past 6 hours.
- api.php?action=feedwatchlist&allrev=&hours=6 [open in sandbox]