[Pywikipedia-bugs] [Maniphest] [Commented On] T338748: Enhance extract_sections headings with level and (stripped) name attributes

2023-06-28 Thread gerritbot
gerritbot added a comment. Change 930899 **merged** by jenkins-bot: [pywikibot/core@master] [IMPR] improvement for textlib.extract_sections() function https://gerrit.wikimedia.org/r/930899 TASK DETAIL https://phabricator.wikimedia.org/T338748 EMAIL PREFERENCES https://phabricat

[Pywikipedia-bugs] [Maniphest] [Commented On] T338748: Enhance extract_sections headings with level and (stripped) name attributes

2023-06-17 Thread gerritbot
gerritbot added a comment. Change 930899 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [IMPR] improvement for textlib.extract_sections() function https://gerrit.wikimedia.org/r/930899 TASK DETAIL https://phabricator.wikimedia.org/T338748 EMAIL PR

[Pywikipedia-bugs] [Maniphest] [Commented On] T338748: Enhance extract_sections headings with level and (stripped) name attributes

2023-06-11 Thread Xqt
Xqt added a comment. In T338748#8921488 , @matej_suchanek wrote: > That's precisely why such a "stripped name" should exist. ("The stripped name does not contain the equals signs." is the description of the feature.) Ah, now I under

[Pywikipedia-bugs] [Maniphest] [Commented On] T338748: Enhance extract_sections headings with level and (stripped) name attributes

2023-06-11 Thread matej_suchanek
matej_suchanek added a comment. That's precisely why such a "stripped name" should exist. ("The stripped name does not contain the equals signs." is the description of the feature.) TASK DETAIL https://phabricator.wikimedia.org/T338748 EMAIL PREFERENCES https://phabricator.wikimedia.org/

[Pywikipedia-bugs] [Maniphest] [Commented On] T338748: Enhance extract_sections headings with level and (stripped) name attributes

2023-06-11 Thread Xqt
Xqt added a comment. > The stripped name does not contain the equals signs. The section headers aren't stripped: import pywikibot from pywikibot.textlib import extract_sections from pprint import pprint s = pywikibot.Site('wikipedia:en') t ="""'''A''' is a thing.