Fix deletion handling of rev_deleted
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 1 Sep 2016 12:42:01 +0000 (05:42 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 2 Sep 2016 21:56:48 +0000 (14:56 -0700)
commit37812d7184fa2ad6fa4fc6194827785d5503f80e
treef4aa66d95dfab97cea9a8d655d28393e31f70c74
parent137e5bc320b8abbecfba3f8db51cacb32cb8217f
Fix deletion handling of rev_deleted

When the suppress button was not used, and some live
revisions had rev_deleted set, the query would try to
write the literal string "rev_deleted" as rev_deleted,
which was not noticed in default non-strict MySQL and
was casted to 0.

Follow-up to 673371e2c7

Bug: T144484
Change-Id: If3a74de13ea841d9d94ae05532cc8dadb0e40867
includes/page/WikiPage.php