Page MenuHomeWickedGov Phorge

TitleBlacklistAuthenticationRequest.php
No OneTemporary

Size
624 B
Referenced Files
None
Subscribers
None

TitleBlacklistAuthenticationRequest.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;
/** @inheritDoc */
public function getFieldInfo() {
return [
'ignoreTitleBlacklist' => [
'type' => 'checkbox',
'label' => wfMessage( 'titleblacklist-override' ),
'help' => wfMessage( 'titleblacklist-override-help' ),
'optional' => true,
],
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 17:18 (1 d, 15 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
35/bb/944bf0902d7cc0d6a44beb83626b
Default Alt Text
TitleBlacklistAuthenticationRequest.php (624 B)

Event Timeline