[Pywikipedia-l] Script for mass copy

2011-10-09 Thread Bináris
I work on a script that will mass copy pages from one wiki to another. The main purpose is to fetch my favourite templates from huwiki to my own local wiki. I have found nothing like that in the framework, is it new or I just have not noticed it? In the first case I will publish it. -- Bináris

Re: [Pywikipedia-l] Script for mass copy

2011-10-09 Thread Bináris
2011/10/9 Bináris wikipo...@gmail.com Thanks! Oh, why are they not in Pywikipedia? However, import.py has one title wired in the code, but will import with page history; my script mass copies pages based on a file, but with no history. Is it useful for Pywiki? The real stuff should be the two

Re: [Pywikipedia-l] how to force replace.py to avoid wiki links

2011-10-04 Thread Bináris
___ 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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo

[Pywikipedia-l] SVN access request

2011-09-03 Thread Bináris
list in the past years. Please support and give me technical help to use the system. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

[Pywikipedia-l] Enhacement of replace.py on Meta

2011-08-28 Thread Bináris
.) -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Enhacement of replace.py on Meta

2011-08-28 Thread Bináris
2011/8/28 Bináris wikipo...@gmail.com Please check it and complete is necessary. is -- if -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Enhacement of replace.py on Meta

2011-08-28 Thread Bináris
2011/8/28 Dr. Trigon dr.tri...@surfeu.ch Thanks a lot - such manual fits perfectly well into my (very long term) plans for creation of a Script WikiUserInterface bot... ;)) What will this bot do? I can hardly imagine from the name. -- Bináris

Re: [Pywikipedia-l] Expressions in Cosmetic changes

2011-08-18 Thread Bináris
2011/8/18 Bináris wikipo...@gmail.com Whether or not the bot handles your expression as regex, is not *sotred *within the expression itself, stored, of course -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https

Re: [Pywikipedia-l] Urlencoded section titles

2011-08-10 Thread Bináris
2011/8/8 Merlijn van Deen valhall...@arctus.nl Hello Bináris, Based on the page [1], this actually seems correct. If you check the TOC. It uses this exact same format. http://hu.wikipedia.org/wiki/M%C3%A1sodik_vil%C3%A1gh%C3%A1bor%C3%BA#Partrasz.C3.A1ll.C3.A1s_Szic.C3.ADli.C3.A1ban_

Re: [Pywikipedia-l] Urlencoded section titles

2011-08-10 Thread Bináris
Thank you, Merlijn, I will try it! Alternatively, I can make a fix and use replace.py because there is a limited set of these characters that usually occur in titles. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https

Re: [Pywikipedia-l] No permission to send mail...

2011-07-24 Thread Bináris
Try to write a line just before the e-mail sending that checks if your bot is still logged in. Is it possible that sometimes it loses the logged-in status? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https

Re: [Pywikipedia-l] No permission to send mail...

2011-07-24 Thread Bináris
2011/7/24 Dr. Trigon dr.tri...@surfeu.ch What do you think? No other idea at the moment. :-( -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Category.py misbehaviour

2011-07-19 Thread Bináris
did not produce this behaviour earlier (this is not the first time I wanted to use it for deleting a category). -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Fixes and functions (was: Regex help needed)

2011-07-10 Thread Bináris
I enhanced the tutorial with two more chapters: one about the lookaheads/lookbehinds (it is important because a varible width lookbehind is not allowed in a regex but sometimes necessary) and one about the use of lambda functions. 2011/7/3 Bináris wikipo...@gmail.com I am glad to announce

Re: [Pywikipedia-l] A strange warning message

2011-07-08 Thread Bináris
2011/7/7 i...@gno.de This is from wikipedia.postData() which ensures that all sent data is received otherwise it calls itself recursively Does it mean a network error during the saving of the page? -- Bináris ___ Pywikipedia-l mailing list

[Pywikipedia-l] A strange warning message

2011-07-05 Thread Bináris
are: import re import date import wikipedia as pywikibot import archivebot -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] python 2.72

2011-07-03 Thread Bináris
Tell this the guy on German bot owners' noticeboard, there is just a question on this that I have seen recently. :-) -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] botMayEdit() and {{nobots}}

2011-07-02 Thread Bináris
I think it is a bit overcomplicated. *Nobots *should have no parameter and mean no bots, and all other work should be done with *bots*. This cross-parametering is redundant and therefore harmful. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l

Re: [Pywikipedia-l] Regex help needed

2011-07-01 Thread Bináris
Sorry for the mistakes in the previous letter. 2011/7/1 Bináris wikipo...@gmail.com In the first one, replacement *test **text* is a function that asks me to choose between *to **two* options. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia

Re: [Pywikipedia-l] Regex help needed

2011-07-01 Thread Bináris
Sorry for being silly, I just realize that I should have tried match.start and match.end, but now I have to leave my beloved computer. 2011/7/1 Bináris wikipo...@gmail.com I have a problem with the forst one: although I can write the old text on screen and ask for a choice, I cannot present

Re: [Pywikipedia-l] Regex help needed

2011-06-27 Thread Bináris
to use two separate regexes -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Where is the error?

2011-06-24 Thread Bináris
Thank you very much! On one hand, this is disappointing because I see no hope for a quick fix, on the other hand I would have never found this problem, and I appreciate your help. Unfortunaltely, there is a popular habit in huwiki to use LT without its beeing ready. -- Bináris

Re: [Pywikipedia-l] Where is the error?

2011-06-07 Thread Bináris
... //Saper ___ 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] Where is the error?

2011-06-04 Thread Bináris
\Pywikipedia\xmlreader.py, line 313, in new_parse for event, elem in context: File string, line 68, in __iter__ SyntaxError: no element found: line 27487351, column 9 no element found: line 27487351, column 9 20 titles were saved. -- Bináris

[Pywikipedia-l] pywikibot.translate

2011-05-26 Thread Bináris
Is pywikibot.translate deprecated now in trunk? Or will soon be deprecated? 2011/5/26 x...@svn.wikimedia.org http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9271 Revision: 9271 Author: xqt Date: 2011-05-26 05:59:01 + (Thu, 26 May 2011) Log Message: --- use i18n

Re: [Pywikipedia-l] pywikibot.translate

2011-05-26 Thread Bináris
Huhhh... A great load is taken off my mind. :-)) 2011/5/26 i...@gno.de I guess pywikibot.translate() keeps valid and will not be deprecated. ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org

[Pywikipedia-l] Paramteters of handleArgs

2011-05-18 Thread Bináris
parameters as well. So, what is the difference? I know the theory that * means a variable width argument list, but if I omit it, the behaviour does not change. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org

Re: [Pywikipedia-l] Paramteters of handleArgs

2011-05-18 Thread Bináris
Now I understand, thank you! -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

[Pywikipedia-l] Strange month names from Site.mediawiki_message

2011-04-25 Thread Bináris
. There are two rows, *ba* and *ky*, where there are alternative versions in parenthesis, the basic version being *almost* identical to Russian. Does it mean that any of the given versions may appear in that wiki as a month name? -- Bináris

Re: [Pywikipedia-l] Strange month names from Site.mediawiki_message

2011-04-25 Thread Bináris
Thank you, Jon, these were really useful answers. I think the script will try to get the month names from mediawiki, and there will be an option to overwrite them for a selected language. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l

Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [9196] trunk/pywikipedia

2011-04-24 Thread Bináris
Does rewrite already handle XML dumps? ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Minor bug reports, please correct

2011-04-20 Thread Bináris
Thank you for correcting one of them, but some bug still remained. 2011/4/20 Bináris wikipo...@gmail.com http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/archivebot.py?view=markup In lines 892-894 'i.e.' should be 'i. e.' (with a space between them), and '0-ás' should be '0-s

Re: [Pywikipedia-l] Minor bug reports, please correct

2011-04-20 Thread Bináris
BTW, what is the advantage of making roman numbers a tuple instead of a list? http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/date.py?r1=9042r2=9184sortby=date -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org

[Pywikipedia-l] Beauty Award for isDisabled

2011-04-15 Thread Bináris
into the well instead of the mailbox... -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

[Pywikipedia-l] Introducing TOCbot

2011-04-09 Thread Bináris
wikicommunity, not only for huwiki. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

[Pywikipedia-l] isBotEdit?

2011-03-17 Thread Bináris
Hi, I wrote a script that examines articles using fullVersionHistory(). How can I know if a version is edited by a bot or a human? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo

Re: [Pywikipedia-l] isBotEdit?

2011-03-17 Thread Bináris
2011/3/17 Marcin Cieslak sa...@saper.info How do you know who is sitting behind the keyboard? Bots are running, only humans can sit. :-) I presume you mean the bot flag on the change. Thank you for precising, that's what I mean. This is only useful (and available) in context of the

Re: [Pywikipedia-l] isBotEdit?

2011-03-17 Thread Bináris
a bug about this on Bugzilla. It's still open -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] import wikipedia

2011-03-15 Thread Bináris
user-config.py. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

[Pywikipedia-l] Featured articles

2011-03-13 Thread Bináris
Hi! Where are the names of {{Featured article}} templates of different wikis? I have neither found them in interwiki.py nor in families. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman

Re: [Pywikipedia-l] Featured articles

2011-03-13 Thread Bináris
use categories to find FA's, though, for most wikis. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Featured articles

2011-03-13 Thread Bináris
Oh, now I see. Thank you! 2011/3/13 Bináris wikipo...@gmail.com And what does BACK mean instead of CAT? 2011/3/13 Merlijn van Deen valhall...@arctus.nl http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/featured.py?revision=9042view=markup http://svn.wikimedia.org/viewvc

Re: [Pywikipedia-l] Encoding in HTML source

2011-03-07 Thread Bináris
in pywikibot. Or a webpage that explains which characters avoid encoding. Thanks, -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Encoding in HTML source

2011-03-07 Thread Bináris
For those using gmail: the half of my last letter disappears as quotation, so you should uncover it. :-) ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Encoding in HTML source

2011-03-07 Thread Bináris
(rtitle=(.*?)amp;action=edit, fullsourcetext)] def exists(page): return page.title() in existing This works fine! I didn't know that titles could be encoded in Page(). There are already some regexes in my code. Thank you! -- Bináris

Re: [Pywikipedia-l] Encoding in HTML source

2011-03-07 Thread Bináris
A slight correction: This lists red titles. :-) not_existing = [wikipedia.Page(wikipedia.getSite(), pname).title() for pname in re.findall(rtitle=(.*?)amp;action=edit, fullsourcetext)] def exists(page): return page.title() *not *in not_existing

Re: [Pywikipedia-l] replace.py -silent -- please comment

2011-03-03 Thread Bináris
anyway. I will never collect articles with -save and -showdiff again. This is a new world. :-) -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

[Pywikipedia-l] SVN help

2011-03-03 Thread Bináris
to the rev numbers this way? Will they confuse? Or how do you solve this (those who develop and not only use the bot)? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] replace.py -catr: max depth error

2011-02-28 Thread Bináris
2011/2/28 Morten Wang nett...@gmail.com seenCategories = set(); # then in my loop: if not cat.title() in seenCategories: seenCategories.add(cat.title()); # do something with this category I think the if line is not necessary here because of definition of sets. Just add. I try

Re: [Pywikipedia-l] replace.py -catr: max depth error

2011-02-28 Thread Bináris
Yes, my notice is half valid. The is necessary for the actions, not for storing. Anyway, not a big difference in efficiency. :-) I mean, adding to set works with a builtin if that is slightly faster than an interpreted if line, and anyway, it will be executed.

Re: [Pywikipedia-l] replace.py -catr: max depth error

2011-02-27 Thread Bináris
I have only 256 MB RAM in my computer. May this cause the above problem? Is there any connection? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Annoying messages

2011-02-27 Thread Bináris
2011/2/27 Merlijn van Deen valhall...@arctus.nl Hi Bináris, Please do a reply-to-all, or your replies won't end up in the discussion list. Sorry, I have not noticed, sometimes my replies go to the list, and sometimes they don't. touch.py has a -redir option that will let you touch

Re: [Pywikipedia-l] Two minor problems in replace.py (attn xqt)

2011-02-26 Thread Bináris
2011/2/25 Merlijn van Deen valhall...@arctus.nl Of course, the 'a' if append else 'w' is nicer, but has only been supported for python 2.5+. Yet another variant: *pywikibot.iif(append,'a','w')* I have just found this function in wikipedia.py. :-)

[Pywikipedia-l] Annoying messages

2011-02-26 Thread Bináris
) No result, the message continues to appear. My bot's talk page is redirected to my own talk page, as it is at the majority of bot owners. I don't need such messages. How can I switch it off? Is there a switch in the config? -- Bináris ___ Pywikipedia-l mailing

[Pywikipedia-l] Two minor problems in replace.py (attn xqt)

2011-02-25 Thread Bináris
an IF here as far as I remember, and you turned it to lambda function. But somehow the -save option behaves now just as -savenew does, i.e. overwrites the old file instead of appending. Could you please help? -- Bináris ___ Pywikipedia-l mailing list

Re: [Pywikipedia-l] Two minor problems in replace.py (attn xqt)

2011-02-25 Thread Bináris
2011/2/25 i...@gno.de OK Thanks a lot. I tried it in idle: Then I continue investigating it. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Two minor problems in replace.py (attn xqt)

2011-02-25 Thread Bináris
, third, method, would be append = True ['w', 'a'][append] 'a' This is great, I would never have thought of that myself! I learned something interesting today. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https

Re: [Pywikipedia-l] SourceForge passwords

2011-02-16 Thread Bináris
loading pb.transformie.js. I cannot do anyting onto these request yet or furthermore. xqt -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] pywikipediabot.org

2011-02-16 Thread Bináris
and in different states. It could do with some improving, but needs a nice home for it. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

[Pywikipedia-l] SourceForge passwords

2011-01-29 Thread Bináris
Have you also got an e-mail with subject SourceForge.net passwords reset? Is that authentic? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [8863]

2011-01-20 Thread Bináris
2011/1/21 x...@svn.wikimedia.org http://www.mediawiki.org/wiki/Special:Code/pywikipedia/8863 move branches zu archive since i18n is implemented in rewrite branch zu :-DDD ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org

Re: [Pywikipedia-l] problem with replace.py

2011-01-16 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] problem with replace.py

2011-01-16 Thread Bináris
And it is likely that once you have specified -regex, you have to type \| instead of |, because | has a special meaning in regexes. 2011/1/16 Bináris wikipo...@gmail.com First, you must specify -regex in the command if you want \n to mean a newline instead of literal \n. Second, -cat:Dumpers

Re: [Pywikipedia-l] problem with replace.py

2011-01-16 Thread Bináris
Thanks for helping D:\Development\pywikibotpython replace.py -cat:Dumpers -regex \|\n\|- \|Yes\n\|- didn’t work at all and without the \ before | it sort of freeze *From:* Bináris wikipo...@gmail.com *Sent:* Sunday, January 16, 2011 11:39 AM *To:* Pywikipedia discussion list

Re: [Pywikipedia-l] Commit access requests

2011-01-16 Thread Bináris
Do you think I could request an access? I work much with replace.py, and I have often ideas to improve it. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Commit access requests

2011-01-16 Thread Bináris
/pywikipedia/trunk/pywikipedia/userinterfaces/ Try to descend to alpha and remember, how did you do that. :-) -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Commit access requests

2011-01-16 Thread Bináris
Then teach me, please. Is there a manual? 2011/1/16 Dr. Trigon dr.tri...@surfeu.ch ... ;) the opposite hold for me: I _know_ how to commit but I also _know_ that do not have access... ;) -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l

Re: [Pywikipedia-l] [Pywikipedia-announce] Translatewiki integration in the rewrite branch

2011-01-16 Thread Bináris
Great job. I have seen your comments about the Hackathon. :-) -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Translatewiki integration in the rewrite branch

2011-01-16 Thread Bináris
preferably arrive to that thread, too, in order to keep this topic together for later search. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Commit access requests

2011-01-16 Thread Bináris
Thanks, Trigon. I understand German with a dictionary if necessary, ich habe das Abitur abgelegt, but 26 years ago... :-) -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo

Re: [Pywikipedia-l] Please help me set up archivebot.py for English Wikisource

2011-01-07 Thread Bináris
Please click on the website of this list in the footer of the mail, and look for threads - Unicode bug in python 2.6+ (was: Default Python will change to 2.7) - Default Python will change to 2.7 a few days ago. I think this might be relevant for you. Cheers, -- Bináris

Re: [Pywikipedia-l] Commit access requests

2010-12-31 Thread Bináris
2010/12/31 Rob Lanphier ro...@wikimedia.org 2. The access request is from this person: http://www.mediawiki.org/wiki/User:Ebraminio Any objections to granting access for this person? 3 patches on SF (http://sourceforge.net/users/ebraminio/) and never seen on this mailing list. -- Bináris

[Pywikipedia-l] LiquidThreads

2010-12-31 Thread Bináris
pages.) Does pywikibot have any tools for LT? I mean *deciding whether LT is implemented in a specific wiki or not *deciding if a user/category/template/article/community page (not in talk namespace!) has conventional talk/page form or LT *handling LT pages -- Bináris

Re: [Pywikipedia-l] Replace.py bug? No more than 100 items with -search

2010-12-27 Thread Bináris
It is still open on SourceForge. And thanks again here publicly, the previous went to private address. 2010/12/26 i...@gno.de done in r8801. Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org

Re: [Pywikipedia-l] setting my custom bot for my ncdb wiki

2010-12-23 Thread Bináris
the same block MUST be each under the other. Basically, a program ine following a line ending with : character has to be indented to the next indentation level (Python habit is 4 spaces for each level, and never mix tabs and spaces in the same file). -- Bináris

Re: [Pywikipedia-l] setting my custom bot for my ncdb wiki

2010-12-23 Thread Bináris
not-commented line. If you are sure that all this must be commented, then put a pass (empty instruction) in the apipath function, but I think that a function should return some value under any circumstances, that's why it is a function. -- Bináris

Re: [Pywikipedia-l] setting my custom bot for my ncdb wiki

2010-12-22 Thread Bináris
. Please write the modified lines only. Normally these should not be changed at all for basic use. That's what user-config.py and families are for. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org

Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [8785] trunk/pywikipedia

2010-12-20 Thread Bináris
current and official and the second one obsolete. *(But I would appreciate to see my request concerning making -search useable in pagegenerators done before all this happens. :-)))* -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org

Re: [Pywikipedia-l] Failure to login to a new mediawiki setup

2010-12-07 Thread Bináris
May be a coding problem. Any non-English characters in your user name or password? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

[Pywikipedia-l] Replace.py bug? No more than 100 items with -search

2010-12-07 Thread Bináris
The help of replace.py says that it will work on all pages found with a search. As far as I see, this is not the truth -- in two cases listed it exactly 100 titles to work on, while there were more than 100. (I also used -namespace:0 in command line.) -- Bináris

[Pywikipedia-l] Duplicate iws

2010-12-03 Thread Bináris
%ADr%C3%A1s%29diff=8891234oldid=8891064 -- Bináris ___ 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?

2010-11-14 Thread Bináris
...@appropedia.org On Thu, Nov 26, 2009 at 20:39, Bináris wikipo...@gmail.com wrote: 2009/11/26 Chris Watkins chriswater...@appropedia.org Notice that the -regex parameter is used, and the search text ends with (.*$), which matches the entire rest of the article. Not bad, not bad

Re: [Pywikipedia-l] Minor comment changes

2010-11-13 Thread Bináris
Hi, could you please explain to a beginner, why is this good? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] match and list, but not replace

2010-11-07 Thread Bináris
Sorry for being late with the answer. At that time I already had the solution in my mind that was accepted yesterday. So replace.py r8700 with the new option -save sould be the perfect answer for your needs. And no more individual fiddling. :-)) Bináris 2010/6/8 Chris Watkins chriswater

Re: [Pywikipedia-l] Paging the help

2010-10-23 Thread Bináris
Thanks, I have done this and works, but I would like to have a builtin solution for every user. As a temporary workaround I wrote this in the last line of docstring. 2010/10/23 Antoine Delarue antoinedela...@hotmail.com Try replace.py -help | more Bináris

Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [8679] trunk/pywikipedia/catlib.py

2010-10-23 Thread Bináris
Please compare this to my previously uploaded solution: https://sourceforge.net/tracker/?func=detailaid=3054514group_id=93107atid=603140 Wouldn't it be nicer? Bináris 2010/10/21 a...@svn.wikimedia.org Revision: 8679 Author: amir Date: 2010-10-21 13:11:09 + (Thu, 21 Oct 2010) Log

Re: [Pywikipedia-l] Tears on my pillow...

2010-10-23 Thread Bináris
for a password, shouldn't it? 2010/10/21 i...@gno.de ...seems to me the bot is not logged in as sysop -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l -- Bináris

Re: [Pywikipedia-l] Tears on my pillow...

2010-10-23 Thread Bináris
['wikipedia']['hu'] = u'BinBott' sysopnames['wikipedia']['hu'] = u'Bináris' Once it is not logged in, it should ask for a password, shouldn't it? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org

Re: [Pywikipedia-l] Tears on my pillow...

2010-10-21 Thread Bináris
2010/10/21 Dr. Trigon dr.tri...@surfeu.ch ...seems to me the bot is not logged in...?!? Any other ideas? I have checked: it is. -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman

[Pywikipedia-l] Tears on my pillow...

2010-10-20 Thread Bináris
, the imported modules don't need to specify the path of Python to use. User-config.py is the same except that I added new lines for a Wikia-wiki. Which of these could cause my problem? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org

Re: [Pywikipedia-l] Semi-OFF: Two Pythons on one Windows

2010-10-18 Thread Bináris
version! This should more or less do the job you wanted... ;) Greetings DrTrigon Am 19.09.2010 13:16, schrieb Bináris: For some reason, I should install Python 3.1 on my Windows XP, and I want to keep 2.5 for pywikibot. Now, I am looking for some easy and comfortable way to separate

Re: [Pywikipedia-l] Why not Python 3?

2010-10-17 Thread Bináris
say we have to do this before Christmas. :-) But let's think about it. Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Archivebot and header1

2010-10-11 Thread Bináris
Thank you, I will forward it (though it seems the bot owner only runs it, and nobody maintains). ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

[Pywikipedia-l] Why not Python 3?

2010-10-06 Thread Bináris
vs. 3. I tried to guess the reason not to use Python 3. As far as I see, the main problem is with the big quantity of u...s. But I they can probably be converted py the 2to3 module. So what is the main reason to keep 2.x? -- Bináris ___ Pywikipedia-l

[Pywikipedia-l] Archivebot and header1

2010-09-26 Thread Bináris
archivebot.py. The question is: was there any problem like this in another wiki, is there a bugfix for this in the fresh version, or is it only our problem? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org

Re: [Pywikipedia-l] Question about the first two lines

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

[Pywikipedia-l] Question about the first two lines

2010-09-22 Thread Bináris
of these more canonical? The second line is usually: # -*- coding: utf-8 -*- Elsewhere I see #coding: utf-8 Is there any difference? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo

Re: [Pywikipedia-l] Semi-OFF: Two Pythons on one Windows

2010-09-19 Thread Bináris
Thank you, I will try this! -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Re: [Pywikipedia-l] Working on more wikis

2010-09-17 Thread Bináris
in the family file? -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

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

2010-09-15 Thread Bináris
Great! Thank you very much! -- Bináris ___ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

<    2   3   4   5   6   7   8   >