https://bugzilla.wikimedia.org/show_bug.cgi?id=70515
Bug ID: 70515 Summary: redirect.py should not "solve" double redirect to invalid sections Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: redirect.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: info@gno.de Web browser: --- Mobile Platform: ---
redirect.py should not solve double redirects to section links when the target section does not exists.
See https://en.wikipedia.org/w/index.php?title=User_talk:Xqt&oldid=624409138...
https://bugzilla.wikimedia.org/show_bug.cgi?id=70515
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com
--- Comment #1 from John Mark Vandenberg jayvdb@gmail.com --- textlib has function 'does_text_contain_section', and mwpfh has code.get_sections , which is being used in https://gerrit.wikimedia.org/r/#/c/118795/ to detect sections in the page.
pywikipedia-bugs@lists.wikimedia.org