Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F4190
help-nonfm.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:53 PM
2014-11-21 21:53:16 (UTC+0)
Size
571 B
Referenced Files
None
Subscribers
None
help-nonfm.patch
View Options
Index: includes/api/ApiMain.php
===================================================================
--- includes/api/ApiMain.php (revision 23501)
+++ includes/api/ApiMain.php (working copy)
@@ -197,7 +197,7 @@
'code' => $e->getCodeString(), 'info' => $e->getMessage());
// Only print the help message when this is for the developer, not runtime
- if ($this->mPrinter->getIsHtml())
+ if ($this->mPrinter->getIsHtml() || $this->getRequest()->getVal('action') == 'help')
ApiResult :: setContent($errMessage, $this->makeHelpMsg());
} else {
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3755
Default Alt Text
help-nonfm.patch (571 B)
Attached To
Mode
T12391: action=help doesn't return help if format is not fancy markup
Attached
Detach File
Event Timeline
Log In to Comment