Bugs item #2970428, was opened at 2010-03-15 00:21 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970428...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: masti (masti01) Assigned to: Nobody/Anonymous (nobody) Summary: weblinkchecker.py - not striping | following link
Initial Comment: weblinkchecker.py does not properly stripe trailling pipe "|" character after http links. This can happen when a link in within an inline template as one of the parameters the result is false positive dead link like below
*[[Jean-Claude Nallet]] links to http://www.gbrathletics.com/ic/epm.htm%7C - 404 Not Found.
the link is within Cite page template: <ref>{{Cytuj stronę| url =http://www.gbrathletics.com/nc/fra.htm%7C tytuł = GBRAthletics: French Championships| data dostępu = 26 grudnia 2009| autor = | język = en}}</ref>
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-03-17 23:30
Message: compileLinkR is located in textlib.py in pywikibot folder
----------------------------------------------------------------------
Comment By: masti (masti01) Date: 2010-03-17 20:19
Message: in r7940 the compileLinkR was moved from weblinkchecker to wikipedia library. But compileLinkR does not exist in wikipedia.py. So why line 222 in weblinkchecker does not crash? And where is this function? the solution would be to add | to notAtEnd = ']\s).:;,<>"' parameter in compileLinkR
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970428...
pywikipedia-bugs@lists.wikimedia.org