[bugs:#1671] weblinkchecker: url incorrect parsed when using a multiline template

Status: open
Labels: weblinkchecker
Created: Wed Sep 11, 2013 12:50 PM UTC by Harmen
Last Updated: Wed Sep 11, 2013 12:50 PM UTC
Owner: nobody

Today I discovered a problem parsing urls within multiline templates on https://nl.wikipedia.org/w/index.php?title=Rie_Timmer

In this article there are a few urls used within templates, but the urls used in multiline templates are parsed incorrect (including the }} at the end): e.g. http://www.vsgermelo.nl/vsg_bulletin/82/20010982.htm}}

Template:
{{cite journal
| author=R. Boterenbrood, S. Westra, L. Korterink
| journal=VSG-bulletin
| title=Rie Timmer, dameskampioen van Nederland in 1971
| volume=35
| issue=82
| date=september 2001
| url=http://www.vsgermelo.nl/vsg_bulletin/82/20010982.htm}}

However, another url within a template, but not multiline works fine:
* {{Link chessgames.com|url=http://www.chessgames.com/player/rie_timmer.html}}

Version information:
$ python version.py
Pywikipedia [https] r/pywikibot/compat (r10277, ea68647, 2013/09/11, 14:28:43, 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


Sent from sourceforge.net because Pywikipedia-bugs@lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.