Add 'fromsection' and 'tosection' to action=compare
Closed, ResolvedPublic


The diffing in ApiQueryRevisionsBase that was deprecated in T164106 used the rvsection option, ApiComparePages should have an equivalent so things using that functionality can be migrated.

Anomie created this task.Dec 30 2017, 5:54 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 30 2017, 5:54 PM

Change 401090 had a related patch set uploaded (by Anomie; owner: Anomie):
[mediawiki/core@master] ApiComparePages: Add 'fromsection' and 'tosection' parameters

Od1n awarded a token.Dec 30 2017, 6:47 PM
Anomie moved this task from Unsorted to Needs Review on the MediaWiki-API board.Jan 2 2018, 3:28 PM

Change 401090 merged by jenkins-bot:
[mediawiki/core@master] ApiComparePages: Add 'fromsection' and 'tosection' parameters

Anomie closed this task as Resolved.Jan 4 2018, 5:17 PM

The new parameters should be deployed to WMF wikis with 1.31.0-wmf.16 or later. See for the schedule.