From: Petr Onderka Date: Mon, 30 Apr 2012 15:52:27 +0000 (+0200) Subject: Changed the format to lowercase in help message X-Git-Tag: 1.31.0-rc.0~23767^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=671bdde66d1d5b85c4693bfe3ce7d8c89c7b994e;p=lhc%2Fweb%2Fwiklou.git Changed the format to lowercase in help message The help message that appears at the top of pretty-printed API results suggested to use format in uppercase (e.g. format=XML). That wouldn't work, because format names are lowercase. This change corrects the help message so that it correctly uses lowercase (e.g. format=xml). Change-Id: I94275879b60c42bde607eb896aa79433dfabb34c --- diff --git a/includes/api/ApiFormatBase.php b/includes/api/ApiFormatBase.php index 17e9225c16..7dfdffcf3a 100644 --- a/includes/api/ApiFormatBase.php +++ b/includes/api/ApiFormatBase.php @@ -165,7 +165,7 @@ abstract class ApiFormatBase extends ApiBase { You are looking at the HTML representation of the mFormat ); ?> format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
-To see the non HTML representation of the mFormat ); ?> format, set format=mFormat ); ?>.
+To see the non HTML representation of the mFormat ); ?> format, set format=mFormat ) ); ?>.
See the complete documentation, or API help for more information.