Wikipedia:Bots/Requests for approval/H3llBot 8


 * 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

H3llBot 8
Operator:

Time filed: 08:43, Saturday June 11, 2011 (UTC)

Automatic or Manual: Automatic unsupervised

Programming language(s): C#

Source code available: N

Function overview: Move links from author/editor fields to author/editorlink=

Links to relevant discussions (where appropriate): Bot requests/Archive 42

Edit period(s): Manually run

Estimated number of pages affected: Unsure, not too many Per trial I can see this is relatively common

Exclusion compliant (Y/N): Y

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

Function details:

If first and last set; and author and authorlink not set
 * If first is a piped wikilink and last is text
 * Strip wikilink from first and move to authorlink
 * If last is a piped wikilink and first is text
 * Strip wikilink from last and move to authorlink

If author set; and first, last, and authorlink not set
 * If author is a wikilink
 * Strip wikilink from author and move to authorlink

The logic is applied to numbered fields as well: author, author1, author2 .. author8; as well as editor, editor-first, editor-last, editor-link group and numbered fields thereof.

See example of all cases.

Discussion
There's a very minor issue with the example edit - the bot adds in a space before the authorlink field. Once that's sorted (should be a fairly simple fix): -  EdoDodo  talk 15:18, 11 June 2011 (UTC)


 * Made the bot respect the most commonly used whitespace separator in the citation: . Doing trial now. — HELL KNOWZ  ▎TALK 16:23, 11 June 2011 (UTC)


 * Perfect. - EdoDodo  talk 16:23, 11 June 2011 (UTC)

Should be around 50 pages done with this task only for easier review. Fixed a few bugs encountered. Otherwise, seems fine. I'll keep reviewing and spot-checking the edits for a while as usual. — HELL KNOWZ  ▎TALK 17:04, 11 June 2011 (UTC)
 * The edits look alright, with the exception of the bugs which we discussed over IRC and you fixed. - EdoDodo  talk 20:31, 11 June 2011 (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.