Bugs item #3586421, was opened at 2012-11-12 10:42 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3586421...
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: General Group: None
Status: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: mpaa (mpaa)
Assigned to: xqt (xqt)
Summary: Page.linkedPages() might not exclude category
Initial Comment: Page.linkedPages() returns Category as linked page if text contains [[:Category: ...]]. [[:Category: ...]] is not removed by removeCategoryLinks() in text lib and then identified as reference.
on Vista Pywikipedia (r10669 (wikipedia.py), 2012/11/07, 13:21:02) Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] config-settings: use_api = True use_api_login = True unicode test: ok
Try http://en.wikisource.org/w/index.php?title=Wikisource:Proofread_of_the_Month...
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-11-12 12:30
Message: I changed the doc string to its feature. The rewrite branch has a better implementation of that method using namespace parameter.
----------------------------------------------------------------------
Comment By: mpaa (mpaa) Date: 2012-11-12 11:58
Message: OK, the comment is a bit misleading, then. One wouldn't expect Category pages as output: "Excludes interwiki and category links, and also image links by default."
----------------------------------------------------------------------
Comment By: betacommand (betacommand) Date: 2012-11-12 11:08
Message: This is expected behavior, [[:category:foo]] links are considered valid page links
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3586421...