API: DWIM for action=edit&section=new&appendtext=...
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 5 Aug 2013 15:26:49 +0000 (11:26 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 5 Aug 2013 15:26:49 +0000 (11:26 -0400)
commita67f50cf39f4621417b8205fb874fcaec072f583
treea4d7ba95705afb1a79dfe1415e1eac314d353d3e
parentd97a1061f9afb8617511d0896ba99e661f14d584
API: DWIM for action=edit&section=new&appendtext=...

While it doesn't make a whole lot of sense to prepend or append with
section=new, the user certainly doesn't intend to be copying the
contents of section 0. In the spirit of "do what I mean", we should
probably prepend/append to empty text in this situation.

Bug: 52538
Change-Id: I9b03635906ca665a4f68b3bd35d05ae9108e2356
RELEASE-NOTES-1.22
includes/api/ApiEditPage.php