Wikipedia:Bots/Requests for approval/DodoBot 3
- 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 Withdrawn by operator.
Operator: EdoDodo (talk · contribs)
Automatic or Manually assisted: Automatic, semi-supervised
Source code available: Just simple regular expressions using AWB.
Function overview: I would like to run simple tasks involving changing links. The first task would be this Bot Request.
Links to relevant discussions (where appropriate): Bot Request
Edit period(s): One-off runs, when needed.
Estimated number of pages affected: A couple of hundred per run.
Exclusion compliant (Y/N): Yes
Already has a bot flag (Y/N): Yes
Function details: I would like to request approval to do basic tasks changing links. For example, changing links after the creation or removal of a disambiguation page. The first task would changing links from Hamilton West to Hamilton West (electoral district), after the creation of a disambiguation page, as requested at this Bot Request.
Discussion
editFor this first run I'd be using two regexs:
\[\[[ ]*Hamilton[ _]West[ ]*\]\]
will be replaced with[[Hamilton West (electoral district)|Hamilton West]]
\[\[[ ]*Hamilton[ _]West[ ]*\|[ ]*(.*?)[ ]*\]\]
will be replaced with[[Hamilton West (electoral district)|$1]]
The first one will match un-piped links, and the second one will match piped links. - EdoDodo talk 22:31, 6 August 2010 (UTC)[reply]
- Actually the links will be changed to Hamilton West (electoral district), which is what the Canadian electoral district redirect to anyway, due to naming conventions. I have changed the description and my regexs above to account for this. - EdoDodo talk 03:14, 7 August 2010 (UTC)[reply]
Withdrawn by operator. Taken care of semi-automatically by someone else :(. - EdoDodo talk 11:35, 13 August 2010 (UTC)[reply]
- 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.