Page MenuHomeWickedGov Phorge

TitleBlacklistAuthenticationRequest.php
No OneTemporary

Size
604 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;
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, May 16, 14:04 (1 d, 16 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7f/3b/c4b5d73366cde76c564287e99fe6
Default Alt Text
TitleBlacklistAuthenticationRequest.php (604 B)

Event Timeline