r111160 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111159‎ | r111160 | r111161 >
Date:14:39, 10 February 2012
Author:reedy
Status:ok
Tags:
Comment:
* (bug 34313) MediaWiki API intro message about "HTML format" should mention the format parameter.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES-1.20 (modified) (history)
  • /trunk/phase3/includes/api/ApiFormatBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiFormatBase.php
@@ -163,8 +163,10 @@
164164 <br />
165165 <small>
166166 You are looking at the HTML representation of the <?php echo( $this->mFormat ); ?> format.<br />
167 -HTML is good for debugging, but probably is not suitable for your application.<br />
168 -See <a href='https://www.mediawiki.org/wiki/API'>complete documentation</a>, or
 167+HTML is good for debugging, but is unsuitable for application use.<br />
 168+Specify the format parameter to change the output format.<br />
 169+To see the non HTML representation of the <?php echo( $this->mFormat ); ?> format, set format=<?php echo( $this->mFormat ); ?>.<br />
 170+See the <a href='https://www.mediawiki.org/wiki/API'>complete documentation</a>, or
169171 <a href='<?php echo( $script ); ?>'>API help</a> for more information.
170172 </small>
171173 <?php
Index: trunk/phase3/RELEASE-NOTES-1.20
@@ -25,6 +25,8 @@
2626
2727 === API changes in 1.20 ===
2828 * (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API.
 29+* (bug 34313) MediaWiki API intro message about "HTML format" should mention
 30+ the format parameter.
2931
3032 === Languages updated in 1.20 ===
3133

Status & tagging log