Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentační stránka k MediaWiki API.
Dokumentace a příklady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=allmessages (am)
- Tento modul vyžaduje oprávnění ke čtení.
- Zdroj: MediaWiki
- Licence: GPL-2.0-or-later
Return messages from this site.
- ammessages
Which messages to output. * (default) means all messages.
- Hodnoty oddělujte pomocí | nebo alternativou.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- Default: *
- amprop
Which properties to get.
- Hodnoty (oddělené | nebo alternativou.): default
- amenableparser
Set to enable parser, will preprocess the wikitext of message (substitute magic words, handle templates, etc.).
- Type: boolean (details)
- amnocontent
If set, do not include the content of the messages in the output.
- Type: boolean (details)
- amincludelocal
Also include local messages, i.e. messages that don't exist in the software but do exist as in the MediaWiki namespace. This lists all MediaWiki-namespace pages, so it will also list those that aren't really messages such as Common.js.
- Type: boolean (details)
- amargs
Arguments to be substituted into message.
- Hodnoty oddělujte pomocí | nebo alternativou.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- amfilter
Return only messages with names that contain this string.
- amcustomised
Return only messages in this customisation state.
- Jedna z následujících hodnot: all, modified, unmodified
- Default: all
- amlang
Return messages in this language.
- amfrom
Return messages starting at this message.
- amto
Return messages ending at this message.
- amtitle
Page name to use as context when parsing message (for amenableparser option).
- amprefix
Return messages with this prefix.
- Show messages starting with ipb-.
- api.php?action=query&meta=allmessages&refix=ipb- [otevřít v pískovišti]
- Show messages august and mainpage in German.
- api.php?action=query&meta=allmessages&ammessages=august|mainpage&amlang=de [otevřít v pískovišti]