Wikipedia:Bots/Requests for approval/Gabrielchihonglee-Bot 4


 * 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

Gabrielchihonglee-Bot 4
Operator:

Time filed: 14:28, Tuesday, January 16, 2018 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python (pywikibot)

Source code available: will be given after test run

Function overview: Change Cite web template in pages to move ThePeerage's website from parameter "publisher" to "website".

Links to relevant discussions (where appropriate): Bot_requests

Edit period(s): One time run

Estimated number of pages affected:

Namespace(s): Mainspace

Exclusion compliant (Yes/No): Yes

Function details: Flow of the bot:
 * 1) Get all pages with template Cite web and the parameter publisher is ThePeerage's website
 * 2) Delete parameter 'publisher' and add the link to 'website'
 * 3) Save

Discussion

 * Can you run a database scan or otherwise check to get some measure of estimated number of pages affected? ~ Rob 13 Talk 17:39, 24 January 2018 (UTC)
 * I just made a scan to 40,000 pages that have the cite web template, it shows that 20 of them will be affected. According to template count, there is a total of 2,700,000 pages, which by ratio, should have a total of around 1350 pages being affected. However, this may be very inaccurate as I've just scanned 1.5% of all pages with that template. I assume the bot will affect 500 - 5000 pages. -- Gabrielchihonglee (talk) 08:23, 30 January 2018 (UTC)
 * Approximately 2k. --Izno (talk) 19:21, 21 February 2018 (UTC)
 * This search indicates a few more, without filtering for cite web. --Izno (talk) 19:24, 21 February 2018 (UTC)
 * 6597 as of right now. SQL Query me!  17:39, 21 March 2018 (UTC)
 * That's just a total count of the links though, no? We're just looking for where The Peerage, which is what my search indicates. --Izno (talk) 14:22, 31 March 2018 (UTC)
 * Fair point! SQL Query me!  01:57, 3 April 2018 (UTC)


 * — xaosflux  Talk 14:04, 13 April 2018 (UTC)
 * did the trial occur? — xaosflux  Talk 01:40, 12 May 2018 (UTC)

I'm sorry but due to heavy workload in real life, I think I have to WITHDRAW the request. -- Gabrielchihonglee (talk) 23:47, 12 May 2018 (UTC)
 * SQL Query me! 01:21, 13 May 2018 (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.