Merge "CREDITS for This, That, and the other"
[lhc/web/wiklou.git] / includes / api / ApiComparePages.php
index a2f33ea..2300912 100644 (file)
@@ -72,7 +72,7 @@ class ApiComparePages extends ApiBase {
                        );
                }
 
-               ApiResult::setContent( $vals, $difftext );
+               ApiResult::setContentValue( $vals, 'body', $difftext );
 
                $this->getResult()->addValue( null, $this->getModuleName(), $vals );
        }
@@ -126,7 +126,7 @@ class ApiComparePages extends ApiBase {
                );
        }
 
-       public function getExamplesMessages() {
+       protected function getExamplesMessages() {
                return array(
                        'action=compare&fromrev=1&torev=2'
                                => 'apihelp-compare-example-1',