Allow API results to wrap long lines
authorWaldir Pimenta <waldir@email.com>
Thu, 6 Dec 2012 05:45:33 +0000 (05:45 +0000)
committerWaldir Pimenta <waldir@email.com>
Thu, 17 Jan 2013 12:19:45 +0000 (12:19 +0000)
commitf73539591b153aa7aca37f8977c02415d2aad420
treea956ce41f657933ebec5f6c1114959e4b755af0d
parent9d0e8dc2dc03f4466e75137ea65372875d1d7d79
Allow API results to wrap long lines

- Bug 260 provides potentally relevant discussion
  (also eventually settled in white-space:pre-wrap)
- Wrapping isn't applied in help pages, since they rely
  on the monospaced font for layout purposes.
- Rename $isError to the more exact $isHelp
- Update documentation for ApiFormatBase::initPrinter()
- Bonus: header w/ info about output formats won't show
  for action=help anymore (irrelevant)

Change-Id: Id9cdf102e17b4c3eaf4b10f3e3f5e97233911b97
includes/api/ApiFormatBase.php
includes/api/ApiMain.php