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.
  • Iturria: Semantic MediaWiki
  • Lizentzia: GPL-2.0-or-later

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

Parametroak:
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.
Adibidea:
Example of running a update task for a particular subject:
api.php?action=smwtask&task=update&params={ "subject": "Foo" } [open in sandbox]