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=smwtask

(main | smwtask)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: Semantic MediaWiki
  • Licence: GPL-2.0-or-later

API module to execute Semantic MediaWiki related tasks (for internal use only, not for public use).

Specific parameters:
Other general parameters are available.
task

Defines the task type

This parameter is required.
One of the following values: check-query, duplicate-lookup, insert-job, run-entity-examiner, run-joblist, table-statistics, update
params

JSON encoded parameters that match the selected task type requirement

token

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

This parameter is required.
Example:
Example of running a update task for a particular subject:
api.php?action=smwtask&task=update&params={ "subject": "Foo" } [open in sandbox]