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=scribunto-console

(main | scribunto-console)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • This module only accepts POST requests.
  • Source: Scribunto
  • License: GPL-2.0-or-later AND MIT

Internal module for servicing XHR requests from the Scribunto console.

Parameters:
title

The title of the module to test.

content

The new content of the module.

session

Session token.

Type: integer
question

The next line to evaluate as a script.

This parameter is required.
clear

Set to clear the current session state.

Type: boolean (details)
token

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

This parameter is required.