MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=smwtask
(main | smwtask)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: Semantic MediaWiki
- License: GPL-2.0-or-later
API module to execute Semantic MediaWiki related tasks (for internal use only, not for public use).
Parameters:
- task
Defines the task type
- This parameter is required.
- One of the following values: update, check-query, run-entity-examiner, duplicate-lookup, table-statistics, insert-job, run-joblist
- 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¶ms={ "subject": "Foo" } [open in sandbox]