mediawiki-extensions-TitleB.../includes/TitleBlacklistAuthenticationRequest.php
Umherirrender d7cfbbcab2 Add missing documentation to class properties
Change-Id: I02d8eabfc0733a0d7556d7e6d4d6d787071b1da0
2024-08-20 22:18:05 +02:00

26 lines
604 B
PHP

<?php
namespace MediaWiki\Extension\TitleBlacklist;
use MediaWiki\Auth\AuthenticationRequest;
/**
* An authentication request that allows users with sufficiently high privileges to skip the
* title blacklist check.
*/
class TitleBlacklistAuthenticationRequest extends AuthenticationRequest {
/** @var bool */
public $ignoreTitleBlacklist;
public function getFieldInfo() {
return [
'ignoreTitleBlacklist' => [
'type' => 'checkbox',
'label' => wfMessage( 'titleblacklist-override' ),
'help' => wfMessage( 'titleblacklist-override-help' ),
'optional' => true,
],
];
}
}