Rosetta Code:Village Pump/Enable Mediawiki API Edit: Difference between revisions

No edit summary
(Applied Template:vptopic)
 
(11 intermediate revisions by 4 users not shown)
Line 1:
{{Vptopic
|topic=Enable Mediawiki API Edit
|summary=Request enabling of the edit API
}}
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.
 
Line 26 ⟶ 30:
:::::It;s not perfect. It's messing up redirects. --[[User:Mwn3d|Mwn3d]] 15:38, 3 February 2009 (UTC)
::::::I already fixed it. But this is a problem in Wikimedia API, not in my code.
:::::::We also need to go back through the Ada examples and change <nowiki>"</Adalang>" to "</lang>"</nowiki>--[[User:Mwn3d|Mwn3d]] 15:57, 3 February 2009 (UTC)
::::::::I will fix it.
:::::::::Fixed, running bot again.
Line 38 ⟶ 42:
:I don't know why too, but you can delete some logs. --[[User:GugaTagFixer|GugaTagFixer]] 17:08, 3 February 2009 (UTC)
:: I don't care if it gets into the logs, I'm just annoyed that my primary means of following activity, the RSS feed, mostly consists of bot edit entries right now. That can't be retconned. Ah well, I'll figure it out later. --[[User:Short Circuit|Short Circuit]] 17:18, 3 February 2009 (UTC)
:::That Ah,last iedit found(posting ithere) now.by It'sthe just ?action=edit&bot=yes, anddidn't ishow solvedup casein problems, but my bot is messing upthe somerecent redirectschanges. --[[User:GugaTagFixerMwn3d|GugaTagFixerMwn3d]] 17:2053, 3 February 2009 (UTC)
::::Yes, nowi it'sfixed workingCase-Sensitive, perfectlyBot Flag, and Redirects (G++, GTK+, Visual C++, againRCBF/C++). --[[User:GugaTagFixer|GugaTagFixer]] 17:4055, 3 February 2009 (UTC)
:::: I discovered that the problem is not in redirects, but in RC, i need to escape C++ to C%2B%2B
:::Heh. Indeed, it looks like it was fixed before I even mentioned it. :-)
, now it's working perfectly again. --[[User:GugaTagFixer|GugaTagFixer]] 17:40, 3 February 2009 (UTC)