MediaWiki API ヘルプ
ãã®ãã¼ã¸ã¯èªåçæããã MediaWiki API ã®èª¬æææ¸ãã¼ã¸ã§ãã
èª¬æææ¸ã¨ä¾: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=info (in)
- ãã®ã¢ã¸ã¥ã¼ã«ã¯èªã¿åãã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- ã½ã¼ã¹: MediaWiki
- ã©ã¤ã»ã³ã¹: GPL-2.0-or-later
ãã¼ã¸ã®åºæ¬çãªæ å ±ãåå¾ãã¾ãã
ãã©ã¡ã¼ã¿ã¼:
- inprop
追å ã§åå¾ããããããã£:
- protection
- ããããã®ãã¼ã¸ã®ä¿è·ã¬ãã«ãä¸è¦§è¡¨ç¤ºããã
- talkid
- ãã¼ã¯ãã¼ã¸ã§ãªãåãã¼ã¸ã«ã¤ãã¦ããã®ãã¼ã¯ãã¼ã¸ã®ãã¼ã¸IDã
- watched
- åãã¼ã¸ã®ã¦ã©ããããã¦ããç¶æ ãä¸è¦§è¡¨ç¤ºãã¾ãã
- watchers
- 許å¯ããã¦ããå ´åãã¦ã©ãããã¦ããäººã®æ°ã
- visitingwatchers
- 許å¯ããã¦ããå ´åãåãã¼ã¸ã®æè¿ã®ç·¨éãè¨ªåæ¸ã¿ã®ãã®ãã¼ã¸ãã¦ã©ãããã¦ããäººã®æ°ã
- notificationtimestamp
- åãã¼ã¸ã®ã¦ã©ãããªã¹ãéç¥ã®ã¿ã¤ã ã¹ã¿ã³ãã
- subjectid
- åãã¼ã¯ãã¼ã¸ã«ã¤ãã¦ã親ãã¼ã¸ã®ãã¼ã¸IDã
- url
- Gives a full URL, an edit URL, and the canonical URL for each page.
- readable
- 廿¢äºå®ã§ãã å©ç¨è ããã®ãã¼ã¸ãèªããã¨ãã§ãããã©ããã代ããã«intestactions=readã使ç¨ãã¦ãã ããã
- 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.
- å¤ (| ã¾ãã¯å¥ã®æååã§åºåã): displaytitleãnotificationtimestampãpreloadãprotectionãsubjectidãtalkidãurlãvarianttitlesãvisitingwatchersãwatchedãwatchersãreadable
- intestactions
Test whether the current user can perform certain actions on the page.
- è¤æ°ã®å¤ã¯ | ã¾ãã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã
- å¤ã®æå¤§å¤ã¯ 50ï¼ç·©ãå¶éãé©ç¨ãããã¯ã©ã¤ã¢ã³ãã§ã¯500ï¼ã§ãã
- intestactionsdetail
Detail level for intestactions. Use the main module's errorformat and errorlang parameters to control the format of the messages returned.
- boolean
- Return a boolean value for each action.
- full
- Return messages describing why the action is disallowed, or an empty array if it is allowed.
- quick
- Like full but skipping expensive checks.
- å¤ (次ã®å¤ã®ãããã1ã¤): booleanãfullãquick
- æ¢å®: boolean
- intoken
- 廿¢äºå®ã§ãã
代ããã« action=query&meta=tokens ã使ç¨ãã¦ãã ããã
- å¤ (| ã¾ãã¯å¥ã®æååã§åºåã): blockãdeleteãeditãemailãimportãmoveãprotectãunblockã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 [ãµã³ãããã¯ã¹ã§éã]