Page MenuHomePhabricator

"browse" to page with ' in the name
Closed, DeclinedPublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1137/
Reported by: Anonymous user
Created on: 2010-03-09 18:08:05
Subject: "browse" to page with ' in the name
Original description:
% python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r7976, 2010/03/04, 05:43:35\)
Python 2.6.1 \(r261:67515, Jul 7 2009, 23:51:51\)
\[GCC 4.2.1 \(Apple Inc. build 5646\)\]

\---8<---

When using replace.py and asking to browse to a page with a single quote in the name causes an assertion error. Trace here:

Do you want to accept these changes? \(\[y\]es, \[N\]o, \[e\]dit, open in \[b\]rowser, \[a\]ll, \[q\]uit\) b
Traceback \(most recent call last\):
File "replace.py", line 719, in <module>
main\(\)
File "replace.py", line 714, in main
bot.run\(\)
File "replace.py", line 422, in run
page.site\(\).nice\_get\_address\(page.title\(\)\)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/webbrowser.py", line 61, in open
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/webbrowser.py", line 570, in open
AssertionError


Version: unspecified
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1137

Details

Reference
bz55284

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:31 AM
bzimport set Reference to bz55284.
bzimport added a subscriber: Unknown Object (????).

I checked and It worked properly [1], the bug has reported in 2010 It's probably fixed during updates

https://dpaste.de/YKD0