Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5944204
ActionRestriction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
665 B
Referenced Files
None
Subscribers
None
ActionRestriction.php
View Options
<?php
/**
* A block restriction object of type 'Action'.
*
* @license GPL-2.0-or-later
* @file
*/
namespace
MediaWiki\Block\Restriction
;
use
MediaWiki\Title\Title
;
/**
* Restriction for partial blocks of actions.
*
* @since 1.37
*/
class
ActionRestriction
extends
AbstractRestriction
{
/**
* @inheritDoc
*/
public
const
TYPE
=
'action'
;
/**
* @inheritDoc
*/
public
const
TYPE_ID
=
3
;
/**
* @inheritDoc
*/
public
function
matches
(
Title
$title
)
{
// Action blocks don't apply to particular titles. For example,
// if a block only blocked uploading, the target would still be
// allowed to edit any page.
return
false
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 2 2026, 18:22 (6 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
25/ad/78d08bd36396cb4242c324bd28b9
Default Alt Text
ActionRestriction.php (665 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment