MediaWiki API ヘルプ
ãã®ãã¼ã¸ã¯èªåçæããã MediaWiki API ã®èª¬æææ¸ãã¼ã¸ã§ãã
èª¬æææ¸ã¨ä¾: https://www.mediawiki.org/wiki/API
meta=siteinfo (si)
- ãã®ã¢ã¸ã¥ã¼ã«ã¯èªã¿åãã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- Source: MediaWiki
- License: GPL-2.0-or-later
Return general information about the site.
ãã©ã¡ã¼ã¿ã¼:
- siprop
ã©ã®æ å ±ãåå¾ããã:
- general
- ã·ã¹ãã å ¨ä½ã®æ å ±ã
- namespaces
- List of registered namespaces and their canonical names.
- namespacealiases
- List of registered namespace aliases.
- specialpagealiases
- ç¹å¥ãã¼ã¸ã®å¥åã®ä¸è¦§ã
- magicwords
- ãã¸ãã¯ã¯ã¼ãã¨ãããã®å¥åã®ä¸è¦§ã
- interwikimap
- Returns interwiki map (optionally filtered, optionally localised by using siinlanguagecode).
- dbrepllag
- Returns database server with the highest replication lag.
- statistics
- Returns site statistics.
- usergroups
- Returns user groups and the associated permissions.
- libraries
- Returns libraries installed on the wiki.
- extensions
- Returns extensions installed on the wiki.
- fileextensions
- ã¢ãããã¼ãã許å¯ããã¦ãããã¡ã¤ã«æ¡å¼µåã®ä¸è¦§ãè¿ãã¾ãã
- rightsinfo
- Returns wiki rights (license) information if available.
- restrictions
- Returns information on available restriction (protection) types.
- languages
- Returns a list of languages MediaWiki supports (optionally localised by using siinlanguagecode).
- languagevariants
- Returns a list of language codes for which LanguageConverter is enabled, and the variants supported for each.
- skins
- Returns a list of all enabled skins (optionally localised by using siinlanguagecode, otherwise in the content language).
- extensiontags
- Returns a list of parser extension tags.
- functionhooks
- Returns a list of parser function hooks.
- showhooks
- Returns a list of all subscribed hooks (contents of $wgHooks).
- variables
- Returns a list of variable IDs.
- protocols
- Returns a list of protocols that are allowed in external links.
- defaultoptions
- Returns the default values for user preferences.
- uploaddialog
- Returns the upload dialog configuration.
- å¤ (|ãããã¯å¥ã®æååã§åºåã): generalãnamespacesãnamespacealiasesãspecialpagealiasesãmagicwordsãinterwikimapãdbrepllagãstatisticsãusergroupsãlibrariesãextensionsãfileextensionsãrightsinfoãrestrictionsãlanguagesãlanguagevariantsãskinsãextensiontagsãfunctionhooksãshowhooksãvariablesãprotocolsãdefaultoptionsãuploaddialog
- æ¢å®å¤: general
- sifilteriw
Return only local or only nonlocal entries of the interwiki map.
- å¤ (次ã®å¤ã®ãããã1ã¤): localã!local
- sishowalldb
List all database servers, not just the one lagging the most.
- Type: boolean (details)
- sinumberingroup
å©ç¨è ã°ã«ã¼ãã«å±ããå©ç¨è ã®æ°ãä¸è¦§è¡¨ç¤ºãã¾ãã
- Type: boolean (details)
- siinlanguagecode
Language code for localised language names (best effort) and skin names.
ä¾:
- ãµã¤ãæ å ±ãåå¾ããã
- api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics [ãµã³ãããã¯ã¹ã§éã]
- Fetch a list of local interwiki prefixes.
- api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local [ãµã³ãããã¯ã¹ã§éã]
- Check the current replication lag.
- api.php?action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb= [ãµã³ãããã¯ã¹ã§éã]