Fix RevDel API output for formatversion=2
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 19 Dec 2016 16:36:09 +0000 (11:36 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 19 Dec 2016 16:48:49 +0000 (11:48 -0500)
commit96b60ded7781080a47e7750a76b2d4a644751e21
tree7511ff43b18a9f011f185492d4ea8ac8a73271df
parentfbb1f742435c1d1eb3b31bf980e0682fc509b8c2
Fix RevDel API output for formatversion=2

Use booleans, not the old empty-string-or-undefined.

This bugfix is a breaking change, but chances are it won't affect many
clients.

Bug: T153518
Change-Id: If5fa2cdcb973b186349307b29e4266daceef0a9d
includes/revisiondelete/RevDelArchivedFileItem.php
includes/revisiondelete/RevDelFileItem.php
includes/revisiondelete/RevDelLogItem.php
includes/revisiondelete/RevDelRevisionItem.php
tests/phpunit/includes/api/ApiRevisionDeleteTest.php