Nápověda k MediaWiki API

Toto je automaticky generovaná dokumentační stránka k MediaWiki API.

Dokumentace a příklady: https://www.mediawiki.org/wiki/API

action=feedwatchlist

(main | feedwatchlist)
  • Tento modul vyžaduje oprávnění ke čtení.
  • Zdroj: MediaWiki
  • Licence: GPL-2.0+

Returns a watchlist feed.

Parametry:
feedformat

The format of the feed.

Jedna z následujících hodnot: rss, atom
Implicitní hodnota: rss
hours

List pages modified within this many hours from now.

Hodnota musí ležet mezi 1 a 72.
Typ: celé číslo
Implicitní hodnota: 24
linktosections

Link directly to changed sections if possible.

Typ: boolean (podrobnosti)
allrev

Include multiple revisions of the same page within given timeframe.

Typ: boolean (podrobnosti)
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.

Hodnoty (oddělené |): minor, !minor, bot, !bot, anon, !anon, patrolled, !patrolled, unread, !unread
wltype

Which types of changes to show:

edit
Regular page edits.
new
Page creations.
log
Log entries.
external
External changes.
categorize
Category membership changes.
Hodnoty (oddělené |): edit, new, log, external, categorize
Implicitní hodnota: edit|new|log|categorize
wlexcludeuser

Don't list changes by this user.

Type: user name
Příklady:
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]