Помощ за МедияУики API
Това е автоматично генерирана страница за документация на МедияУики API.
Документация и примери: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=feedwatchlist
(main | feedwatchlist)
- This module requires read rights.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returns a watchlist feed.
Parameters:
- feedformat
The format of the feed.
- Една от следните стойности: atom, rss
- Default: rss
- hours
List pages modified within this many hours from now.
- Type: integer
- The value must be between 1 and 72.
- Default: 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, by потребителско име
- 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.
- Стойности (разделени с | или алтернативния разделител): !anon, !autopatrolled, !bot, !minor, !patrolled, !unread, anon, autopatrolled, bot, minor, patrolled, unread
- wltype
Which types of changes to show:
- edit
- Regular page edits.
- new
- Page creations.
- log
- Записи в дневника.
- external
- External changes.
- categorize
- Category membership changes.
- Стойности (разделени с | или алтернативния разделител): categorize, edit, external, log, new
- Default: edit|new|log|categorize
- wlexcludeuser
Don't list changes by this user.
- Type: user, by any of потребителско име, IP, име на междууикито (напр. „представка>ПримерноИме“) и Идентификатор на потребителя (напр. „#12345“)
Примери:
- 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]