[bugs:#1350] bug with section titles in interwiki.py

Status: open
Labels: interwiki
Created: Sun Sep 25, 2011 11:54 AM UTC by Toto Azéro
Last Updated: Thu Jul 19, 2012 04:26 AM UTC
Owner: nobody

There is a bug with the interwiki.py script : when the bot finds out an interwiki-link which must be deleted (without -force or -cleanup options), and when this link is at the end of a section, the bot destroys the next section.

See this for example : http://ja.wikipedia.org/w/index.php?title=ヘンリー銃&diff=37754031&oldid=37738852
Although this diff is quite old, this bug is still present in the script (I've made an try to check : see http://fr.wikipedia.org/w/index.php?diff=70277802\).

--------------------

python version.py

Pywikipedia [http] trunk/pywikipedia (r9543, 2011/09/25, 09:08:55)
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok


Sent from sourceforge.net because Pywikipedia-bugs@lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.