Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1426369
SpecialCaptcha.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
630 B
Referenced Files
None
Subscribers
None
SpecialCaptcha.php
View Options
<?php
namespace
MediaWiki\Extension\ConfirmEdit\Specials
;
use
MediaWiki\Extension\ConfirmEdit\Hooks
;
use
MediaWiki\SpecialPage\UnlistedSpecialPage
;
class
SpecialCaptcha
extends
UnlistedSpecialPage
{
public
function
__construct
()
{
parent
::
__construct
(
'Captcha'
);
}
/** @inheritDoc */
public
function
execute
(
$par
)
{
$this
->
setHeaders
();
$instance
=
Hooks
::
getInstance
();
if
(
$par
===
'image'
&&
method_exists
(
$instance
,
'showImage'
)
)
{
// @todo: Do this in a more OOP way
/** @phan-suppress-next-line PhanUndeclaredMethod */
$instance
->
showImage
();
return
;
}
$instance
->
showHelp
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 13:06 (1 d, 6 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
45/92/b134156f856c5e301bbb94af5b04
Default Alt Text
SpecialCaptcha.php (630 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment