From: Alexandre Emsenhuber Date: Tue, 24 May 2011 16:16:00 +0000 (+0000) Subject: Fixed api=compare example to use existing parameters X-Git-Tag: 1.31.0-rc.0~29976 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=e44f4c34e5b34964a60689bb763c8d233db2a4aa;p=lhc%2Fweb%2Fwiklou.git Fixed api=compare example to use existing parameters --- diff --git a/includes/api/ApiComparePages.php b/includes/api/ApiComparePages.php index c5aa0fd79f..43d3d1f972 100644 --- a/includes/api/ApiComparePages.php +++ b/includes/api/ApiComparePages.php @@ -113,7 +113,7 @@ class ApiComparePages extends ApiBase { protected function getExamples() { return array( - 'api.php?action=compare&rev1=1&rev2=2', + 'api.php?action=compare&fromrev=1&torev=2', ); }