aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiFormatXml.php
diff options
context:
space:
mode:
authorLiangent <liangent@gmail.com>2012-05-16 20:48:36 +0800
committerCatrope <roan.kattouw@gmail.com>2012-05-25 08:56:02 -0700
commit69ebd8d7ce771334b726810713ff4c669ed4d065 (patch)
treedbe5234eca9775f20886d586fba7db9006e846ed /includes/api/ApiFormatXml.php
parentaab0f8bc6f4aa9eb9d898eaad652f78160942b2b (diff)
downloadmediawikicore-69ebd8d7ce771334b726810713ff4c669ed4d065.tar.gz
mediawikicore-69ebd8d7ce771334b726810713ff4c669ed4d065.zip
Add some more detailed info about the xslt param of format=xml
Change-Id: I77e1dcbdf3ff1d201a2346c5a397469b4fc21d74
Diffstat (limited to 'includes/api/ApiFormatXml.php')
-rw-r--r--includes/api/ApiFormatXml.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/api/ApiFormatXml.php b/includes/api/ApiFormatXml.php
index 8f4abc15339d..ef2c54f59e9f 100644
--- a/includes/api/ApiFormatXml.php
+++ b/includes/api/ApiFormatXml.php
@@ -215,7 +215,8 @@ class ApiFormatXml extends ApiFormatBase {
public function getParamDescription() {
return array(
'xmldoublequote' => 'If specified, double quotes all attributes and content',
- 'xslt' => 'If specified, adds <xslt> as stylesheet',
+ 'xslt' => 'If specified, adds <xslt> as stylesheet. This should be a wiki page '
+ . 'in the MediaWiki namespace whose page name ends with ".xsl"',
'includexmlnamespace' => 'If specified, adds an XML namespace'
);
}