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

Description

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.Sat, Dec 30, 5:54 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSat, Dec 30, 5:54 PM

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

https://gerrit.wikimedia.org/r/401090

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

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

https://gerrit.wikimedia.org/r/401090

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

The new parameters should be deployed to WMF wikis with 1.31.0-wmf.16 or later. See https://www.mediawiki.org/wiki/MediaWiki_1.31/Roadmap for the schedule.