Ajuda API da MediaWiki
Esta é uma página de documentação API do MediaWiki gerada automaticamente.
Documentação e exemplos: https://www.mediawiki.org/wiki/API
action=titleblacklist (tb)
(main | titleblacklist)
- Este módulo requer direitos de leitura.
- Fonte: TitleBlacklist
- Licença: GPL-2.0+
Validate an article title, filename, or username against the TitleBlacklist.
Parâmetros:
- tbtitle
The string to validate against the blacklist.
- Este parâmetro é obrigatório.
- tbaction
The action to be checked.
- Um dos seguintes valores: create, edit, upload, createtalk, createpage, move, new-account
- Padrão: edit
- tbnooverride
Don't try to override the titleblacklist.
Exemplos:
- Check whether Foo is blacklisted
- api.php?action=titleblacklist&tbtitle=Foo [abrir na página de testes]
- Check whether Bar is blacklisted for editing
- api.php?action=titleblacklist&tbtitle=Bar&tbaction=edit [abrir na página de testes]