MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=titleblacklist (tb)
(main | titleblacklist)
- This module requires read rights.
- Source: TitleBlacklist
- License: GPL-2.0+
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, edit, upload, createtalk, createpage, move, new-account
- 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]
- Check whether Bar is blacklisted for editing
- api.php?action=titleblacklist&tbtitle=Bar&tbaction=edit [open in sandbox]