Last modified: 2014-09-08 02:48:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72515, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70515 - redirect.py should not "solve" double redirect to invalid sections
redirect.py should not "solve" double redirect to invalid sections
Status: NEW
Product: Pywikibot
Classification: Unclassified
redirect.py (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-07 10:38 UTC by xqt
Modified: 2014-09-08 02:48 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description xqt 2014-09-07 10:38:27 UTC
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#Incorrect_edits_for_Freedom
Comment 1 John Mark Vandenberg 2014-09-08 02:48:16 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links