Wikipedia:Bots/Requests for approval/FrescoBot 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 Wikipedia:Bots/Noticeboard. The result of the discussion was Approved.
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: Basilicofresco (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 06:37, Tuesday, July 20, 2021 (UTC)
Function overview: now and then some websites migrate domain or change the path structure of the website and break our links. When the change affects just a prefix of the complete url then update is trivial and straightforward. The idea is to perform these kind of url migrations.
Automatic, Supervised, or Manual: automatic
Programming language(s): python
Source code available: standard pywikipedia
Links to relevant discussions (where appropriate): I already performed a similar task in the past, Wikipedia:Bots/Requests for approval/FrescoBot 1
Edit period(s): as needed
Estimated number of pages affected: eg. 1729 for http://www.ariacharts.com.au
Namespace(s): mainly articles, but few edits could affect as well files, portals and drafts.
Exclusion compliant (Yes/No): yes
Function details:
- urls with the prefix https://www.ariacharts.com.au/annual-charts will be updated to the prefix https://www.aria.com.au/charts (eg. https://www.ariacharts.com.au/annual-charts/2019/singles-chart will become https://www.aria.com.au/charts/2019/singles-chart)
- urls with the prefix https://www.parmuziku.lv/zinas/ will be updated to the prefix https://www.parmuziku.lv/muzikas-zinas/ (eg. https://www.parmuziku.lv/zinas/latvija/muzikas-paterina-tops-gadu-mija-7661 will become https://www.parmuziku.lv/muzikas-zinas/latvija/muzikas-paterina-tops-gadu-mija-7661
- urls with the prefix https://www.parmuziku.lv/jaunumi/ will be updated to the prefix https://www.parmuziku.lv/muzikas-zinas/ (eg. https://www.parmuziku.lv/jaunumi/latvija/muzikas-paterina-tops-gadu-mija-7661 will become https://www.parmuziku.lv/muzikas-zinas/latvija/muzikas-paterina-tops-gadu-mija-7661
- other similar url migrations in the future
NB. I will not change archive urls. (eg. https://web.archive.org/web/201638/https://www.parmuziku.lv/zinas/latvija/muzikas-paterina-tops-gadu-mija-7661)
Discussion
editPotentially dumb question, but is this task not suitable for a WP:URLREQ, or is this bot intended to be a supplement to that page? Primefac (talk) 18:43, 20 July 2021 (UTC)[reply]
- Well, actually I could help to solve requests at WP:URLREQ. I often take care of similar issues on it.wiki. -- Basilicofresco (msg) 21:42, 20 July 2021 (UTC)[reply]
- Does anyone have any other question? Should I start with some test edits? -- Basilicofresco (msg) 21:37, 27 July 2021 (UTC)[reply]
- Hi! After +2 weeks without any question or doubt I guess we can move on.
{{BAG assistance needed}}
-- Basilicofresco (msg) 09:11, 7 August 2021 (UTC)[reply]- Let's see how it works, Approved for trial (150 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. !ɘM γɿɘυϘ⅃ϘƧ 22:22, 7 August 2021 (UTC)[reply]
- Done, here are the test edits. Few noteworthy examples:
- Basilicofresco (msg) 15:48, 16 August 2021 (UTC)[reply]
- Hello again! Is there any question? Doubt? Request? {{BAG assistance needed}} -- Basilicofresco (msg) 16:53, 26 August 2021 (UTC)[reply]
- Sorry, I miss the point that I had to place Trial complete. by myself. -- Basilicofresco (msg) 11:36, 22 September 2021 (UTC)[reply]
- This brfa process is just taking longer than expected... -- Basilicofresco (msg) 16:23, 17 October 2021 (UTC)[reply]
- Let's see how it works, Approved for trial (150 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. !ɘM γɿɘυϘ⅃ϘƧ 22:22, 7 August 2021 (UTC)[reply]
Approved. Basilicofresco, please make sure your edit summary has a (piped) link to this discussion. Primefac (talk) 06:52, 20 October 2021 (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 Wikipedia:Bots/Noticeboard.