MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
meta=siteinfo (si)
- Questo modulo richiede i diritti di lettura.
- Fonte: MediaWiki
- Licenza: GPL-2.0-or-later
Return general information about the site.
Parametri:
- siprop
Quali informazioni ottenere:
- general
- Overall system information.
- namespaces
- List of registered namespaces and their canonical names.
- namespacealiases
- List of registered namespace aliases.
- specialpagealiases
- List of special page aliases.
- magicwords
- List of magic words and their aliases.
- interwikimap
- Returns interwiki map (optionally filtered, optionally localised by using siinlanguagecode).
- dbrepllag
- Returns database server with the highest replication lag.
- statistics
- Restituisce le statistiche del sito.
- usergroups
- Returns user groups and the associated permissions.
- libraries
- Restituisci librerie installate sul wiki.
- extensions
- Restituisci estensioni installate sul wiki.
- fileextensions
- Returns list of file extensions (file types) allowed to be uploaded.
- rightsinfo
- Returns wiki rights (license) information if available.
- restrictions
- Restituisce informazioni sui tipi di restrizione (protezione) disponibili.
- languages
- Returns a list of languages MediaWiki supports (optionally localised by using siinlanguagecode).
- languagevariants
- Restituisce un'elenco di codici lingua per cui LanguageConverter è attivo, e le varianti supportate per ognuno di essi.
- 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.
- Valori (separati da | o alternativa): general, namespaces, namespacealiases, specialpagealiases, magicwords, interwikimap, dbrepllag, statistics, usergroups, libraries, extensions, fileextensions, rightsinfo, restrictions, languages, languagevariants, skins, extensiontags, functionhooks, showhooks, variables, protocols, defaultoptions, uploaddialog
- Predefinito: general
- sifilteriw
Return only local or only nonlocal entries of the interwiki map.
- Uno dei seguenti valori: local, !local
- sishowalldb
List all database servers, not just the one lagging the most.
- Tipo: booleano (dettagli)
- sinumberingroup
Lists the number of users in user groups.
- Tipo: booleano (dettagli)
- siinlanguagecode
Language code for localised language names (best effort) and skin names.
Esempi:
- Recupera informazioni sul sito.
- api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics [apri in una sandbox]
- Fetch a list of local interwiki prefixes.
- api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local [apri in una sandbox]
- Check the current replication lag.
- api.php?action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb= [apri in una sandbox]