MediaWiki API ヘルプ
ãã®ãã¼ã¸ã¯èªåçæããã MediaWiki API ã®èª¬æææ¸ãã¼ã¸ã§ãã
èª¬æææ¸ã¨ä¾: https://www.mediawiki.org/wiki/API
action=tag
- ãã®ã¢ã¸ã¥ã¼ã«ã¯èªã¿åãã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- ãã®ã¢ã¸ã¥ã¼ã«ã¯æ¸ãè¾¼ã¿ã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- ãã®ã¢ã¸ã¥ã¼ã«ã¯ POST ãªã¯ã¨ã¹ãã®ã¿ãåãä»ãã¾ãã
- Source: MediaWiki
- License: GPL-2.0-or-later
åã ã®çã¾ãã¯è¨é²é ç®ã«å¯¾ãã¿ã°ã®è¿½å ã¾ãã¯åé¤ãè¡ãã¾ãã
- rcid
One or more recent changes IDs from which to add or remove the tag.
- Type: list of integers
- è¤æ°ã®å¤ã¯ | ãããã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã å¤ã®æå¤§å¤ã¯ 50 (ãããã®å ´å㯠500) ã§ãã
- revid
One or more revision IDs from which to add or remove the tag.
- Type: list of integers
- è¤æ°ã®å¤ã¯ | ãããã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã å¤ã®æå¤§å¤ã¯ 50 (ãããã®å ´å㯠500) ã§ãã
- logid
One or more log entry IDs from which to add or remove the tag.
- Type: list of integers
- è¤æ°ã®å¤ã¯ | ãããã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã å¤ã®æå¤§å¤ã¯ 50 (ãããã®å ´å㯠500) ã§ãã
- add
追å ããã¿ã°ãæåã§å®ç¾©ãããã¿ã°ã®ã¿è¿½å å¯è½ã§ãã
- å¤ (|ãããã¯å¥ã®æååã§åºåã):
- remove
Tags to remove. Only tags that are either manually defined or completely undefined can be removed.
- è¤æ°ã®å¤ã¯ | ãããã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã å¤ã®æå¤§å¤ã¯ 50 (ãããã®å ´å㯠500) ã§ãã
- reason
夿´ã®çç±ã
- æ¢å®å¤: (空)
- tags
Tags to apply to the log entry that will be created as a result of this action.
- å¤ (|ãããã¯å¥ã®æååã§åºåã):
- token
action=query&meta=tokens ããåå¾ãããcsrfããã¼ã¯ã³
- ãã®ãã©ã¡ã¼ã¿ã¼ã¯å¿ é ã§ãã
- çID 123ã« vandalism ã¿ã°ãçç±ãæå®ããã«è¿½å ãã
- api.php?action=tag&revid=123&add=vandalism&token=123ABC [ãµã³ãããã¯ã¹ã§éã]
- Wrongly applied ã¨ããçç±ã§ spam ã¿ã°ã è¨é²é ç®ID 123 ããåãé¤ã
- api.php?action=tag&logid=123&remove=spam&reason=Wrongly+applied&token=123ABC [ãµã³ãããã¯ã¹ã§éã]