* (bug 34313) MediaWiki API intro message about "HTML format" should mention the...
authorSam Reed <reedy@users.mediawiki.org>
Fri, 10 Feb 2012 14:39:12 +0000 (14:39 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 10 Feb 2012 14:39:12 +0000 (14:39 +0000)
RELEASE-NOTES-1.20
includes/api/ApiFormatBase.php

index 9150fad..4d85e88 100644 (file)
@@ -25,6 +25,8 @@ production.
 
 === API changes in 1.20 ===
 * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.
+* (bug 34313) MediaWiki API intro message about "HTML format" should mention
+  the format parameter.
 
 === Languages updated in 1.20 ===
 
index 543c90c..57c641d 100644 (file)
@@ -163,8 +163,10 @@ abstract class ApiFormatBase extends ApiBase {
 <br />
 <small>
 You are looking at the HTML representation of the <?php echo( $this->mFormat ); ?> format.<br />
-HTML is good for debugging, but probably is not suitable for your application.<br />
-See <a href='https://www.mediawiki.org/wiki/API'>complete documentation</a>, or
+HTML is good for debugging, but is unsuitable for application use.<br />
+Specify the format parameter to change the output format.<br />
+To see the non HTML representation of the <?php echo( $this->mFormat ); ?> format, set format=<?php echo( $this->mFormat ); ?>.<br />
+See the <a href='https://www.mediawiki.org/wiki/API'>complete documentation</a>, or
 <a href='<?php echo( $script ); ?>'>API help</a> for more information.
 </small>
 <?php