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=titleblacklist (tb)

(main | titleblacklist)
  • This module requires read rights.
  • Source: TitleBlacklist
  • License: GPL-2.0-or-later

Validate a page title, filename, or username against the TitleBlacklist.

Parameters:
tbtitle

The string to validate against the blacklist.

This parameter is required.
tbaction

The action to be checked.

One of the following values: create, createpage, createtalk, edit, move, new-account, upload
Default: edit
tbnooverride

Don't try to override the titleblacklist.

Type: boolean (details)
Examples:
Check whether Foo is blacklisted
api.php?action=titleblacklist&tbtitle=Foo [open in sandbox]
Tarkista, onko Bar on mustalla listalla muokkausta varten
api.php?action=titleblacklist&tbtitle=Bar&tbaction=edit [open in sandbox]