API:Watchlist feed

Aus MediaWiki
Zur Navigation springen Zur Suche springen

Sprachen:
English • ‎dansk • ‎русский • ‎中文 • ‎日本語 • ‎한국어

Returns a watchlist feed.

Parameters[Bearbeiten]

  • feedformat: The format of the feed. Possible values: rss or atom (Default: rss)
  • hours: List pages modified within this many hours from now. Possible values: an integer between 1 and 72 (Default: 24) 1.11+
  • linktosections: Link to changed sections instead of whole article pages – if possible
  • allrev: Include multiple revisions of the same page within given timeframe. 1.12+
  • wlowner: Used along with token to access a different user's watchlist. 1.16+
  • wltoken: Security token that requested user set in their preferences. 1.16+
  • wlexcludeuser: Do not list changes made by this given user. 1.19+
  • wltype: Only list certain types of changes. (Default: edit|new|log|categorize) 1.22+
    • edit: Regular page edits.
    • external: External edits.
    • new: Page creations.
    • log: Log entries.
    • categorize: Changes in categorization arising from conditional parser functions. 1.27+
  • wlshow: Only list revisions that meet these criteria. Conflicting options (such as minor and !minor) cannot be used together. Use names below separated by a pipe
    • minor: Only list minor edits.
    • !minor: Don't list minor edits.
    • bot: Only list bot edits.
    • !bot: Don't list bot edits.
    • anon: Only list edits by anonymous users.
    • !anon: Only list edits by registered users.
    • patrolled: Only list patrolled pages.
    • !patrolled: Don't list patrolled pages.
    • unread: Only list unread pages. 1.25+
    • !unread: Don't list unread pages. 1.25+
  • linktodiffs: Link to change differences instead of article pages. From version 1.24 forward, difference links will always be emitted if available. 1.17-1.24 (removed in 1.24)

Examples[Bearbeiten]

Get the current user's Special:Watchlist as a feed.





action=feedwatchlist

(main | feedwatchlist)

Gibt einen Beobachtungslisten-Feed zurück.

Parameter:
feedformat

Das Format des Feeds.

Einer der folgenden Werte: rss, atom
Standard: rss
hours

Seiten auflisten, die innerhalb dieser Anzahl Stunden ab jetzt geändert wurden.

Der Wert muss zwischen 1 und 72 sein.
Typ: Ganzzahl
Standard: 24
linktosections

Verlinke direkt zum veränderten Abschnitt, wenn möglich.

Typ: boolesch (Einzelheiten)
allrev

Include multiple revisions of the same page within given timeframe.

Typ: boolesch (Einzelheiten)
wlowner

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

Typ: Benutzername
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.

Werte (mit | trennen oder Alternative): minor, !minor, bot, !bot, anon, !anon, patrolled, !patrolled, autopatrolled, !autopatrolled, unread, !unread
wltype

Which types of changes to show:

edit
Normale Seitenbearbeitungen.
new
Seitenerstellungen.
log
Logbucheinträge.
external
Externe Änderungen.
categorize
Änderungen an der Kategoriemitgliedschaft.
Werte (mit | trennen oder Alternative): edit, new, log, external, categorize
Standard: edit|new|log|categorize
wlexcludeuser

Listet keine Änderungen von diesem Benutzer auf.

Typ: Benutzername
Beispiele:
Den Beobachtungslisten-Feed anzeigen
api.php?action=feedwatchlist [in Spielwiese öffnen]
Zeige alle Änderungen an beobachteten Seiten der letzten 6 Stunden.
api.php?action=feedwatchlist&allrev=&hours=6 [in Spielwiese öffnen]