I upload a somewhat more concise version. I started this on my own before I found out about u/nu11zer0's original post, although I adopted some of their ideas. Note that a relative link always starts with '/' or a series of '../', everything else is a legitimate absolute link or not a link.

Attachment: wikipedia.py.diff (2.1 kB; application/octet-stream)


[patches:#589] Convert relative links to absolute links in linkedPages().

Status: open-fixed
Created: Sat Jan 26, 2013 05:33 PM UTC by Nullzer0
Last Updated: Sun Jan 27, 2013 01:53 PM UTC
Owner: xqt

Convert relative links to absolute links in linkedPages().


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

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