Wikipedia:Bots/Requests for approval/Theo's Little Bot 15


 * 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

Theo's Little Bot 15
Operator:

Time filed: 22:03, Sunday May 26, 2013 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python + mwclient

Source code available: as usual, on github

Function overview: Replaces accidental uses of citation or cite (i.e., those that include no other parameters) with citation needed (see details at Category:Pages with empty citations)

Links to relevant discussions (where appropriate): Bot_requests

Edit period(s): Monthly

Estimated number of pages affected: <700 on first run

Exclusion compliant (Yes/No): No

Already has a bot flag (Yes/No): Yes

Function details: From the botreq:
 * Source category: Category:Pages with empty citations
 * Namespace include: Article (main)
 * Namespace exclude: Talk, Wikipedia, Wikipedia Talk, etc
 * Search string: "",""
 * replace string: ""
 * Currently affected pages:~700
 * Bot frequency: One shot - followed by monthly sweep.

Discussion

 *  ·Add§hore·  Talk To Me! 16:07, 27 May 2013 (UTC)


 * Very useful bot, surprised it has not been done already? -198.228.216.23 (talk) 21:49, 27 May 2013 (UTC)
 *  Theopolisme ( talk )  23:43, 27 May 2013 (UTC)
 * When the cite or citation template is right before a period can the bot move it to right after the period? Or other punctuation? Would this be too much? -68.107.136.227 (talk) 23:03, 28 May 2013 (UTC)
 * My bot tasks generally run without genfixes, since I use custom Python modules that don't interface with AWB or one of the other "cleaner-upper" scripts out that. My dev machine is currently having some trouble, but I'll look into it when I can get it up and running.  Theopolisme ( talk )  03:21, 29 May 2013 (UTC)
 * Programming wise I think it can make a simple task too much, but I thought I would ask. I am fine if it just does the citation fix, a very useful bot task. -68.107.136.227 (talk) 05:43, 29 May 2013 (UTC)
 * I will wait until User:Theopolisme has come back regarding the above before taking any further action.  ·Add§hore·  Talk To Me! 09:34, 29 May 2013 (UTC)
 * I'm hopeful that my dev machine will be back online by tonight/tomorrow--CPU just flat out died, so I'm going to probably end up buying a new computer and transferring files from the old hard drive. Here's hoping nothing goes wrong...  Theopolisme  ( talk )  14:16, 29 May 2013 (UTC)
 * All I can say is bad luck :/  ·addshore·  Talk To Me! 14:29, 29 May 2013 (UTC)

eBay says new computer will be here anywhere from June 3rd-7th...I set up a temporary environment on another computer, so I've pushed this commit which adds the citation-after-a-period functionality per request. Cheers,  Theopolisme ( talk )  16:03, 30 May 2013 (UTC)
 * Have you tested the regex Theopolisme? :)  ·addshore·  talk to me! 08:33, 1 June 2013 (UTC)
 * Yeah, why?  Theopolisme ( talk )  13:12, 1 June 2013 (UTC)
 *  ·addshore·  talk to me! 13:52, 1 June 2013 (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.