MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=bs-contextmenu-tasks

(main | bs-contextmenu-tasks)
  • This module requires read rights.
  • This module only accepts POST requests.
  • Source: BlueSpiceContextMenu
  • License: GPL-3.0-only

Provides the context menu items in context

Parameters:
format

The format of the result

One of the following values: json, jsonfm
Default: json
task

The task that should be executed

getMenuItems
Schema, parameter examples
getUserTaskPermissions
Schema, parameter examples
This parameter is required.
One of the following values: getMenuItems, getUserTaskPermissions
taskData

JSON string encoded object with arbitrary data for the task

Default: {}
context

JSON string encoded object with context data for the task

Default: {}
schema

Show the JSON schema for the task parameters

examples

Show examples of task parameters

token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.