MediaWiki master
|
Provides access to the wiki's autoblock exemption list. More...
Public Member Functions | |
__construct (ServiceOptions $options, LoggerInterface $logger, ITextFormatter $textFormatter) | |
isExempt ( $ip) | |
Checks whether a given IP is on the autoblock exemption list. | |
Public Attributes | |
const | CONSTRUCTOR_OPTIONS |
Provides access to the wiki's autoblock exemption list.
Definition at line 17 of file AutoblockExemptionList.php.
MediaWiki\Block\AutoblockExemptionList::__construct | ( | ServiceOptions | $options, |
LoggerInterface | $logger, | ||
ITextFormatter | $textFormatter ) |
Definition at line 28 of file AutoblockExemptionList.php.
References MediaWiki\Config\ServiceOptions\assertRequiredOptions().
MediaWiki\Block\AutoblockExemptionList::isExempt | ( | $ip | ) |
Checks whether a given IP is on the autoblock exemption list.
string | $ip | The IP to check |
Definition at line 71 of file AutoblockExemptionList.php.
const MediaWiki\Block\AutoblockExemptionList::CONSTRUCTOR_OPTIONS |
Definition at line 19 of file AutoblockExemptionList.php.