https://bugzilla.wikimedia.org/show_bug.cgi?id=55284
Web browser: --- Bug ID: 55284 Summary: "browse" to page with ' in the name Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
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