Page MenuHomePhabricator

bug with section titles in interwiki.py
Open, LowestPublicBUG REPORT

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1350/
Reported by: toto-azero
Created on: 2011-09-25 11:54:52
Subject: bug with section titles in interwiki.py
Original description:
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


Version: unspecified
Severity: minor
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1350

Details

Reference
bz55234

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 2:28 AM
bzimport set Reference to bz55234.
bzimport added a subscriber: Unknown Object (????).
Legoktm created this task.Oct 5 2013, 4:48 AM

Upping the priority and assigning to myself at least for investigation purposes, this would seem to be a significant issue.

  • priority: 5 --> 7
  • assigned_to: nobody --> bewareofdoug

This is not affected by section titles but a new \(?\) mediawiki behaviour which does no longer interprets a link to the origin language as a language link, e.g. a link to \[\[fr:foo\]\] on a fr site is just a link.

  • assigned_to: bewareofdoug --> nobody
  • Group: --> confirmed
  • Priority: 7 --> 3
Restricted Application added a subscriber: Cyberpower678. · View Herald TranscriptMar 23 2019, 10:18 PM
Xqt changed the subtype of this task from "Task" to "Bug Report".Mar 23 2019, 10:48 PM

Change 474552 had a related patch set uploaded (by Dvorapa; owner: Dvorapa):
[pywikibot/core@master] [bugfix] Do not remove spaces around categories

https://gerrit.wikimedia.org/r/474552

Change 513622 had a related patch set uploaded (by Dvorapa; owner: Dvorapa):
[pywikibot/core@master] [bugfix] Do not remove spaces around categories and language links

https://gerrit.wikimedia.org/r/513622

Huji moved this task from Backlog to Needs Review on the Pywikibot board.Tue, Sep 10, 11:29 AM