Wikipedia:Bots/Requests for approval/PrimeBOT 21


 * 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

PrimeBOT 21
Operator:

Time filed: 14:19, Thursday, October 19, 2017 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): AWB

Source code available: WP:AWB

Function overview: remove instances of duplicate template use

Links to relevant discussions (where appropriate): TFD

Edit period(s): one time run

Estimated number of pages affected: 1033

Namespace(s): Article

Exclusion compliant (Yes/No):

Function details: TaxonIDs is being replaced by taxonbar, as the former is redundant and less manageable than the latter. Being redundant, there is no need to "replace" the former with the latter if both are on the page. This is a simple regex find  and remove.

Discussion

 * OK to trial, post results please. — xaosflux  Talk 14:59, 19 October 2017 (UTC)
 * . Edits. Primefac (talk) 01:00, 24 October 2017 (UTC)
 * in some edits (such as Special:Diff/806766679) you appear to have removed information that is not otherwise present. Was there consensus that this information should be discarded? —  xaosflux  Talk 15:31, 24 October 2017 (UTC)
 * Honestly not sure. Pinging and, as they're listed on a list of ping-able people related to this project. Primefac (talk) 15:38, 24 October 2017 (UTC)
 * Template:Taxonbar should be modified to accept wikidata:Property:P2833 (ARKive ID) as a taxon ID. Suggest to the bot operator not to remove the template if it has a other in it, just in case of other "new" IDs. (t) Josve05a  (c) 15:55, 24 October 2017 (UTC)
 * D Please see responses above. — xaosflux  Talk 02:39, 26 October 2017 (UTC)
 * Yeah, sorry, I saw this, but haven't had a chance to implement it yet. My AWB access recently has been very spotty, so this has kind of been put on the back burner. When I get a chance I'll implement the above suggestions and leave a note here. Should be in the next week or so. Primefac (talk) 13:09, 26 October 2017 (UTC)
 * OK new trial when you are ready. — xaosflux  Talk 14:11, 26 October 2017 (UTC)
 * . Edits. As a note, the new search params (which just ignores a page if it has an others parameter) skipped both Aphid and Apollo (butterfly) (noting the skips since obviously they won't show up in the edits). Primefac (talk) 00:42, 30 October 2017 (UTC)
 * in cases where there is a conflict between the local and remote information (e.g. Special:Diff/807763767) are you always discarding the local data? If the conflict is that the remote data is missing are you merging it? —  xaosflux  Talk 13:35, 30 October 2017 (UTC)
 * I have absolutely no idea how I would check the hardcoded parameter given in taxonids with the wikidata value given by taxonbar. I would assume (based on your example) that the taxonbar/wikidata information is more accurate, but I have no idea. Pinging again. Primefac (talk) 13:50, 30 October 2017 (UTC)
 * (Responding with a solution today. (t) Josve05a  (c) 09:46, 31 October 2017 (UTC))
 * Suggest running a bot/your main account and import these IDs to Wikidata; have you seen https://tools.wmflabs.org/pltools/harvesttemplates/ which can import template parameters as properties on Wikidata? (t) Josve05a  (c) 17:07, 1 November 2017 (UTC)


 * Parameters to export to WD:
 * wikispecies - usage of this parameter will be replaced by
 * ncbi
 * eol
 * itis
 * worms
 * gbif
 * paleodb
 * emonocot
 * grin
 * I'll strike 'em when it's ready. Once this list is updated the only pages needed to be skipped will be the ones with others. Primefac (talk) 17:24, 6 November 2017 (UTC)

Please comment on whether you believe Wikipedia_talk:Arbitration/Requests is applicable to this bot task. ~ Rob 13 Talk 14:30, 28 November 2017 (UTC)
 * Update I have ensured that all of the compatible parameters have been added to Wikidata. Wikispecies has its own template, so any usage will be converted, and I will be skipping anything with a emonocot parameter as it was declined on WD and will need to be added to taxonbar manually. Ready to go for another trial. Primefac (talk) 13:08, 13 November 2017 (UTC)
 * , I don't think so. The data migration has already happened, which means all this bot run is doing is removing (effectively) duplicate template calls. Primefac (talk) 14:34, 28 November 2017 (UTC)


 * - this task was done manually by another user, and is no longer necessary. Primefac (talk) 03:48, 10 December 2017 (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.