MediaWiki API ヘルプ
ãã®ãã¼ã¸ã¯èªåçæããã MediaWiki API ã®èª¬æææ¸ãã¼ã¸ã§ãã
èª¬æææ¸ã¨ä¾: https://www.mediawiki.org/wiki/API
list=categorymembers (cm)
- ãã®ã¢ã¸ã¥ã¼ã«ã¯èªã¿åãã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- ãã®ã¢ã¸ã¥ã¼ã«ã¯ã¸ã§ãã¬ã¼ã¿ã¼ã¨ãã¦ä½¿ç¨ã§ãã¾ãã
- Source: MediaWiki
- License: GPL-2.0-or-later
ä¸ããããã«ãã´ãªå ã®ãã¹ã¦ã®ãã¼ã¸ãä¸è¦§è¡¨ç¤ºãã¾ãã
- cmtitle
ä¸è¦§è¡¨ç¤ºããã«ãã´ãª (å¿ é )ãã«ãã´ãª: æ¥é è¾ãå«ã¾ãªããã°ãªãã¾ãããcmpageid ã¨ã¯åæã«ä½¿ç¨ã§ãã¾ããã
- cmpageid
ä¸è¦§è¡¨ç¤ºããã«ãã´ãªã®ãã¼ã¸ID. cmtitle ã¨ã¯åæã«ä½¿ç¨ã§ãã¾ããã
- Type: integer
- cmprop
ã©ã®æ å ±ãçµæã«å«ããã:
- ids
- ãã¼ã¸IDã追å ãã¾ãã
- title
- ãã¼ã¸åã¨åå空éIDã追å ãã¾ãã
- sortkey
- ã«ãã´ãªã§ã®ã½ã¼ãã«ä½¿ç¨ããã½ã¼ããã¼ã追å ãã¾ãï¼16鲿°æååï¼ã
- sortkeyprefix
- Adds the sortkey prefix used for sorting in the category (human-readable part of the sortkey).
- type
- Adds the type that the page has been categorised as (page, subcat or file).
- timestamp
- ãã¼ã¸ãå«ã¾ãã¦ããã¨ãã®ã¿ã¤ã ã¹ã¿ã³ãã追å ãã¾ãã
- å¤ (|ãããã¯å¥ã®æååã§åºåã): idsãtitleãsortkeyãsortkeyprefixãtypeãtimestamp
- æ¢å®å¤: ids|title
- cmnamespace
Only include pages in these namespaces. Note that cmtype=subcat or cmtype=file may be used instead of cmnamespace=14 or 6.
- å¤ (|ãããã¯å¥ã®æååã§åºåã): 0ã1ã2ã3ã4ã5ã6ã7ã8ã9ã10ã11ã12ã13ã14ã15
- To specify all values, use *.
- cmtype
Which type of category members to include. Ignored when cmsort=timestamp is set.
- å¤ (|ãããã¯å¥ã®æååã§åºåã): pageãsubcatãfile
- æ¢å®å¤: page|subcat|file
- cmcontinue
When more results are available, use this to continue.
- cmlimit
è¿ããã¼ã¸ã®æå¤§æ°ã
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- æ¢å®å¤: 10
- cmsort
ä¸¦ã¹æ¿ãã«ä½¿ç¨ããããããã£ã
- å¤ (次ã®å¤ã®ãããã1ã¤): sortkeyãtimestamp
- æ¢å®å¤: sortkey
- cmdir
In which direction to sort.
- å¤ (次ã®å¤ã®ãããã1ã¤): ascãdescãascendingãdescendingãnewerãolder
- æ¢å®å¤: ascending
- cmstart
åæã®å§ç¹ã¨ãªãã¿ã¤ã ã¹ã¿ã³ããcmsort=timestampãæå®ããå ´åã®ã¿ä½¿ç¨ã§ãã¾ãã
- Type: timestamp (allowed formats)
- cmend
åæã®çµç¹ã¨ãªãã¿ã¤ã ã¹ã¿ã³ããcmsort=timestampãæå®ããå ´åã®ã¿ä½¿ç¨ã§ãã¾ãã
- Type: timestamp (allowed formats)
- cmstarthexsortkey
Sortkey to start listing from, as returned by cmprop=sortkey. Can only be used with cmsort=sortkey.
- cmendhexsortkey
Sortkey to end listing at, as returned by cmprop=sortkey. Can only be used with cmsort=sortkey.
- cmstartsortkeyprefix
åæã®å§ç¹ã¨ãªãã½ã¼ããã¼ã®æ¥é è¾ãcmsort=sortkeyãæå®ããå ´åã®ã¿ä½¿ç¨ã§ãã¾ããcmstarthexsortkeyããªã¼ãã¼ã©ã¤ããã¾ãã
- cmendsortkeyprefix
Sortkey prefix to end listing before (not at; if this value occurs it will not be included!). Can only be used with cmsort=sortkey. Overrides cmendhexsortkey.
- cmstartsortkey
- 廿¢äºå®ã§ãã
代ããã« cmstarthexsortkey ã使ç¨ãã¦ãã ããã
- cmendsortkey
- 廿¢äºå®ã§ãã
代ããã« cmendhexsortkey ã使ç¨ãã¦ãã ããã
- Category:Physics ã«å«ã¾ããæåã®10ãã¼ã¸ãåå¾ããã
- api.php?action=query&list=categorymembers&cmtitle=Category:Physics [ãµã³ãããã¯ã¹ã§éã]
- Category:Physics ã«å«ã¾ããæåã®10ãã¼ã¸ã®ãã¼ã¸æ å ±ãåå¾ããã
- api.php?action=query&generator=categorymembers&gcmtitle=Category:Physics&prop=info [ãµã³ãããã¯ã¹ã§éã]