Pomoc API MediaWiki
To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.
Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=expandframe
(main | expandframe)
- Ten moduł wymaga praw odczytu.
- Źródło: DebugTemplates
- Licencja: CC-BY-SA-3.0
Expand templates and parameters in wikitext assuming a specific frame context.
Parametry:
Other general parameters are available.
- text
The wikitext to expand.
- Ten parametr jest wymagany.
- frame
The frame context as a JSON-encoded map between parameter names and values.
- Domyślnie: {}
- title
Tytuł strony w kontekście.
- Domyślnie: API
Przykład:
- Parse wikitext {{{a}}} with defined frame context.
- api.php?action=expandframe&text={{{a}}}&frame={"a":"b"} [otwórz w brudnopisie]