Last modified: 2014-05-30 03:51:48 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 T57119, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55119 - weblinkchecker: url incorrect parsed when using a multiline template
weblinkchecker: url incorrect parsed when using a multiline template
Status: NEW
Product: Pywikibot
Classification: Unclassified
weblinkchecker.py (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:28 UTC by Kunal Mehta (Legoktm)
Modified: 2014-05-30 03:51 UTC (History)
1 user (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:28:14 UTC
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
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:28:16 UTC
https://gerrit.wikimedia.org/r/#/c/84229/ merged

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


Navigation
Links