Last modified: 2014-11-02 12:29:26 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/75/ Reported by: Anonymous user Created on: 2007-01-28 21:44:27 Subject: category.py add blind with contextual links Original description: When using category.py add and giving a page where wikilinks are in this form \[\[/foo\]\] or \[\[/foo/\]\] \(http://en.wikibooks.org/w/index.php?title=C%2B%2B\_Programming&action=edit for exemple\) or included in a template, the robot will parse pages named litteraly \[\[/foo\]\] instead of \[\[\{\{PAGENAME\}\}/foo\]\]. And if the link is included in a template, the robot will see anything \(but for the template, it's often more convenient and not so problematic\).
Compat has completely no support for relative links in the API. Core does, but the support is non-functional: >>> pywikibot.Page(pywikibot.Page(pywikibot.Site('nl'), 'Gebruiker:Valhallasw'), '/test') Page(/test) Marking 'easy' for core implementation