Add some more detailed info about the xslt param of format=xml
authorLiangent <liangent@gmail.com>
Wed, 16 May 2012 12:48:36 +0000 (20:48 +0800)
committerCatrope <roan.kattouw@gmail.com>
Fri, 25 May 2012 15:56:02 +0000 (08:56 -0700)
Change-Id: I77e1dcbdf3ff1d201a2346c5a397469b4fc21d74

includes/api/ApiFormatXml.php

index 8f4abc1..ef2c54f 100644 (file)
@@ -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'
                );
        }