repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Import: Handle uploads with sha1 starting with 0 properly
[mediawiki.git]
/
tests
/
phpunit
/
includes
/
api
/
MockApi.php
blob
516da0c8ecc3d797bf7d9b74333ae682e292af43
1
<
?php
2
3
class
MockApi
extends
ApiBase
{
4
public function
execute
() {
5
}
6
7
public function
__construct
() {
8
}
9
10
public function
getAllowedParams
() {
11
return array
(
12
'filename'
=>
null
,
13
'enablechunks'
=>
false
,
14
'sessionkey'
=>
null
,
15
);
16
}
17
}