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=bs-namespace-tasks

(main | bs-namespace-tasks)
  • Ten moduł wymaga praw odczytu.
  • Ten moduł wymaga praw zapisu.
  • Ten moduł akceptuje tylko żądania POST.
  • Źródło: BlueSpiceNamespaceManager
  • Licencja: GPL-3.0-only

Allows modification of the namespace configuration.

Parametry:
Other general parameters are available.
format

Format danych wyjściowych

Jedna z następujących wartości: json, jsonfm
Domyślnie: json
task

Zadanie, które powinno zostać wykonane

add
Schema, parameter examples
edit
Schema, parameter examples
remove
Schema, parameter examples
getUserTaskPermissions
Schema, parameter examples
Ten parametr jest wymagany.
Jedna z następujących wartości: add, edit, getUserTaskPermissions, remove
taskData

JSON string encoded object with arbitrary data for the task

Domyślnie: {}
context

JSON string encoded object with context data for the task

Domyślnie: {}
schema

Show the JSON schema for the task parameters

examples

Show examples of task parameters

token

Token „csrf” pobrany z action=query&meta=tokens

Ten parametr jest wymagany.