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 Withdrawn by operator.
Operator: Gabrielchihonglee (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
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): Wikipedia:Bot_requests#thepeerage.com
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:
- Get all pages with template Cite web and the parameter publisher is ThePeerage's website
- Delete parameter 'publisher' and add the link to 'website'
- Save
Discussion
edit- Can you run a database scan or otherwise check to get some measure of estimated number of pages affected? ~ Rob13Talk 17:39, 24 January 2018 (UTC)[reply]
- @BU Rob13: 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)[reply]
- Approximately 2k. --Izno (talk) 19:21, 21 February 2018 (UTC)[reply]
- This search indicates a few more, without filtering for cite web. --Izno (talk) 19:24, 21 February 2018 (UTC)[reply]
- 6597 as of right now. SQLQuery me! 17:39, 21 March 2018 (UTC)[reply]
- That's just a total count of the links though, no? We're just looking for where
|publisher=The Peerage
, which is what my search indicates. --Izno (talk) 14:22, 31 March 2018 (UTC)[reply]- Fair point! SQLQuery me! 01:57, 3 April 2018 (UTC)[reply]
- That's just a total count of the links though, no? We're just looking for where
- Approved for trial (30 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — xaosflux Talk 14:04, 13 April 2018 (UTC)[reply]
- did the trial occur? — xaosflux Talk 01:40, 12 May 2018 (UTC)[reply]
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)[reply]
- Withdrawn by operator. SQLQuery me! 01:21, 13 May 2018 (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.