Pomoc MediaWiki API
To jest automatycznie wygenerowana strona dokumentacji MediaWiki API. Dokumentacja i przykłady: https://www.mediawiki.org/wiki/API
action=titleblacklist (tb)
(main | titleblacklist)
- Ten moduł wymaga praw odczytu.
Validate an article title, filename, or username against the TitleBlacklist.
Parametry:
- tbtitle
The string to validate against the blacklist.
- Ten parametr jest wymagany.
- tbaction
The action to be checked.
- Jedna wartość: create, edit, upload, createtalk, createpage, move, new-account
- Domyślnie: edit
- tbnooverride
Don't try to override the titleblacklist.
Przykłady:
- Check whether Foo is blacklisted
- api.php?action=titleblacklist&tbtitle=Foo
- Check whether Bar is blacklisted for editing
- api.php?action=titleblacklist&tbtitle=Bar&tbaction=edit