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
Added result properties to action=paraminfo
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiPatrol.php
diff --git
a/includes/api/ApiPatrol.php
b/includes/api/ApiPatrol.php
index
1332f26
..
45d19d0
100644
(file)
--- a/
includes/api/ApiPatrol.php
+++ b/
includes/api/ApiPatrol.php
@@
-80,6
+80,16
@@
class ApiPatrol extends ApiBase {
);
}
+ public function getResultProperties() {
+ return array(
+ '' => array(
+ 'rcid' => 'integer',
+ 'ns' => 'namespace',
+ 'title' => 'string'
+ )
+ );
+ }
+
public function getDescription() {
return 'Patrol a page or revision';
}