Wikipedia:Bots/Requests for approval/ConservationStatusAndRangeMapBot


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard. The result of the discussion was

ConservationStatusAndRangeMapBot
Operator:

Time filed: 19:24, Wednesday, June 1, 2022 (UTC)

Function overview:Add conservation statuses to Speciesbox. This includes the status, the status system, and an external reference.

Automatic, Supervised, or Manual: Automatic

Programming language(s): AutoWikiBrowser and R

Source code available: AWB and https://en.wikipedia.org/wiki/User:ConservationStatusAndRangeMapBot/code_R

Links to relevant discussions (where appropriate):

Edit period(s): At least weekly but limited on time due to evaluating data and links

Estimated number of pages affected: 1011

Namespace(s):Category:Flora_of_California_without_conservation_status

Exclusion compliant (Yes/No): Yes

Function details: The bots proposed purposes is to add plant conservation status data for plants using the Speciesbox template and at a later date update with range maps of plants and add plants without a conservation status to. The modified fields in the template are status, status_system, and status_ref. The workflow involves using AWB to tag articles that do not have a conservation status, this is a supervised process done with AWB. Then using the included R code the conservation status of the provided list of plants is gathered and a csv file is produced with the text fields needed for the update. This includes a link to an external reference for the conservation status and range of the plant.

Discussion
I am currently targeting only plants in California during this trial run and have already created a list of plants that do not have a conservation status. I have been running this process on my account with AWB completely supervised and have worked out the process. Here's an example article that shows my goals for this bot. [Https://en.wikipedia.org/w/index.php?title=Abronia&#x20;maritima&type=revision&diff=1090733462&oldid=1090537679 Abronia maritima: Difference between revisions]. Although the bot is making changes automatically the data is checked beforehand to ensure that the propper status and links are working. A future goal of this bot is to also check the conservation status of plants and ensure they are updated, this is not a current feature of the bot but is one that can be added easily and would be important. Although the name of the bot has the words RangeMap in it this is a later goal and will not be a feature the bot will be doing at this time. Adding range maps to plant articles is an ongoing discussion in WikiProject Plants and needs more time and consensus before any steps are taken. After I have finished adding the conservation statuses to plants in California I will reevaluate and refine the process with the goal of moving on to plants in the United States. Dr vulpes (talk) 17:50, 6 June 2022 (UTC)

I updated the function details to include two future uses for the proposed bot.  Dr vulpes  (💬 • 📝) 02:47, 17 June 2022 (UTC)
 * Thinking longer-term (i.e. outside of CA), there are 250k pages that call speciesbox. Presumably, these pages will need periodic updating. Would it make more sense to collate all of the conservation status values and put them into a submodule of Module:Autotaxobox, so that if/when values need updating (say, once a week or month), you can edit a relatively small handful of pages and it will update them all automatically, rather than require potentially thousands of updating edits? Primefac (talk) 14:38, 23 June 2022 (UTC)
 * o wow that's a good idea, I wasn't really familiar with modules but after reading though the documentation that's a much better way of going about this. The Lua code is doing almost the exact same thing that my R code is doing except calling on templates instead of the NaturesServe API. It would also easily allow for adding multiple conservation status systems to be used so the most up to date one could be displayed. I'm going to tinker with this for a bit and see if I can get a small demo up and running.  Dr vulpes  (💬 • 📝) 20:55, 23 June 2022 (UTC)
 * Does this sort of nullify this BRFA or would that be in addition? Just wanting to clarify before doing anything here. The SandDoctor  Talk 18:27, 9 July 2022 (UTC)
 * D Primefac (talk) 16:04, 6 August 2022 (UTC)
 * Hey @TheSandDoctor, first I want to apologize for taking a month to get back to you. I contracted COVID and spent most of last month in bed. Yeah lets go ahead and withdraw this request; the solution that @Primefac proposed is much much much better and I'm going to go forward with that.  Dr vulpes  (💬 • 📝) 07:30, 7 August 2022 (UTC)
 * No need to apologize. I hope you are doing better now. -- The SandDoctor Talk 16:04, 7 August 2022 (UTC)

-- The SandDoctor Talk 16:04, 7 August 2022 (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 Bots/Noticeboard.