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
- 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. Use intestactions=read instead.
- 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
- Default: 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 [ãµã³ãããã¯ã¹ã§éã]