When rendering a Link, what matters is the Site where the Link comes from, not the Site where the Link points to:
When rendering a Link, what matters is the Site where the Link comes from,
not the Site where the Link points to:

def example():
    ensite = pywikibot.Site('en')
    link = pywikibot.Link('fr:Test', source=ensite)

    return link.astext()

Before : [[Test]]
After : [[fr:Test]]


git-svn-id: 9a050473c2aca1e14f53d73349e19b938c2cf203@6678 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6

legoktm/pywikipedia-rewrite