API: Fix ApiFormatFeedWrapper
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 22 Oct 2014 16:00:48 +0000 (12:00 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 22 Oct 2014 17:13:11 +0000 (13:13 -0400)
commite80638ccff7ac1cb2976902f4b8c54e45849e9e5
tree537d1ef815ed7edb453a4c405e3ffcb3af6461e7
parent379669ac65d9eb6637415a2f7c382e0a1b114623
API: Fix ApiFormatFeedWrapper

With recent changes to the API, directly outputting text from execute()
in ApiFormatBase subclasses doesn't work anymore. Adjust
ApiFormatFeedWrapper for this new situation, and also handle headers in
initPrinter() where that belongs.

Bug: 72359
Change-Id: I4e4a2386858da6d87169deabaca763eeeacefbe9
includes/api/ApiFormatFeedWrapper.php