API: When undoing an edit, allow overriding content model.
authorBrian Wolff <bawolff+wn@gmail.com>
Thu, 8 Sep 2016 23:43:36 +0000 (23:43 +0000)
committerKunal Mehta <legoktm@member.fsf.org>
Fri, 9 Sep 2016 03:19:45 +0000 (20:19 -0700)
commit99485235b0be6a55337c3d26fc4b4c594a5c5e97
tree72d9b8b146b609830b6dda0d2308eb4d1d1d1444
parent386bed1ffd9da7eb5830e0c2386e5dc79e261dfe
API: When undoing an edit, allow overriding content model.

This brings the API in line with web UI changes from Ic528f65d.

Bug: T145044
Change-Id: Ib97eef38d228c4da4b062ee96ddbbbb926ee665b
includes/api/ApiEditPage.php
tests/phpunit/includes/api/ApiEditPageTest.php