https://bugzilla.wikimedia.org/show_bug.cgi?id=55119

       Web browser: ---
            Bug ID: 55119
           Summary: weblinkchecker: url incorrect parsed when using a
                    multiline template
           Product: Pywikibot
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: weblinkchecker.py
          Assignee: pywikipedia-b...@lists.wikimedia.org
          Reporter: legoktm.wikipe...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1671/
Reported by: harmenhuizinga
Created on: 2013-09-11 12:50:00.328000
Subject: weblinkchecker: url incorrect parsed when using a multiline template
Original description:
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to