Page MenuHomePhabricator

rewrite textlib.Content Class
Closed, ResolvedPublicFeature

Description

rewrite textlib.Content Class that sections entry works like a list but the is not the Section object but the heading key or heading and level. Maybe (ordered) dict would also be appropriate. The idea is to find a section by its heading.

Details

Related Changes in Gerrit:

Related Objects

StatusSubtypeAssignedTask
OpenBUG REPORTNone
ResolvedFeatureXqt

Event Timeline

Xqt triaged this task as High priority.Aug 8 2025, 8:04 AM
Xqt changed the subtype of this task from "Task" to "Feature Request".
Xqt moved this task from Backlog to Improvements on the Pywikibot-textlib board.
Xqt changed the task status from Open to In Progress.Aug 8 2025, 11:00 AM
Xqt claimed this task.

Change #1176691 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] IMPR: textlib.Content Class

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

Change #1176691 merged by jenkins-bot:

[pywikibot/core@master] IMPR: Improvements for textlib.Content class

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