Bantuan API MediaWiki
Ini merupakan laman dokumentasi MediaWiki API yang dihasilkan secara automatik.
Dokumentasi dan contoh-contoh: https://www.mediawiki.org/wiki/API
action=help
(main | help)
- Source: MediaWiki
- License: GPL-2.0-or-later
Display help for the specified modules.
Parameter:
- modules
Modules to display help for (values of the action and format parameters, or main). Can specify submodules with a +.
- Asingkan nilai-nilai dengan "|".
- Bilangan nilai maksimum adalah 50 (500 untuk bot).
- Asal: main
- submodules
Include help for submodules of the named module.
- Type: boolean (details)
- recursivesubmodules
Include help for submodules recursively.
- Type: boolean (details)
- wrap
Wrap the output in a standard API response structure.
- Type: boolean (details)
- toc
Include a table of contents in the HTML output.
- Type: boolean (details)
Contoh-contoh:
- Bantuan untuk modul utama
- api.php?action=help [open in sandbox]
- Help for action=query and all its submodules.
- api.php?action=help&modules=query&submodules=1 [open in sandbox]
- Segala bantuan dalam satu halaman
- api.php?action=help&recursivesubmodules=1 [open in sandbox]
- Bantuan untuk modul bantuan
- api.php?action=help&modules=help [open in sandbox]
- Help for two query submodules.
- api.php?action=help&modules=query+info|query+categorymembers [open in sandbox]