[Pywikipedia-l] [ pywikipediabot-Bugs-1850347 ] Problems with images in categories
SourceForge.net
noreply at sourceforge.net
Thu Dec 13 22:07:14 UTC 2007
Bugs item #1850347, was opened at 2007-12-13 14:07
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1850347&group_id=93107
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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problems with images in categories
Initial Comment:
I needed to change line 248 of catlib.py from
yield ARTICLE, wikipedia.ImagePage(self.site(), "Image:%s" % title)
to
yield ARTICLE, wikipedia.ImagePage(self.site(), "%s" % title)
because otherwise the call of anycat.articles() yielded pages like [[Bild:Bild:Nettes_Bild.jpg]]
I don't know whether this was the right place to fix the problem.
My view of the sources was updated today.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1850347&group_id=93107
More information about the Pywikipedia-l
mailing list