Wikipedia:Bots/Requests for approval/TolBot 1A
- 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.
Operator: Tol (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 17:52, Monday, May 31, 2021 (UTC)
Function overview: Updates Template:COVID-19 vaccination data in Africa
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python
Source code available: Nearly the same as User:TolBot/Task 1#Source
Links to relevant discussions (where appropriate): BRFA TolBot 1
Edit period(s): Daily
Estimated number of pages affected: Template:COVID-19 vaccination data in Africa
Exclusion compliant (Yes/No): No
Function details: Almost the exact same as described in BRFA TolBot 1, except it uses a whitelist of countries (only African countries) instead of a blacklist of non-countries (like continents and income groups).
Discussion
editA test edit is here. This is a rather tiny change from the original task (but it still requires another BRFA). Tol | talk | contribs 17:52, 31 May 2021 (UTC)[reply]
- Approved for trial (7 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac (talk) 11:56, 5 June 2021 (UTC)[reply]
- Trial complete. Just see the history of Template:COVID-19 vaccination data in Africa — there's not much else. Performs as expected. Tol | talk | contribs 04:14, 20 June 2021 (UTC)[reply]
- I am not a BAG member, but I have been watching the diffs, and they look great. – Jonesey95 (talk) 13:58, 20 June 2021 (UTC)[reply]
- Thank you! Tol | talk | contribs 22:43, 6 July 2021 (UTC)[reply]
- {{BAG assistance needed}} The trial completed more than two weeks ago; could someone please reply on this task's status? (On another note, I apparently forgot to disable its crontab entry, so its trial is longer than intended; I've turned it off now.) Thanks, Tol | talk | contribs 22:42, 6 July 2021 (UTC)[reply]
- I am not a BAG member, but I have been watching the diffs, and they look great. – Jonesey95 (talk) 13:58, 20 June 2021 (UTC)[reply]
- Trial complete. Just see the history of Template:COVID-19 vaccination data in Africa — there's not much else. Performs as expected. Tol | talk | contribs 04:14, 20 June 2021 (UTC)[reply]
Countries with no data & sorting
editThis update removed countries from this list. Is there a reason to remove countries, even if there is no sourced data available? Also, it would be helpful to maintain the alphabetical order of countries so that it is easy to parse the diffs. – Jonesey95 (talk) 02:40, 7 June 2021 (UTC)[reply]
- The bot is removing countries from the list and re-sorting them out of alphabetical order, which makes the diffs very challenging to inspect. Please fix. – Jonesey95 (talk) 05:35, 13 June 2021 (UTC)[reply]
- @Jonesey95: It only outputs data for countries which have data from OWID. It cannot add countries for which no data is available. I can, however, get it to output the countries in alphabetical order. By the way, your reversion broke the bot (it relies on the HTML comments "
<!-- PASTE UPDATED DATA BELOW THIS LINE -->
" and "<!-- UPDATED DATA ABOVE THIS LINE -->
" to tell where the data starts and ends). Tol | talk | contribs 18:38, 13 June 2021 (UTC)[reply]- Sorry about breaking the bot. After the next update, I'll add a note about the missing countries. Thanks. – Jonesey95 (talk) 18:43, 13 June 2021 (UTC)[reply]
- @Jonesey95: It's fine. I've just patched in an update to sorting so that it sorts alphabetically. I just manually ran it — how does it look? Tol | talk | contribs 18:48, 13 June 2021 (UTC)[reply]
- Better! It appears to be missing Gabon, even though there is data at the source (assuming you are using the OWID site) for that country. Burundi, Eritrea, and Tanzania are missing from the OWID site, so they can be omitted. – Jonesey95 (talk) 18:51, 13 June 2021 (UTC)[reply]
- @Jonesey95: I'll add Gabon; it should be there with the next update. Tol | talk | contribs 19:02, 13 June 2021 (UTC)[reply]
- The last three or four daily updates have been great! The diffs are easy to read, and no countries have been removed. – Jonesey95 (talk) 15:40, 16 June 2021 (UTC)[reply]
- @Jonesey95: I'll add Gabon; it should be there with the next update. Tol | talk | contribs 19:02, 13 June 2021 (UTC)[reply]
- Better! It appears to be missing Gabon, even though there is data at the source (assuming you are using the OWID site) for that country. Burundi, Eritrea, and Tanzania are missing from the OWID site, so they can be omitted. – Jonesey95 (talk) 18:51, 13 June 2021 (UTC)[reply]
- @Jonesey95: It's fine. I've just patched in an update to sorting so that it sorts alphabetically. I just manually ran it — how does it look? Tol | talk | contribs 18:48, 13 June 2021 (UTC)[reply]
- Sorry about breaking the bot. After the next update, I'll add a note about the missing countries. Thanks. – Jonesey95 (talk) 18:43, 13 June 2021 (UTC)[reply]
- @Jonesey95: It only outputs data for countries which have data from OWID. It cannot add countries for which no data is available. I can, however, get it to output the countries in alphabetical order. By the way, your reversion broke the bot (it relies on the HTML comments "
Approved. As per usual, any minor changes due to missing or improper functionality can be made without further consensus, but any major changes need to be requested on the talk page. Primefac (talk) 18:49, 20 July 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.