Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4083383
MockApi.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
526 B
Referenced Files
None
Subscribers
None
MockApi.php
View Options
<?php
namespace
MediaWiki\Tests\Api
;
use
MediaWiki\Api\ApiBase
;
class
MockApi
extends
ApiBase
{
/** @var array */
public
$warnings
=
[];
public
function
execute
()
{
}
public
function
__construct
()
{
}
public
function
getModulePath
()
{
return
$this
->
getModuleName
();
}
public
function
addWarning
(
$warning
,
$code
=
null
,
$data
=
null
)
{
$this
->
warnings
[]
=
$warning
;
}
public
function
getAllowedParams
()
{
return
[
'filename'
=>
null
,
'enablechunks'
=>
false
,
'sessionkey'
=>
null
,
];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 18 2026, 07:11 (7 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1e/8b/d9747af3f6f941098380d2d3e121
Default Alt Text
MockApi.php (526 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment