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

No edit summary
(Applied Template:vptopic)
 
(24 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.
::::::::::I'm using a better [[Code Tag Fixer]], but it does not fix Solutions with '''<nowiki><pre></nowiki>''', it's possible replace: '''<nowiki>{{header|Modula-3}}\n<pre>.*</pre></nowiki>''' with '''<nowiki>{{header|Modula-3}}\n<lang modula-3>.*</lang></nowiki>'''? I think that this will be pretty hard, but possible. (And buggy.) --[[User:GugaTagFixer|GugaTagFixer]] 16:10, 3 February 2009 (UTC)
 
[[User:Mwn3d|Mwn3d]]: My bot fixes deprecated tags, not incorrect tags. --[[User:GugaTagFixer|GugaTagFixer]] 16:13, 3 February 2009 (UTC)
:Sorry, I didn't mean that your bot needed to do it. I just meant it needed to be done. --[[User:Mwn3d|Mwn3d]] 16:35, 3 February 2009 (UTC)
::OK, i will try to making another bot, to fix incorrect tags. It almost done. --[[User:GugaTagFixer|GugaTagFixer]] 17:08, 3 February 2009 (UTC)
 
Anyone have any idea what I need to do to keep GugaTagFixer's edits from flooding the Recent Changes list? Apparently the "Hide bots" default isn't working, and I'm not sure why. --[[User:Short Circuit|Short Circuit]] 16:37, 3 February 2009 (UTC)
: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 last edit (posting here) by the bot didn't show up in the recent changes. --[[User:Mwn3d|Mwn3d]] 17:53, 3 February 2009 (UTC)
::::Yes, i fixed Case-Sensitive, Bot Flag, and Redirects (G++, GTK+, Visual C++, RCBF/C++). --[[User:GugaTagFixer|GugaTagFixer]] 17:55, 3 February 2009 (UTC)
:::Heh. Indeed, it looks like it was fixed before I even mentioned it. :-)