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

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

2010-08-20 Thread stanlekub
Le 20/08/2010 15:48, Bináris a écrit : 2010/8/20 stanlekub stanle...@free.fr mailto:stanle...@free.fr So, basically, you have two main choices: * throw away your Page() object between the two operations and create a new one for protection. I did this, threw it away with

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

2010-08-19 Thread Bináris
The idea is to create a user page and a talk page for a blocked user with a template, and immediately after creating to protect them. The bot creates the pages and gives an error: Creating page [[Szerkesztö:SZDSZ]] via API Sleeping for 6.7 seconds, 2010-08-19 23:04:37 Creating page

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