MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=bs-statistics-tasks

(main | bs-statistics-tasks)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: Statistics
  • License: GPL-2.0+

Provides common tasks for statistics

Parameters:
task

The task that should be executed

getData
Schema, parameter examples
getUserTaskPermissions
Schema, parameter examples
This parameter is required.
One of the following values: getData, 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.