MediaWiki API ヘルプ
ãã®ãã¼ã¸ã¯èªåçæããã MediaWiki API ã®èª¬æææ¸ãã¼ã¸ã§ãã
èª¬æææ¸ã¨ä¾: https://www.mediawiki.org/wiki/API
prop=categories (cl)
- ãã®ã¢ã¸ã¥ã¼ã«ã¯èªã¿åãã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- ãã®ã¢ã¸ã¥ã¼ã«ã¯ã¸ã§ãã¬ã¼ã¿ã¼ã¨ãã¦ä½¿ç¨ã§ãã¾ãã
- Source: MediaWiki
- License: GPL-2.0-or-later
ãã¼ã¸ãå±ãããã¹ã¦ã®ã«ãã´ãªãä¸è¦§è¡¨ç¤ºãã¾ãã
ãã©ã¡ã¼ã¿ã¼:
- clprop
åã«ãã´ãªã«ã¤ãã¦åå¾ãã追å ã®ããããã£:
- sortkey
- Adds the sortkey (hexadecimal string) and sortkey prefix (human-readable part) for the category.
- timestamp
- ã«ãã´ãªã追å ãããã¨ãã®ã¿ã¤ã ã¹ã¿ã³ãã追å ãã¾ãã
- hidden
__HIDDENCAT__ã§é ããã¦ããã«ãã´ãªã«å°ãä»ããã
- å¤ (|ãããã¯å¥ã®æååã§åºåã): sortkeyãtimestampãhidden
- clshow
ã©ã®ç¨®é¡ã®ã«ãã´ãªã表示ãããã
- å¤ (|ãããã¯å¥ã®æååã§åºåã): hiddenã!hidden
- cllimit
è¿ãã«ãã´ãªã®æ°ã
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- æ¢å®å¤: 10
- clcontinue
When more results are available, use this to continue.
- clcategories
Only list these categories. Useful for checking whether a certain page is in a certain category.
- è¤æ°ã®å¤ã¯ | ãããã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã å¤ã®æå¤§å¤ã¯ 50 (ãããã®å ´å㯠500) ã§ãã
- cldir
The direction in which to list.
- å¤ (次ã®å¤ã®ãããã1ã¤): ascendingãdescending
- æ¢å®å¤: ascending
ä¾:
- ãã¼ã¸ Albert Einstein ãå±ãã¦ããã«ãã´ãªã®ä¸è¦§ãåå¾ããã
- api.php?action=query&prop=categories&titles=Albert%20Einstein [ãµã³ãããã¯ã¹ã§éã]
- ãã¼ã¸ Albert Einstein ã§ä½¿ããã¦ãããã¹ã¦ã®ã«ãã´ãªã«é¢ããæ å ±ãåå¾ããã
- api.php?action=query&generator=categories&titles=Albert%20Einstein&prop=info [ãµã³ãããã¯ã¹ã§éã]