MediaWiki API hulp
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=siteinfo (si)
- Voor deze module zijn leesrechten nodig.
- Bron: MediaWiki
- Licentie: GPL-2.0-or-later
Return general information about the site.
Specifieke parameters:
Other general parameters are available.
- siprop
Welke informatie u moet krijgen:
- general
- Overall system information.
- namespaces
- List of registered namespaces and their canonical names.
- namespacealiases
- Lijst van geregistreerde naamruimte-aliassen.
- specialpagealiases
- Lijst van aliassen voor speciale pagina's.
- magicwords
- Lijst van magische woorden en hun aliassen.
- interwikimap
- Returns interwiki map (optionally filtered, optionally localised by using siinlanguagecode).
- dbrepllag
- Returns database server with the highest replication lag.
- statistics
- Site-statistieken.
- usergroups
- Returns user groups and the associated permissions.
- libraries
- Bibliotheken die op de wiki zijn geïnstalleerd.
- extensions
- Uitbreidingen die op de wiki zijn geïnstalleerd.
- fileextensions
- Lijst van bestandsextensies (bestandstypen) die geüpload mogen worden.
- rightsinfo
- Informatie over wikirechten (licentie-informatie) indien beschikbaar.
- 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.
- Waarden (gescheiden met | of alternatief): dbrepllag, defaultoptions, extensions, extensiontags, fileextensions, functionhooks, general, interwikimap, languages, languagevariants, libraries, magicwords, namespacealiases, namespaces, protocols, restrictions, rightsinfo, showhooks, skins, specialpagealiases, statistics, uploaddialog, usergroups, variables
- Standaard: general
- sifilteriw
Return only local or only nonlocal entries of the interwiki map.
- Een van de volgende waarden: !local, local
- sishowalldb
List all database servers, not just the one lagging the most.
- Type: boolean (details)
- sinumberingroup
Lists the number of users in user groups.
- Type: boolean (details)
- siinlanguagecode
Language code for localised language names (best effort) and skin names.
Voorbeelden:
- Fetch site information.
- api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics [open in de zandbak]
- Fetch a list of local interwiki prefixes.
- api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local [open in de zandbak]
- Check the current replication lag.
- api.php?action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb= [open in de zandbak]