Last modified: 2013-10-24 18:18:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57284, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55284 - "browse" to page with ' in the name
"browse" to page with ' in the name
Status: RESOLVED WORKSFORME
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:57 UTC by Kunal Mehta (Legoktm)
Modified: 2013-10-24 18:18 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:57:10 UTC
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
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:57:12 UTC
Is this still valid?
Comment 2 Amir Ladsgroup 2013-10-24 18:18:42 UTC
I checked and It worked properly [1], the bug has reported in 2010 It's probably fixed during updates

https://dpaste.de/YKD0

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links