def treat should be moved to pywikibot/textlib.py (as 'replaceLinks(text, fromPage, toPage)')
Version: core-(2.0)
Severity: normal
def treat should be moved to pywikibot/textlib.py (as 'replaceLinks(text, fromPage, toPage)')
Version: core-(2.0)
Severity: normal
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T60942 Features to move from scripts to framework (tracking) | |||
Open | None | T151110 RFC: Regressions of core should be rethought or solved | |||
Open | None | T61686 fixing_redirects.py: move treat() to pywikibot/textlib |
Change 137802 had a related patch set uploaded by Ricordisamoa:
move treat() out of fixing_redirects.py, as generic textlib.replaceLinks()
Change 137802 had a related patch set uploaded (by XZise):
New textlib.replace_links() link replacements
I don't know why gerritbot commented again but as you can see the same patch (which is still authored by you) was reported by @gerritbot a year ago.
I cannot commit (pun intended) to that patch anymore. Feel free to place it back up for grabs.
reopened due to the revert with 8a7c42f50ac1c99b99d7cac9c because of the regression made by 18e6c9b1e655a807ce0ab732880c9874093cef1b
Change 491673 had a related patch set uploaded (by Dvorapa; owner: Dvorapa):
[pywikibot/core@master] [IMPR] Fix weirdly broken replace_links to behave more expectable
Change 491884 had a related patch set uploaded (by Dvorapa; owner: Dvorapa):
[pywikibot/core@master] [bugfix] Fix the behavior of fixing_redirects.py
Change 491884 had a related patch set uploaded (by Dvorapa; owner: Dvorapa):
[pywikibot/core@master] [bugfix] Fix the behavior of fixing_redirects.py