මාධ්යවිකි API උදවු
මෙය ස්වයං-ජනිත මාධ්යවිකි API ප්රලේඛන පිටුවකි.
ප්රලේඛනය සහ උදාහරණ: https://www.mediawiki.org/wiki/API
action=feedwatchlist
(main | feedwatchlist)
- මෙම ඒකකය සදහා හිමිකම් කියවීම අවශ්ය වේ.
- Source: MediaWiki
- License: GPL-2.0+
Returns a watchlist feed.
පරාමිතීන්:
- feedformat
The format of the feed.
- එක් වටිනාකමක්: rss, atom
- Default: rss
- hours
List pages modified within this many hours from now.
- අගය 1 සහ 72 අතර පැවතිය යුතුය.
- Type: integer
- 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 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.
- වටිනාකම් ("|" සමග වෙන් කරන්න): 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.
- වටිනාකම් ("|" සමග වෙන් කරන්න): edit, new, log, external, categorize
- Default: edit|new|log|categorize
- wlexcludeuser
Don't list changes by this user.
- Type: user name
උදාහරණ:
- 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]