Page MenuHomePhabricator

Provide a getSection() method in the Revision class
Open, LowestPublic



It would be nice to have a getSection() method on the Revision class that returns the section modified by this edit (if the edit concerns only a specific section).
I would use this to display an excerpt of this section in the recent changes on our homepage for example.


Event Timeline

Rudloff created this task.Jun 1 2017, 6:01 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 1 2017, 6:01 PM
Aklapper renamed this task from Get section of a revision to Provide a getSection() method in the Revision class.Jun 2 2017, 9:52 AM
Aklapper triaged this task as Lowest priority.
Aklapper edited projects, added MediaWiki-History-and-Diffs; removed MediaWiki-General.