MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=bs-contextmenu-tasks

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

Provides the context menu items in context

Parameters:
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

format

The format of the result

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

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

This parameter is required.