dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Added assertArrayEquals method to MediaWikiTestCase to avoid duplicating asort...
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiProtect.php
diff --git
a/includes/api/ApiProtect.php
b/includes/api/ApiProtect.php
index
286f191
..
0fcaf42
100644
(file)
--- a/
includes/api/ApiProtect.php
+++ b/
includes/api/ApiProtect.php
@@
-184,6
+184,16
@@
class ApiProtect extends ApiBase {
);
}
+ public function getResultProperties() {
+ return array(
+ '' => array(
+ 'title' => 'string',
+ 'reason' => 'string',
+ 'cascade' => 'boolean'
+ )
+ );
+ }
+
public function getDescription() {
return 'Change the protection level of a page';
}