MediaWiki master
MediaWiki\Block\AutoblockExemptionList Class Reference

Provides access to the wiki's autoblock exemption list. More...

Public Member Functions

 __construct (LoggerInterface $logger, ITextFormatter $textFormatter)
 
 isExempt ( $ip)
 Checks whether a given IP is on the autoblock exemption list.
 

Detailed Description

Provides access to the wiki's autoblock exemption list.

Since
1.42

Definition at line 14 of file AutoblockExemptionList.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Block\AutoblockExemptionList::__construct ( LoggerInterface $logger,
ITextFormatter $textFormatter )

Definition at line 19 of file AutoblockExemptionList.php.

Member Function Documentation

◆ isExempt()

MediaWiki\Block\AutoblockExemptionList::isExempt ( $ip)

Checks whether a given IP is on the autoblock exemption list.

Parameters
string$ipThe IP to check
Returns
bool

Definition at line 33 of file AutoblockExemptionList.php.

References $lines.


The documentation for this class was generated from the following file: