MediaWiki API ヘルプ
ãã®ãã¼ã¸ã¯èªåçæããã MediaWiki API ã®èª¬æææ¸ãã¼ã¸ã§ãã
èª¬æææ¸ã¨ä¾: https://www.mediawiki.org/wiki/API
list=usercontribs (uc)
- ãã®ã¢ã¸ã¥ã¼ã«ã¯èªã¿åãã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- Source: MediaWiki
- License: GPL-2.0-or-later
å©ç¨è ã«ãããã¹ã¦ã®ç·¨éãåå¾ãã¾ãã
- uclimit
è¿ãæç¨¿è¨é²ã®æå¤§æ°ã
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- æ¢å®å¤: 10
- ucstart
The start timestamp to return from.
- Type: timestamp (allowed formats)
- ucend
The end timestamp to return to.
- Type: timestamp (allowed formats)
- uccontinue
When more results are available, use this to continue.
- ucuser
æç¨¿è¨é²ãåå¾ããå©ç¨è ãucuserids ã¾ã㯠ucuserprefix ã¨ã¯åæã«ä½¿ç¨ã§ãã¾ããã
- Type: list of user names
- è¤æ°ã®å¤ã¯ | ãããã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã å¤ã®æå¤§å¤ã¯ 50 (ãããã®å ´å㯠500) ã§ãã
- ucuserids
æç¨¿è¨é²ãåå¾ããå©ç¨è ã®IDãucuser ã¾ã㯠ucuserprefix ã¨ã¯åæã«ä½¿ç¨ã§ãã¾ããã
- Type: list of integers
- è¤æ°ã®å¤ã¯ | ãããã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã å¤ã®æå¤§å¤ã¯ 50 (ãããã®å ´å㯠500) ã§ãã
- ucuserprefix
ãã®å¤ã§å§ã¾ãååã®ãã¹ã¦ã®å©ç¨è ã®æç¨¿è¨é²ãåå¾ãã¾ããucuser ã¾ã㯠ucuserids ã¨ã¯åæã«ä½¿ç¨ã§ãã¾ããã
- ucdir
åæã®æ¹å:
- newer
- å¤ããã®ãå ã«è¡¨ç¤ºãã¾ããæ³¨æ: ucstart 㯠ucend 以åã§ãªããã°ãªãã¾ããã
- older
- æ°ãããã®ãå ã«è¡¨ç¤ºãã¾ã (æ¢å®)ãæ³¨æ: ucstart 㯠ucend 以éã§ãªããã°ãªãã¾ããã
- å¤ (次ã®å¤ã®ãããã1ã¤): newerãolder
- æ¢å®å¤: older
- ucnamespace
ãã®åå空éã¸ã®æç¨¿è¨é²ã®ã¿ãä¸è¦§è¡¨ç¤ºããã
- å¤ (|ãããã¯å¥ã®æååã§åºåã): 0ã1ã2ã3ã4ã5ã6ã7ã8ã9ã10ã11ã12ã13ã14ã15
- To specify all values, use *.
- ucprop
Include additional pieces of information:
- ids
- ãã¼ã¸IDã¨çIDã追å ãã¾ãã
- title
- ãã¼ã¸åã¨åå空éIDã追å ãã¾ãã
- timestamp
- ç·¨éã®ã¿ã¤ã ã¹ã¿ã³ãã追å ãã¾ãã
- comment
- ç·¨éã®ã³ã¡ã³ãã追å ãã¾ãã
- parsedcomment
- æ§æè§£æãããç·¨éã³ã¡ã³ãã追å ãã¾ãã
- size
- ç·¨éã®æ°ãããµã¤ãºã追å ãã¾ãã
- sizediff
- Adds the size delta of the edit against its parent.
- flags
- Adds flags of the edit.
- patrolled
- Tags patrolled edits.
- tags
- Lists tags for the edit.
- å¤ (|ãããã¯å¥ã®æååã§åºåã): idsãtitleãtimestampãcommentãparsedcommentãsizeãsizediffãflagsãpatrolledãtags
- æ¢å®å¤: ids|title|timestamp|comment|size|flags
- ucshow
Show only items that meet these criteria, e.g. non minor edits only: ucshow=!minor.
If ucshow=patrolled or ucshow=!patrolled is set, revisions older than $wgRCMaxAge (7776000 seconds) won't be shown.
- å¤ (|ãããã¯å¥ã®æååã§åºåã): minorã!minorãpatrolledã!patrolledãautopatrolledã!autopatrolledãtopã!topãnewã!new
- uctag
ãã®ã¿ã°ãä»ä¸ãããçã®ã¿ãä¸è¦§è¡¨ç¤ºããã
- uctoponly
- 廿¢äºå®ã§ãã
ææ°ã®çã§ãã夿´ã®ã¿ãä¸è¦§è¡¨ç¤ºããã
- Type: boolean (details)
- å©ç¨è Example ã®æç¨¿è¨é²ã表示ããã
- api.php?action=query&list=usercontribs&ucuser=Example [ãµã³ãããã¯ã¹ã§éã]
- 192.0.2. ããå§ã¾ããã¹ã¦ã®IPã¢ãã¬ã¹ããã®æç¨¿è¨é²ã表示ããã
- api.php?action=query&list=usercontribs&ucuserprefix=192.0.2. [ãµã³ãããã¯ã¹ã§éã]