Wikipedia:Bots/Requests for approval/AndreasJSbot 2
Category:Approved Wikipedia bot requests for approval
[[User:AndreasJSbot|AndreasJSbot]]
{{Newbot|AndreasJSbot 2}}
Automatic or Manually Assisted: Automatic
Programming Language(s): Python
Function Summary: Change Template:Wikisource to Template:Wikisourcelang where appropriate
Edit period(s) (e.g. Continuous, daily, one time run): occasional one time run (maybe once a month)
Edit rate requested: 6 edits per min
Already has a bot flag (Y/N): Y
Function Details:
run replace.py in regex mode on pages that link to the template using a xml dump:
= Discussion =
:{{BotTrial|edits=50}}. As a side note, shouldnt you be using maxlag? —Reedy Boy 16:41, 22 January 2008 (UTC)
- Works fine[http://en.wikipedia.org/w/index.php?title=Harbin_Russians&action=history]. Andreas (T) 17:27, 6 February 2008 (UTC)
:Because most of the pages that link to template the English wikisource, I use xml to avoid accessing many pages that need no work. This is very slow because pywikipedia.repalce.py does not support the combination -xml with -ref. If I use the -ref option, most pages that are downloaded are not changed. Maxlag is set to the default of 5. Andreas (T) 17:36, 6 February 2008 (UTC)
::Looks good, {{BotApproved|D}} -- Cobi(t|c|b) 09:59, 1 March 2008 (UTC)
:The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.