ApiComparePages: Add 'fromsection' and 'tosection' parameters
authorBrad Jorsch <bjorsch@wikimedia.org>
Sat, 30 Dec 2017 17:59:26 +0000 (12:59 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Sat, 30 Dec 2017 17:59:26 +0000 (12:59 -0500)
commitb7f75836ee234a0cd95b014b65ae9408e3e29251
tree8795cc064dac32270b9774cb4ae9e4fbff75a3e1
parent64a38b3b854607498ea49342b68e9c44a0ea1390
ApiComparePages: Add 'fromsection' and 'tosection' parameters

The deprecated diffing in prop=revisions and such used a 'rvsection'
parameter. To enable migration of things using that, action=compare
needs corresponding section parameters.

Bug: T183823
Change-Id: If1a0e2df614c083b37640418c69cca367ce0e895
includes/api/ApiComparePages.php
includes/api/i18n/en.json
includes/api/i18n/qqq.json
tests/phpunit/includes/api/ApiComparePagesTest.php