https://bugzilla.wikimedia.org/show_bug.cgi?id=55143
Web browser: ---
Bug ID: 55143
Summary: urls ending on a ) incorrectly parsed
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
Priority: Unprioritized
Component: weblinkchecker.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from:
http://sourceforge.net/p/pywikipediabot/bugs/1616/
Reported by: harmenhuizinga
Created on: 2013-04-14 09:25:39
Subject: urls ending on a ) incorrectly parsed
Assigned to: amird
Original description:
$ python version.pyPywikipedia \[http\] trunk/pywikipedia \(r11368, 2013/04/13,
08:16:45, ok\)
Python 2.7.3 \(v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43\)
\[GCC 4.2.1 \(Apple Inc. build 5666\) \(dot 3\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
Weblinks with an \) at the end of the url are handled incorrect by
weblinkchecker. That means that the \) is stripped from the url. See example:
$ python weblinkchecker.py -lang:nl -page:Gebruiker:Smile4ever/test
Getting 1 page from wikipedia:nl...
Waiting for remaining 1 threads to finish, please wait...
\*\[\[Gebruiker:Smile4ever/test\]\] links to
http://nl.wikipedia.org/wiki/Koe\_\(rund - 404 Not Found.
Saving history...
--
You are receiving this mail because:
You are the assignee for the bug.