ApiParse: Support previewing section=new
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Tue, 10 Mar 2015 21:27:01 +0000 (22:27 +0100)
committerAnomie <bjorsch@wikimedia.org>
Mon, 16 Mar 2015 14:56:45 +0000 (14:56 +0000)
commitc223e0bfb098d48fe438c20310c431665ee31072
treea284f60226503233054a7bab1fd35b606573637e
parent0290eccb8d6be6db0bc2b6ab4b30ed3311759898
ApiParse: Support previewing section=new

When live previewing a 'new' section, we want to automatically add the
edit summary/sectiontitle as an H2 element, as the Edit Page and API
do as well.

Bug: T84877
Change-Id: I40925c16284bb97a4d491e12a8e7878b9d1b4810
includes/api/ApiParse.php
includes/api/i18n/en.json
includes/api/i18n/qqq.json