MediaWiki API ヘルプ
ãã®ãã¼ã¸ã¯èªåçæããã MediaWiki API ã®èª¬æææ¸ãã¼ã¸ã§ãã
èª¬æææ¸ã¨ä¾: https://www.mediawiki.org/wiki/API
prop=info (in)
- ãã®ã¢ã¸ã¥ã¼ã«ã¯èªã¿åãã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- Source: MediaWiki
- License: GPL-2.0-or-later
ãã¼ã¸ã®åºæ¬çãªæ å ±ãåå¾ãã¾ãã
- inprop
追å ã§åå¾ããããããã£:
- protection
- ããããã®ãã¼ã¸ã®ä¿è·ã¬ãã«ãä¸è¦§è¡¨ç¤ºããã
- talkid
- The page ID of the talk page for each non-talk page.
- watched
- List the watched status of each page.
- watchers
- The number of watchers, if allowed.
- visitingwatchers
- The number of watchers of each page who have visited recent edits to that page, if allowed.
- notificationtimestamp
- The watchlist notification timestamp of each page.
- subjectid
- The page ID of the parent page for each talk page.
- url
- Gives a full URL, an edit URL, and the canonical URL for each page.
- readable
- Whether the user can read this page.
- preload
- Gives the text returned by EditFormPreloadText.
- displaytitle
- Gives the manner in which the page title is actually displayed.
- varianttitles
- Gives the display title in all variants of the site content language.
- å¤ (|ãããã¯å¥ã®æååã§åºåã): protectionãtalkidãwatchedãwatchersãvisitingwatchersãnotificationtimestampãsubjectidãurlãreadableãpreloadãdisplaytitleãvarianttitles
- intestactions
Test whether the current user can perform certain actions on the page.
- è¤æ°ã®å¤ã¯ | ãããã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã å¤ã®æå¤§å¤ã¯ 50 (ãããã®å ´å㯠500) ã§ãã
- intoken
- 廿¢äºå®ã§ãã
代ããã« action=query&meta=tokens ã使ç¨ãã¦ãã ããã
- å¤ (|ãããã¯å¥ã®æååã§åºåã): editãdeleteãprotectãmoveãblockãunblockãemailãimportãwatch
- incontinue
When more results are available, use this to continue.
- Main Page ã«é¢ããæ å ±ãåå¾ããã
- api.php?action=query&prop=info&titles=Main%20Page [ãµã³ãããã¯ã¹ã§éã]
- Get general and protection information about the page Main Page.
- api.php?action=query&prop=info&inprop=protection&titles=Main%20Page [ãµã³ãããã¯ã¹ã§éã]
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 [ãµã³ãããã¯ã¹ã§éã]