Wikipedia:Bots/Requests for approval/Mobius Bot


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Symbol keep vote.svg Approved.

Mobius Bot
Operator:

Automatic or Manually assisted: Automatic

Programming language(s): C# using dotnetwikibot

Source code available: here's the important bit

Function overview: Renaming small set of articles as set out in this BOTREQ.

Links to relevant discussions (where appropriate): As listed on the BOTREQ: Wikipedia talk:WikiProject Football/Archive 33 and Wikipedia talk:WikiProject Football/Season article task force.

Edit period(s): One time run

Estimated number of pages affected: ~60

Exclusion compliant (Y/N): Not necessary given that there is consensus for this task, and a very small set of pages will be edited. Compliance can be added if desired however.

Already has a bot flag (Y/N): No

Function details: Pursuant to this BOTREQ, the bot will take all pages in Category:Primera_División_Argentina beginning with 'Primera División Argentina', and rename said pages from the form Primera División Argentina XXXX to the form XXXX Argentine Primera División.

Discussion

 * . I've done similar tasks to standardize season articles to YYYY xxx format - it has consensus: I was actually going to pick up this task =). – xeno talk 13:20, 3 May 2010 (UTC)
 * This is really strange. When I run the code, it reports that the page has been renamed successfully, but nothing actually happens on wiki. I've tested in my own userspace with the special characters involved, no problem; and I brought the edit summary well below 255 characters, so that's no problem. I'll continue to debug, but if anyone can see something wrong with the code, I'd appreciate it (it's probably some stupid mistake). EDIT: I also messed around with raw strings, that didn't change anything either. - Mobius Clock  19:12, 3 May 2010 (UTC)
 * Have you considered using movepages.py? – xeno talk 19:14, 3 May 2010 (UTC)
 * I had thought about it, but my Python is a bit rusty; I'm much more familiar with C#, so I thought I'd use what I know best. Thanks for the suggestion, though! In any case I fixed the weirdness by constructing the new title and storing it as a separate string, then passing that to Page.RenameTo. Five pages done, see here. -  Mobius Clock  19:23, 3 May 2010 (UTC)
 * Test moves look fine; fairly simple task; wide consensus exists to standardize season articles as such. – xeno talk 19:48, 3 May 2010 (UTC)


 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.