Rosetta Code:Village Pump/Enable Mediawiki API Edit

From Rosetta Code
Revision as of 23:41, 2 February 2009 by MikeMol (talk | contribs) (sign it!)

I'm trying to make bot that automagically applys Code Tag Fixer in all Tasks using Mediawiki API (http://www.rosettacode.org/w/api.php), but Mediawiki API "action=edit" is disabled, so i can't edit pages automagically with Mediawiki API, making a bot impossible.

Can some admin enable this function? --Guga360 18:09, 2 February 2009 (UTC)

PS: Ignore my poor english.

Because of the potential for abuse, I'm going to need each bot to have its own authentication credentials, and I'll grand API privileges on a per-bot basis. Create an account for your bot and give me the details. I'll work on it when I get home.--Short Circuit 19:26, 2 February 2009 (UTC)
OK, bot created, i'm waiting to be put in Bots group. --GugaTagFixer 19:49, 2 February 2009 (UTC)
My bot is almost 98% complete, I create a lot of functions. But now, the function is
<lang python>apply("Article_Title",get_token("MyBot","MyPassword")</lang>
I need just iterate apply() in allpages. --Guga360 21:43, 2 February 2009 (UTC)


While we're on the subject, does anyone think we should have Help:Adding a Bot? Does it need to be that formal? Will we have that many bots? --Mwn3d 20:24, 2 February 2009 (UTC)

No, Wikipedia already has a "Creating a bot" article, it's the same thing. A Help:Adding a Bot can link to a Wikipedia article. Or something else.--Guga360 21:43, 2 February 2009 (UTC)
I expect we'll have as many bots as are well-behaved, do useful things, and don't completely suck up my slice's CPU and bandwidth allocation.--Short Circuit 23:41, 2 February 2009 (UTC)