MediaWiki API ヘルプ
ãã®ãã¼ã¸ã¯èªåçæããã MediaWiki API ã®èª¬æææ¸ãã¼ã¸ã§ãã
èª¬æææ¸ã¨ä¾: https://www.mediawiki.org/wiki/API
list=watchlist (wl)
- ãã®ã¢ã¸ã¥ã¼ã«ã¯èªã¿åãã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- ãã®ã¢ã¸ã¥ã¼ã«ã¯ã¸ã§ãã¬ã¼ã¿ã¼ã¨ãã¦ä½¿ç¨ã§ãã¾ãã
- Source: MediaWiki
- License: GPL-2.0-or-later
ç¾å¨ã®å©ç¨è ã®ã¦ã©ãããªã¹ãã«ãããã¼ã¸ã¸ã®æè¿ã®æ´æ°ãåå¾ãã¾ãã
- wlallrev
Include multiple revisions of the same page within given timeframe.
- Type: boolean (details)
- wlstart
åæã®å§ç¹ã¨ãªãã¿ã¤ã ã¹ã¿ã³ãã
- Type: timestamp (allowed formats)
- wlend
åæã®çµç¹ã¨ãªãã¿ã¤ã ã¹ã¿ã³ãã
- Type: timestamp (allowed formats)
- wlnamespace
ãã®åå空éã®å¤æ´ã®ã¿ã«çµãè¾¼ãã
- å¤ (|ãããã¯å¥ã®æååã§åºåã): 0ã1ã2ã3ã4ã5ã6ã7ã8ã9ã10ã11ã12ã13ã14ã15
- To specify all values, use *.
- wluser
ãã®å©ç¨è ã«ãã夿´ã®ã¿ãä¸è¦§è¡¨ç¤ºããã
- Type: user name
- wlexcludeuser
ãã®å©ç¨è ã«ãã夿´ãä¸è¦§è¡¨ç¤ºããªãã
- Type: user name
- wldir
åæã®æ¹å:
- newer
- å¤ããã®ãå ã«è¡¨ç¤ºãã¾ããæ³¨æ: wlstart 㯠wlend 以åã§ãªããã°ãªãã¾ããã
- older
- æ°ãããã®ãå ã«è¡¨ç¤ºãã¾ã (æ¢å®)ãæ³¨æ: wlstart 㯠wlend 以éã§ãªããã°ãªãã¾ããã
- å¤ (次ã®å¤ã®ãããã1ã¤): newerãolder
- æ¢å®å¤: older
- wllimit
How many total results to return per request.
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- æ¢å®å¤: 10
- wlprop
追å ã§åå¾ããããããã£:
- ids
- çIDã¨ãã¼ã¸IDã追å ãã¾ãã
- title
- ãã¼ã¸åã追å ãã¾ãã
- flags
- ç·¨éã®ãã©ã°ã追å ãã¾ãã
- user
- Adds the user who made the edit.
- userid
- Adds user ID of whoever made the edit.
- comment
- ç·¨éã®ã³ã¡ã³ãã追å ãã¾ãã
- parsedcomment
- ç·¨éã®æ§æè§£æãããã³ã¡ã³ãã追å ãã¾ãã
- timestamp
- ç·¨éã®ã¿ã¤ã ã¹ã¿ã³ãã追å ãã¾ãã
- patrol
- Tags edits that are patrolled.
- sizes
- Adds the old and new lengths of the page.
- notificationtimestamp
- Adds timestamp of when the user was last notified about the edit.
- loginfo
- é©åãªå ´åã«ãã°æ å ±ã追å ãã¾ãã
- tags
- Lists tags for the entry.
- å¤ (|ãããã¯å¥ã®æååã§åºåã): idsãtitleãflagsãuserãuseridãcommentãparsedcommentãtimestampãpatrolãsizesãnotificationtimestampãloginfoãtags
- æ¢å®å¤: ids|title|flags
- wlshow
Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set wlshow=minor|!anon.
- å¤ (|ãããã¯å¥ã®æååã§åºåã): minorã!minorãbotã!botãanonã!anonãpatrolledã!patrolledãautopatrolledã!autopatrolledã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
- æ¢å®å¤: edit|new|log|categorize
- wlowner
Used along with wltoken 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.
- wlcontinue
When more results are available, use this to continue.
- ç¾å¨ã®å©ç¨è ã®ã¦ã©ãããªã¹ãã«ããæè¿å¤æ´ããããã¼ã¸ã®ææ°çãä¸è¦§è¡¨ç¤ºãã¾ãã
- api.php?action=query&list=watchlist [ãµã³ãããã¯ã¹ã§éã]
- Fetch additional information about the top revision for recently changed pages on the current user's watchlist.
- api.php?action=query&list=watchlist&wlprop=ids|title|timestamp|user|comment [ãµã³ãããã¯ã¹ã§éã]
- Fetch information about all recent changes to pages on the current user's watchlist.
- api.php?action=query&list=watchlist&wlallrev=&wlprop=ids|title|timestamp|user|comment [ãµã³ãããã¯ã¹ã§éã]
- ç¾å¨ã®å©ç¨è ã®ã¦ã©ãããªã¹ãä¸ã®æè¿æ´æ°ããããã¼ã¸ã«é¢ããæ å ±ãåå¾ããã
- api.php?action=query&generator=watchlist&prop=info [ãµã³ãããã¯ã¹ã§éã]
- Fetch revision info for recent changes to pages on the current user's watchlist.
- api.php?action=query&generator=watchlist&gwlallrev=&prop=revisions&rvprop=timestamp|user [ãµã³ãããã¯ã¹ã§éã]
- List the top revision for recently changed pages on the watchlist of user Example.
- api.php?action=query&list=watchlist&wlowner=Example&wltoken=123ABC [ãµã³ãããã¯ã¹ã§éã]