Automatic or Manually Assisted: Auto, supervised
Programming Language(s): C# + DotNetWikiBot rewritten using python + pywikipedia
Function Summary: Add ((Huddersfield Town F.C. seasons)) to all articles in Category:Huddersfield Town F.C. seasons that do not have said template, and then rename all articles in the category to titles using endashes instead of hyphens.
Edit period(s) (e.g. Continuous, daily, one time run): One time run
Already has a bot flag (Y/N): Y
Function Details: See this BOTREQ. The bot will add the template to the end of each article and then move all articles in the category to titles using endashes (i.e. 1988–89 as opposed to 1988-89). As bots have the 'supressredirect'
right enabled, the bot will also recreate the redirect from the hyphenated title to the new one, as per the MOS. The editing and moving will be done in separate loops, as doing them together causes everything to get mixed up (read: big mess).
(outdent) The original request did specify removing ((Huddersfield Town F.C.)), but I thought that it would probably be better to have both on the page (both are relevant), and this was agreed at the BOTREQ. If it is felt that it should be removed, then I can do so. As for checking whether ((fb end)) is on the page, I assumed (naively) that it would be there due to PeeJay saying that the main club template (which requires the fb templates) should be removed (which implies that it is already there). However, for robustness it would be best if I did check; I will fix the code accordingly. I will have to find out whether MW handles '–' and '–' as the same thing, I know that the former worked when using C# though. Richard0612 19:24, 18 January 2009 (UTC)[reply]