Wikipedia:Bots/Requests for approval/BOTijo 7


 * 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.

BOTijo 7
Operator:

Automatic or Manually assisted: automatic, unsupervised

Programming language(s): python

Source code available:

Function overview: create redirects from hyphens to endashes

Links to relevant discussions (where appropriate): request

Edit period(s): weekly

Estimated number of pages affected:

Exclusion compliant (Y/N): no

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

Function details: bot searches for titles with endashes and creates a redirect from hyphens

Discussion
Do you intend to mark the redirects R from incorrect name? Josh Parris 13:05, 10 April 2010 (UTC)


 * If it is necessary I have no problem. emijrp (talk) 13:36, 10 April 2010 (UTC)
 * Wouldn't R from modification be more appropriate? – PeeJay 09:17, 12 April 2010 (UTC)
 * Yes, AWB tags such redirects as R from modification. Though there's not much detail on how the bot will determine a correct hyphen versus one that should be an endash. Rjwilmsi  11:08, 13 April 2010 (UTC)
 * Bot can't do that. It creates the redirect. If a human thinks that the title must contains hyphen or endash, only needs to move the page over the bot redirect. emijrp (talk) 13:19, 14 April 2010 (UTC)

Will the bot abstain from creating a redirect if a page of that name already exists (so as not to overwrite content)? --ἀνυπόδητος (talk) 16:20, 14 April 2010 (UTC)


 * Of course. Bot doesn't overwrite content. emijrp (talk) 10:13, 15 April 2010 (UTC)

&mdash; The Earwig   (talk)  21:47, 16 April 2010 (UTC)
 * Has this trial run been performed yet? Would be nice to get an update on the situation. – PeeJay 07:22, 26 April 2010 (UTC)


 * Hi. Yes, I have performed a trial (link). A question, the bot has created some redirects like this one Croatia-Morocco relations -> Croatia–Morocco relations, which redirects to Croatia–Morocco relations -> Foreign relations of Croatia. I can make bot links Croatia-Morocco relations to Foreign relations of Croatia in one step, but, are these redirects desirable? Regards. emijrp (talk) 16:03, 27 April 2010 (UTC)
 * I believe that such redirects are desirable. We should not expect regular users to search for articles using characters not found on a standard English QWERTY keyboard. Since the endash is not one of those characters, it seems reasonable that any redirect that uses an endash should also have a hyphen equivalent. – PeeJay 16:15, 27 April 2010 (UTC)

Have you put in place code to bypass redirects, avoiding the creation of double redirects? Josh Parris 04:59, 5 May 2010 (UTC)


 * If you mean these kind of redirects (later fixed by Xqbot), yes, I have fixed the code. Can I run a second trial? emijrp (talk) 14:19, 8 May 2010 (UTC)
 * Please do! – PeeJay 19:54, 8 May 2010 (UTC)

- Josh Parris 05:11, 10 May 2010 (UTC)
 * Has this been done now? – PeeJay 14:35, 13 May 2010 (UTC)
 * Yes, done. emijrp (talk) 12:03, 15 May 2010 (UTC)

Is this a redirect from modification? (endash) emijrp (talk) 12:06, 15 May 2010 (UTC)
 * I would imagine that where the alternate article is itself a redirect, the redirect created is not a redirect from modification. Josh Parris 13:12, 16 May 2010 (UTC)
 * - once a modification is made to not mark redirect bypassing as redirect from modification. Josh Parris 13:14, 16 May 2010 (UTC)


 * OK, done. emijrp (talk) 21:15, 16 May 2010 (UTC)

So, is this approved? emijrp (talk) 10:42, 22 May 2010 (UTC)

There don't appear to be any redirect from modification edits, but things look good. Josh Parris 11:21, 24 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.