Pomoc MediaWiki API
To jest automatycznie wygenerowana strona dokumentacji MediaWiki API. Dokumentacja i przykłady: https://www.mediawiki.org/wiki/API
submodule=view-post (vp)
- Ten moduł wymaga praw odczytu.
- Źródło: Flow
- Licencja: GPL-2.0+
Pokaż post
Parametry:
- vppostId
ID of the post to view.
- Ten parametr jest wymagany.
- vpformat
Format to return the content in.
- Jedna z następujących wartości: html, wikitext, fixed-html
- Domyślnie: fixed-html
Przykład:
- Fetch the content of a post in Topic:S2tycnas4hcucw8w as wikitext
- api.php?action=flow&submodule=view-post&page=Topic:S2tycnas4hcucw8w&vppostId=???&vpformat=wikitext [open in sandbox]