Wikipedia:Bots/Requests for approval/Chris G Bot (4th request)


Chris G Bot 1 4

[[User:Chris G Bot|Chris G Bot]]

{{Newbot|Chris G Bot|(4th request)}}

Operator: Chris

Automatic or Manually Assisted: Auto, supervised

Programming Language(s): PHP, with Cobi's classes

Function Summary: Mass moving of pages

Edit period(s) (e.g. Continuous, daily, one time run): One time run

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

Function Details: (see botreq for more info)

Moves the subpages of List of asteroids and Meanings of asteroid names to List of minor planets and Meanings of minor-planet names.

= Discussion =

The source code is on [https://svn.toolserver.org/svnroot/chris/massmove/ svn] --Chris 08:41, 12 October 2008 (UTC)

:Hi,

:Is it possible to simultaneously have the bot change

:*"Lists of asteroids" and "List of asteroids" (when not preceded by "simple:") to "Lists of minor planets" and "List of minor planets",

:*but "List of asteroids/footer" and "List of asteroids/List footer" to "End" (a template);

:*also "Meanings of asteroid names" to "Meanings of minor-planet names"

:*and "asteroid names" to "minor-planet names" ?

:That would take care of the redirects, and would save me a couple hours of using AWB. Thanks, kwami (talk) 21:03, 12 October 2008 (UTC)

Meanings of minor-planet names should be Meanings of minor planet names. Urhixidur (talk) 16:56, 14 October 2008 (UTC)

As for {{Tl|List of asteroids/footer}} and {{Tl|List of asteroids/List footer}}, they're both simple redirects to {{Tl|End}}. They should be renamed {{Tl|List of minor planets/footer}} and {{Tl|List of minor planets/List footer}}, not subst'ed, for readability/editability reasons (when you see a header template, you expect a matching footer template; having redirects satisfies this requirement without introducing redundant templates). Urhixidur (talk) 17:03, 14 October 2008 (UTC)

:Chris, I'm ready to approve, if you could just respond to the questions so it is clear what tasks will be done it should be good to go. MBisanz talk 05:15, 18 October 2008 (UTC)

::Given Urhixidur's comments, I think we should substitute "minor planet" for "asteroid" in the strings

::*"Lists of asteroids", "List of asteroids" (except when preceded by interwiki "simple:"), "Meanings of asteroid names", and "asteroid names".

::Also, the main pages have already been moved. kwami (talk) 05:35, 18 October 2008 (UTC)

:::If I understand you correctly you want the bot to replace all links to List of asteroids/ with Lists of minor planets/ and the same with Meanings of asteroids names. It can't really see a purpose for this as all the links I have seen are formated like this which would mean that "fixing" the links would be fixing a redirect that isn't broken. If I am mistaken please correct me, however we do have to watch out for performance as the bot will be doing a lot of pagemoves that will be taxing on the server --Chris 10:28, 22 October 2008 (UTC)

::::Ah, yes, most of that isn't necessary. The only thing that the reader sees on the 'list' pages is the category (Category:Lists of asteroids by number|List of asteroids (######-######)). The rest is internal.

::::On the list subpages, there isn't even that.

::::However, on the meanings pages (of which there are many fewer), there is more displayed text. Besides the category (Category:Meanings of asteroid names|Meanings of asteroid names (######-######)), there is either 'asteroid names' or 'Asteroids not yet given a name' on each page. (There are a few other things on early pages, but I can do that by hand.)

:::: kwami (talk) 18:48, 22 October 2008 (UTC)

::::Urhixidur feels that we should follow long-list naming conventions with colons and en dashes:

:::::List of asteroids/1–1000List of minor planets: 1–1000

:::::Meanings of asteroid names (501-1000)Meanings of minor planet names: 501–1000

::::If we change the category to 'minor planet' as well, I'd think we should use the same format.

::::According to NC, we should also create redirects with hyphens. However, I don't see the utility of this, as these are meant to be accessed through the main page, and aren't likely to be entered into a search box. Any editor linking to them should be able to use an en dash. kwami (talk) 21:00, 22 October 2008 (UTC)

{{OperatorAssistanceNeeded|D}} Has it been decided what this is actually going to be doing? Mr.Z-man 17:58, 7 November 2008 (UTC)

:All I want is approval for the moves, the text changing etc can be handled at a later date --Chris 01:23, 9 November 2008 (UTC)

::Urhixidur and I are agreed that the format should follow the LLNC, with colons and en dashes rather than parentheses, slashes, or hyphens. kwami (talk) 02:40, 9 November 2008 (UTC)

{{BotTrial}} 5 moves. BJTalk 20:58, 12 November 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.