Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [8539] trunk/pywikipedia/wikipedia.py

2010-09-12 Thread Bináris
Does it mean that trunk users may use now asLink instead of page.aslink(), or is this only a formal parameter? 2010/9/12 x...@svn.wikimedia.org --- wikipedia.Page(asLink=False) is implemented for easier merging to rewrite branch ___

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] [Pywikipedia-svn] SVN: [8499] trunk/pywikipedia/wikicomserver.py

2010-09-08 Thread Bináris
2010/9/8 x...@svn.wikimedia.org Revision: 8499 pywikipediaDir = c:\\Projects\\Personal\\wiki\\pywikipedia I have never used this script, but is this really OK for everyone? ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org

Re: [Pywikipedia-l] How to read special pages?

2010-09-06 Thread Bináris
Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] [ pywikipediabot-Bugs-3060262 ] commonscat.py addition for sv.wikipedia

2010-09-06 Thread Bináris
So this is the way? If it works, I will use your idea. :- Bugs item #3060262, was opened at 2010-09-06 11:25 Message generated for change (Settings changed) made by wikimercy Priority: 9 ignoreTemplates = { 'sv' : [u'commonscatbox'], -- Bináris

[Pywikipedia-l] How to read special pages?

2010-09-05 Thread Bináris
I want to read a special page with Page.get(). The message is: File C:\Program Files\Pywikipedia\wikipedia.py, line 601, in get raise NoPage('%s is in the Special namespace!' % self.aslink()) pywikibot.exceptions.NoPage What is the solution? -- Bináris

Re: [Pywikipedia-l] How to read special pages?

2010-09-05 Thread Bináris
Well, I wrote it for myself during Starwars III. Not easily, but I learnt something. Nice conversation with myself. :-) I don't understand, why are there only some special pages in wikipedia.py while others are not. 2010/9/5 Bináris wikipo...@gmail.com I have read wikipedia.py, and I found

Re: [Pywikipedia-l] Need some help sorting out a couple of issues

2010-08-31 Thread Bináris
Please give the exact command you use, and the error dump on your screen. Have you tried the same action on a real wiki? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo

Re: [Pywikipedia-l] Request for feedback on rewrite branch

2010-08-31 Thread Bináris
version? 4. Is http://www.botwiki.sno.cc/wiki/Rewrite/Conversion_HOWTO#Installationstill correct and actual? Regards, -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

[Pywikipedia-l] Which is official?

2010-08-24 Thread Bináris
http://www.mediawiki.org/wiki/Special:Code/pywikipedia http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/ What is the difference, or which is to be regarded as more up-do-date? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l

Re: [Pywikipedia-l] Which is official?

2010-08-24 Thread Bináris
Thank you! -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

[Pywikipedia-l] Please add translation to catlib.py

2010-08-23 Thread Bináris
In catlib.py, msg_created_for_renaming = { 'hu':u'Bottal áthelyezve innen: %s. Eredeti szerzők: %s', Thx -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] How to mass rename articles?

2010-08-22 Thread Bináris
]] [[KkStB 7]] [[KkStB 76 sorozatú szerkocsi]] -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Strange behavior of wikipedia.py when protecting a page

2010-08-20 Thread Bináris
I have put a time.sleep(20) between the page creation and the page protection, just in case. Perhaps the script was too fast. But nothing happened, the result is the same error as mentioned above. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l

[Pywikipedia-l] userlib.py -- outdated parameters

2010-08-19 Thread Bináris
with the real parameter names.) Could any developer please rewrite them? This is NOT a bug, this is only annoying, not very urgent. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo

Re: [Pywikipedia-l] userlib.py -- outdated parameters

2010-08-19 Thread Bináris
Oh, I cannot give the block, poor vandal! THIS is a bug: File C:\Program Files\Pywikipedia\userlib.py, line 377, in block self.site()._getActionUser('block', sysop=True) AttributeError: 'Site' object has no attribute '_getActionUser' -- Bináris

[Pywikipedia-l] Strange behavior of wikipedia.py when protecting a page

2010-08-19 Thread Bináris
', etc. So it has only a common editcreate parameter. Please help, what is wrong in my solution, and how is it possible, that first time a page cannot be protected, and the second time it can? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l

Re: [Pywikipedia-l] Strange behavior of wikipedia.py when protecting a page

2010-08-19 Thread Bináris
2010/8/19 Bináris wikipo...@gmail.com I tried to change the order of script lines: first protection, and saving afterwards. This works! But this way the bot creates the pages under my sysop name, because they are already protected. ... and removes the protection, becuse protection was only

[Pywikipedia-l] How to mass rename articles?

2010-08-10 Thread Bináris
, what is not too nice, but now I don't know all the original titles, only patterns. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] How to mass rename articles?

2010-08-10 Thread Bináris
-- Alex ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l

Re: [Pywikipedia-l] How to mass rename articles?

2010-08-10 Thread Bináris
the program, not as command line parameter, I guess. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

[Pywikipedia-l] How to get an orange stripe?

2010-08-02 Thread Bináris
My bot edited my talk page with page.put(blabla..., botflag=False), and I got no orange stripes. How can I solve it? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] How to get an orange stripe?

2010-08-02 Thread Bináris
Solved. Sorry for asking before searching. I have already asked this two years ago, [?] and the answer is minorEdit=False. 2010/8/2 Bináris wikipo...@gmail.com My bot edited my talk page with page.put(blabla..., botflag=False), and I got no orange stripes. How can I solve it? -- Bináris

[Pywikipedia-l] Using more in replace.py?

2010-07-29 Thread Bináris
line. I can open the article in editor or browser, but it is too slow, and not always necessary. Pressing m in solve_sisambiguation.py is much faster. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org

[Pywikipedia-l] Replacing texts in namespace 6

2010-07-29 Thread Bináris
(*[[:Fájl:something]] instead of *[[Fájl:something]]), nothing happened. Is there an issue that -links doesn't work with files? It works properly directly, e. g. wit -xml:... or -transcludes:... options. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l

Re: [Pywikipedia-l] replace.py - annoying characters on display

2010-07-29 Thread Bináris
Thank you very much, André! -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Hungarian localisation update

2010-02-04 Thread Bináris
2010/2/4 Bence Damokos bdamo...@gmail.com And also selflink.py? Add to msg after line 48: 'hu':u'Bot: Önmagára mutató hivatkozások eltávolítása', The correct version instead the above one is: 'hu':u'Bot: Önmagukra mutató hivatkozások eltávolítása', Sorry, Dami. :-) -- Bináris

Re: [Pywikipedia-l] Need help with page histories

2009-12-01 Thread Bináris
, and in getVersionHistory() as u''. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

[Pywikipedia-l] Need help with page histories

2009-11-30 Thread Bináris
! -- Bináris proba.py Description: Binary data ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] skip to next occurrence in a page?

2009-11-26 Thread Bináris
thought, \\2 should be interpreted as a \ mark followed by a 2 number, not \2 (second group). So I don't understand again. :-) -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo

[Pywikipedia-l] Regex help, please!

2009-10-27 Thread Bináris
want to copy \1 and a zero character immediately after it? Thank you, -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Regex help, please!

2009-10-27 Thread Bináris
question: how can I substitute a new line? \n works in the query, but not in the expression to be substituted. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] -excepttext failure in replace.py

2009-10-10 Thread Bináris
parameters? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] -excepttext failure in replace.py

2009-10-10 Thread Bináris
other language code, while working in huwiki! 2009/10/10 Bináris wikipo...@gmail.com Since no useful answer has arrived, and I have spent a plenty of time with experiments, finally I took excepttext out from the replace command, and inserted teh exceptions into the fix itself. Now it works

[Pywikipedia-l] -excepttext failure in replace.py

2009-10-03 Thread Bináris
00:18:58Z siebrand $' But the same error appeared earlier, too. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

<    3   4   5   6   7   8