Add section preview mode to API action=parse
authorMax Semenik <maxsem.wiki@gmail.com>
Wed, 12 Jun 2013 22:46:04 +0000 (02:46 +0400)
committerMax Semenik <maxsem.wiki@gmail.com>
Wed, 12 Jun 2013 22:46:04 +0000 (02:46 +0400)
commit5d3374f48ecce8f71fb21551273e2a72817f6a37
treee5c2266c523962a14f456a5916fca6a42fe90f4d
parent35d1c6c8636a7a84962428b51eb91e50b5467350
Add section preview mode to API action=parse

In https://gerrit.wikimedia.org/r/#/c/67266/, it was enabled automatically
when a section was specified in preview mode. However, this only works for
previews of a saved page's content, failing for user input previews which
might contain several sections of various degrees of nestedness.

Change-Id: I987144e5e315ed9e0a67f599083461a78879c0df
RELEASE-NOTES-1.22
includes/api/ApiParse.php