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
API: Overhaul ApiResult, make format=xml not throw, and add json formatversion
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiComparePages.php
diff --git
a/includes/api/ApiComparePages.php
b/includes/api/ApiComparePages.php
index
ce256a6
..
2300912
100644
(file)
--- a/
includes/api/ApiComparePages.php
+++ b/
includes/api/ApiComparePages.php
@@
-72,7
+72,7
@@
class ApiComparePages extends ApiBase {
);
}
- ApiResult::setContent
( $vals
, $difftext );
+ ApiResult::setContent
Value( $vals, 'body'
, $difftext );
$this->getResult()->addValue( null, $this->getModuleName(), $vals );
}