_______________________________________________Just for the sake of completeness: I've just found that Pywikibot's Link() class makes thinks just easier by parsing site, namespace and page title automatically.
title=":mw:Manual:Pywikibot"l = pywikibot.page.Link(title)
Florian
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/LIKLVLSRJRPHP32YCLEZMRMSOW56AY6T/
To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org