Janek Kozicki wrote:
> I have never worked with bots on wikia, so I'm asking about 
> any pointers to some tutorial about how I could do this. I 
> have a bleak memory of some wikia bot written in python... 
> but I cannot google it now.

Hi Janek,

pywikipedia - the Python Wikipediabot Framework:
http://meta.wikimedia.org/wiki/Using_the_python_wikipediabot

I'm a couple of weeks away from uploading the source of my bot to my
userpage on the Vim Tips wiki. One glitch I have just encountered is that I
downloaded the latest version of pywikipedia (about 6 months newer than what
I was using), and my bot now has some ugly issues.

I'll mention it here in case someone wants to save me from a few hours of
head banging. Pywikipedia now outputs the following while doing a page.get()
and no good results occur:

WARNING: No messages found in Special:Allmessages. Maybe the server is down.

Anyway, after I resolve this, I'll be in a good position to help. If you
want something to do now, start with some Python code to modify the wikitext
of the page you want to update. If you're not used to Python, perhaps just
post the URL of the page in question and an example of how you would like to
modify it.

You will want a bot user account, but that's not necessary to get started.
The only difference about a bot account is that Recent Changes defaults to
NOT show changes (but will show them if you click "Show bots").

Here is an example of the user page for my bot account:
http://vim.wikia.com/wiki/User:JohnBot

You could create a similar user and log on as that user to experiment. When
you have done a couple of trials, you would ask here for the user to be
given bot status on your wiki.

John

_______________________________________________
Wikia-l mailing list
[email protected]
http://lists.wikia.com/mailman/listinfo/wikia-l

Reply via email to