Справка MediaWiki API

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=feedwatchlist

(main | feedwatchlist)
  • Этот модуль требует прав на чтение.
  • Источник: MediaWiki
  • Лицензия: GPL-2.0+

Returns a watchlist feed.

Параметры:
feedformat

The format of the feed.

One value: rss, atom
По умолчанию: rss
hours

List pages modified within this many hours from now.

value должен быть между 1 и 72.
Тип: integer
По умолчанию: 24
linktosections

Link directly to changed sections if possible.

Тип: двоичный (details)
allrev

Include multiple revisions of the same page within given timeframe.

Тип: двоичный (details)
wlowner

Used along with token to access a different user's watchlist.

Тип: 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 |): minor, !minor, bot, !bot, anon, !anon, patrolled, !patrolled, unread, !unread
wltype

Which types of changes to show:

edit
Regular page edits.
external
External changes.
new
Page creations.
log
Log entries.
Values (separate with |): edit, external, new, log
По умолчанию: edit|new|log
wlexcludeuser

Don't list changes by this user.

Тип: user name
Примеры:
Show the watchlist feed.
api.php?action=feedwatchlist
Show all changes to watched pages in the past 6 hours.
api.php?action=feedwatchlist&allrev=&hours=6