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.
- Lähde: TitleBlacklist
- Lisenssi: GPL-2.0-or-later
Validate a page title, filename, or username against the TitleBlacklist.
Parametrit:
- 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)
esimerkkiä:
- Check whether Foo is blacklisted
- api.php?action=titleblacklist&tbtitle=Foo [avaa hiekkalaatikossa]
- Tarkista, onko Bar on mustalla listalla muokkausta varten
- api.php?action=titleblacklist&tbtitle=Bar&tbaction=edit [avaa hiekkalaatikossa]