Patches item #3602219, was opened at 2013-01-26 09:33
Message generated for change (Comment added) made by nu11zer0
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=360221…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nullzer0 (nu11zer0)
Assigned to: xqt (xqt)
Summary: Convert relative links to absolute links in linkedPages().
Initial Comment:
Convert relative links to absolute links in linkedPages().
----------------------------------------------------------------------
Comment By: Nullzer0 (nu11zer0)
Date: 2013-01-26
14:58
Message:
I should have explained the patch clearer. Sorry.
Relative link is disabled on main namespace of Wikipedia because subpage
feature is disabled there (See
http://en.wikipedia.org/wiki/Wikipedia:Subpages). For example, on main
namespace of Wikipedia, if you write [[/b]] on page "a", it will produce a
link to page "/b". However, if you do the same thing on another namespace
or another family, it will produce a link to [[a/b]]. I just write the code
to simulate this behavior as much as possible.
For os.path problem, I will fix it soon. Thank you for noticing this
problem much. :-)
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2013-01-26 11:56
Message:
In general a good idea but could you please explain that patch? What is the
reason to do that fix outside the wikipedia article namespace only? {the
condition is equal to: not (self.site.family.name == "wikipedia" and
self.namespace() == 0)}
And btw os.path methods does not work for mediawiki "directories" especial
with windows os.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=360221…