API:Hjælp

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page API:Help and the translation is 47% complete.

Other languages:
English • ‎dansk • ‎polski • ‎русский • ‎ไทย • ‎日本語

Displays help for the specified modules, optionally including direct submodules or recursive submodules.

Parametre

  • modules: Moduler at vise hjælp for. Can specify submodules with a +. Mulige værdier: the action and format parameters in a query, or main (Standard: main) 1.17+
  • submodules: Include help for submodules of the named module. 1.25+
  • recursivesubmodules: Include help for submodules recursively. 1.25+
  • wrap: Wrap the output in a standard API response structure. 1.25+
  • toc: Include a table of contents in the HTML output. 1.25+
  • querymodules: List of query module names (value of prop=, meta= or list= parameter). Fra 1.21 og frem, brug query+value istedet. (forældet i 1.21) (removed in 1.25)

Eksempler

Få hjælp med action=query&meta=tokens.





action=help

(main | help)

Display help for the specified modules.

Parameters:
modules

Modules to display help for (values of the action and format parameters, or main). Can specify submodules with a +.

Separate values with | or alternative. Maximum number of values is 50 (500 for bots).
Default: 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)