[Pywikipedia-l] category.py has a problem with big categories

2010-09-11 Thread Patrol110
I've recently noticed that category.py has a problem with big categories and got down during getting categories or just before saving results. Today I treid to listify Category:Wikiprojekty at pl.wiki with recurse option and got something like this: Getting [[Kategoria:WikiProjekt Pallotyni]]...

Re: [Pywikipedia-l] Question about 'page.isRedirectPage()'

2010-09-11 Thread Merlijn van Deen
Not a stupid question. Yes, that would be faster. Using the API, however, is even better, and this is exactly what is done in the rewrite. As such, I would suggest not to implement this in the trunk - the current version works, albeit slow. If this is really a problem for you, upgrade to the

Re: [Pywikipedia-l] Question about 'page.isRedirectPage()'

2010-09-11 Thread Dr. Trigon
I'm already using a lot of slight changes with respect to the code given. But I'm trying to merge somehow and kill s much of them as possible. I would be willing to use the rewrite, but it seams that there a lot has changed, despite the fact that it has to be installed into the python version (was

Re: [Pywikipedia-l] category.py has a problem with big categories

2010-09-11 Thread BinĂ¡ris
I already wanted to write that I had a problem with a big category, I had to stop the script after an hour with recurse=1 and after 8 hours with recurse=true, possibly an infinite loop, or very slow run. I will write the details later, now I have to leave. 2010/9/11 Patrol110

Re: [Pywikipedia-l] Question about 'page.isRedirectPage()'

2010-09-11 Thread Daniel Mietchen
Side question: Is there an on-wiki way (a magic word or so) to detect whether a certain page is a redirect? Have been looking for such functionality recently when working on templates. Thanks for any pointers, Daniel On Sat, Sep 11, 2010 at 5:30 PM, Dr. Trigon dr.tri...@surfeu.ch wrote: I'm

Re: [Pywikipedia-l] Question about 'page.isRedirectPage()'

2010-09-11 Thread EdoDodo
Hmm... As far as I known that is not possible. I may be wrong, though, I haven't done very much work with templates. EdoDodo Sent from my iPhone On 11 Sep 2010, at 09:47 PM, Daniel Mietchen daniel.mietc...@googlemail.com wrote: Side question: Is there an on-wiki way (a magic word or so) to

[Pywikipedia-l] Question about 'userlib.py'

2010-09-11 Thread Dr. Trigon
Hello everybody! May it be possible, that in 'userlib.py' on lines 220 and 231 (from rev. 8522) the variables 'addr' and 'address' should match and this is an error?!? So the code: def sendMailOld(self, subject = u'',

Re: [Pywikipedia-l] Question about 'userlib.py'

2010-09-11 Thread info
fixed in r8527. Thanks. btw. this is old code stuff which is no longer usable with the last release of mw but for older wikis (which never used it for at least nearby one year) greetings xqt - Original Nachricht Von: Dr. Trigon dr.tri...@surfeu.ch An: