From 671bdde66d1d5b85c4693bfe3ce7d8c89c7b994e Mon Sep 17 00:00:00 2001 From: Petr Onderka Date: Mon, 30 Apr 2012 17:52:27 +0200 Subject: [PATCH] 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 --- includes/api/ApiFormatBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.20.1