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 Withdrawn by operator.
Operator: Primefac (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
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 \{\{taxonids?.*?}}
and remove.
Discussion
edit- {{BotTrial}} OK to trial, post results please. — xaosflux Talk 14:59, 19 October 2017 (UTC)[reply]
- @Primefac: 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)[reply]
- Honestly not sure. Pinging Josve05a and Andy, as they're listed on a list of ping-able people related to this project. Primefac (talk) 15:38, 24 October 2017 (UTC)[reply]
- 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)[reply]
- 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
- Honestly not sure. Pinging Josve05a and Andy, as they're listed on a list of ping-able people related to this project. Primefac (talk) 15:38, 24 October 2017 (UTC)[reply]
- {{OperatorAssistanceNeeded}} Please see responses above. — xaosflux Talk 02:39, 26 October 2017 (UTC)[reply]
- 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)[reply]
- Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. OK new trial when you are ready. — xaosflux Talk 14:11, 26 October 2017 (UTC)[reply]
- Trial complete.. 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)[reply]
- Trial complete.. Edits. As a note, the new search params (which just ignores a page if it has an
- @Primefac: 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)[reply]
- 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 Josve05a again. Primefac (talk) 13:50, 30 October 2017 (UTC)[reply]
- (Responding with a solution today. (t) Josve05a (c) 09:46, 31 October 2017 (UTC))[reply]
- 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)[reply]
- (Responding with a solution today. (t) Josve05a (c) 09:46, 31 October 2017 (UTC))[reply]
- 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 Josve05a again. Primefac (talk) 13:50, 30 October 2017 (UTC)[reply]
- Parameters to export to WD:
- wikispecies - usage of this parameter will be replaced by
{{wikispecies|<param>|PAGENAME}}
ncbieolitiswormsgbifpaleodb- emonocot
grin
- wikispecies - usage of this parameter will be replaced by
- 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)[reply]
- 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)[reply]
Please comment on whether you believe Wikipedia_talk:Arbitration/Requests#Crosswiki_issues:_Motion_.28November_2017.29 is applicable to this bot task. ~ Rob13Talk 14:30, 28 November 2017 (UTC)[reply]
- BU Rob13, 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)[reply]
- Withdrawn by operator. - this task was done manually by another user, and is no longer necessary. Primefac (talk) 03:48, 10 December 2017 (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.