Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6021170
SpecialProtectPage.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
780 B
Referenced Files
None
Subscribers
None
SpecialProtectPage.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
*/
namespace
MediaWiki\Specials
;
use
MediaWiki\SpecialPage\SpecialRedirectWithAction
;
use
SearchEngineFactory
;
/**
* Redirect from Special:ProtectPage/$1 to index.php?title=$1&action=protect.
*
* @since 1.38
* @ingroup SpecialPage
* @author Zabe
*/
class
SpecialProtectPage
extends
SpecialRedirectWithAction
{
public
function
__construct
(
SearchEngineFactory
$searchEngineFactory
)
{
parent
::
__construct
(
'ProtectPage'
,
'protect'
,
'protectpage'
,
$searchEngineFactory
);
}
// Messages, for grep:
// specialprotectpage-page
// specialprotectpage-submit
}
/**
* Retain the old class name for backwards compatibility.
* @deprecated since 1.41
*/
class_alias
(
SpecialProtectPage
::
class
,
'SpecialProtectPage'
);
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 4 2026, 15:06 (5 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7c/61/c2a9e1ed3a68a22fe72732987bd1
Default Alt Text
SpecialProtectPage.php (780 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment