Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5962404
UnprotectAction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
603 B
Referenced Files
None
Subscribers
None
UnprotectAction.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
* @ingroup Actions
*/
namespace
MediaWiki\Actions
;
/**
* Handle page unprotection (action=unprotect)
*
* This is a wrapper that will call Article::unprotect().
*
* @ingroup Actions
*/
class
UnprotectAction
extends
ProtectAction
{
/** @inheritDoc */
public
function
getName
()
{
return
'unprotect'
;
}
public
function
show
()
{
$this
->
getArticle
()->
unprotect
();
}
/** @inheritDoc */
public
function
doesWrites
()
{
return
true
;
}
}
/** @deprecated class alias since 1.44 */
class_alias
(
UnprotectAction
::
class
,
'UnprotectAction'
);
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 08:50 (1 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
67/88/db172fc96a1d667b3c2d18a3ef17
Default Alt Text
UnprotectAction.php (603 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment