From: Andrew Garrett Date: Thu, 6 Mar 2008 04:49:02 +0000 (+0000) Subject: Fix errors in example for EditPage API module (referred to old names of parameters) X-Git-Tag: 1.31.0-rc.0~49235 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=88fbebc858f6c3d820028700127c0c30ff7700c9;p=lhc%2Fweb%2Fwiklou.git Fix errors in example for EditPage API module (referred to old names of parameters) --- diff --git a/includes/api/ApiEditPage.php b/includes/api/ApiEditPage.php index 6d28c6194d..6c6c4e1f96 100644 --- a/includes/api/ApiEditPage.php +++ b/includes/api/ApiEditPage.php @@ -242,7 +242,7 @@ class ApiEditPage extends ApiBase { protected function getExamples() { return array ( "Edit a page (anonymous user):", - " api.php?action=edit&eptitle=Test&epsummary=test%20summary&eptext=article%20content&epedittime=20070824123454&eptokenid=+%5C" + " api.php?action=edit&title=Test&summary=test%20summary&text=article%20content&edittime=20070824123454&token=+%5C" ); }