http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11378
Revision: 11378 Author: amir Date: 2013-04-17 15:48:52 +0000 (Wed, 17 Apr 2013) Log Message: ----------- removing parenthesis as a not-at-the-end-mark per bug #3610818
Modified Paths: -------------- trunk/pywikipedia/pywikibot/textlib.py
Modified: trunk/pywikipedia/pywikibot/textlib.py =================================================================== --- trunk/pywikipedia/pywikibot/textlib.py 2013-04-17 14:38:34 UTC (rev 11377) +++ trunk/pywikipedia/pywikibot/textlib.py 2013-04-17 15:48:52 UTC (rev 11378) @@ -837,7 +837,7 @@ # Note: While allowing dots inside URLs, MediaWiki will regard # dots at the end of the URL as not part of that URL. # The same applies to comma, colon and some other characters. - notAtEnd = ']\s.:;,<>"|)' + notAtEnd = ']\s.:;,<>"|' # So characters inside the URL can be anything except whitespace, # closing squared brackets, quotation marks, greater than and less # than, and the last character also can't be parenthesis or another
pywikipedia-svn@lists.wikimedia.org