Last modified: 2014-11-02 12:29:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57113, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55113 - relative links on Page
relative links on Page
Status: NEW
Product: Pywikibot
Classification: Unclassified
category.py (Other open bugs)
core-(2.0)
All All
: Normal normal
: ---
Assigned To: Pywikipedia bugs
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:26 UTC by Kunal Mehta (Legoktm)
Modified: 2014-11-02 12:29 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:26:15 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\).
Comment 1 Merlijn van Deen (test) 2013-10-26 15:51:16 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links