[Pywikipedia-l] [ pywikipediabot-Bugs-1850347 ] Problems with images in categories

SourceForge.net noreply at sourceforge.net
Wed Dec 19 16:32:49 UTC 2007


Bugs item #1850347, was opened at 2007-12-13 19:07
Message generated for change (Settings changed) made by leogregianin
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: Closed
>Resolution: Fixed
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.

----------------------------------------------------------------------

Comment By: Rotem Liss (rotemliss)
Date: 2007-12-18 14:36

Message:
Logged In: YES 
user_id=1327030
Originator: NO

You are right. Fixed in r4730.

----------------------------------------------------------------------

Comment By: Bernhard Mayr (falk_steinhauer)
Date: 2007-12-16 10:07

Message:
Logged In: YES 
user_id=1810075
Originator: NO

MediaWiki: 1.9.4 
PHP: 5.2.4 (apache2handler) 
MySQL: 4.1.20 


----------------------------------------------------------------------

Comment By: Rotem Liss (rotemliss)
Date: 2007-12-15 10:03

Message:
Logged In: YES 
user_id=1327030
Originator: NO

In the latest version of MediaWiki, this works properly. Which version of
MediaWiki do you use?

----------------------------------------------------------------------

Comment By: Bernhard Mayr (falk_steinhauer)
Date: 2007-12-13 19:08

Message:
Logged In: YES 
user_id=1810075
Originator: NO

I reported the bug.

----------------------------------------------------------------------

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