r23566 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23565‎ | r23566 | r23567 >
Date:20:22, 29 June 2007
Author:catrope
Status:old
Tags:
Comment:
Making non-fm formats return help text when action=help is explicitly
set (bug 10391).
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/api/ApiMain.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiMain.php
@@ -197,7 +197,7 @@
198198 'code' => $e->getCodeString(), 'info' => $e->getMessage());
199199
200200 // Only print the help message when this is for the developer, not runtime
201 - if ($this->mPrinter->getIsHtml())
 201+ if ($this->mPrinter->getIsHtml() || $this->getRequest()->getVal('action') == 'help')
202202 ApiResult :: setContent($errMessage, $this->makeHelpMsg());
203203
204204 } else {
Index: trunk/phase3/RELEASE-NOTES
@@ -285,6 +285,7 @@
286286 * (bug 10260) Show page protection status
287287 * (bug 10392) Include MediaWiki version details in version output
288288 * (bug 10411) Site language in meta=siteinfo
 289+* (bug 10391) action=help doesn't return help if format is fancy markup
289290
290291 == Maintenance script changes since 1.10 ==
291292

Follow-up revisions

RevisionCommit summaryAuthorDate
r23581Merged revisions 23406-23580 via svnmerge from...david04:50, 30 June 2007

Status & tagging log