Template talk:Taxonbar

(Redirected from Template:Taxonbar/talk)
Latest comment: 23 hours ago by Peter coxhead in topic Standard parameter name for Wikidata IDs

{{Taxonbar}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)

Misspelling of Panarctic as Panartic in Module:Taxonbar/conf

edit

"Panarctic" is misspelled as "Panartic".

{ 'Panartic', 'Panartic Flora', 2434 }, ---[[Panartic Flora]] DNE as of 3/2023

should be

{ 'Panarctic', 'Panarctic Flora', 2434 }, ---[[Panarctic Flora]] DNE as of 3/2023

Elizabeth (Eewilson) (tag or ping me) (talk) 22:09, 13 November 2024 (UTC)Reply

Fixed. - UtherSRG (talk) 00:09, 14 November 2024 (UTC)Reply

UBIO : retrait de l'appel propriété P4728

edit

Bonjour je voudrais supprimer l'appel à UBIO par la propriété P4728. En effet cet appel est périmé, génére des attentes réseaux réseaux iuntiles et le site est fermé depuis de nombreuses années.. Merci d'avance.

Hello, I would like to remove the call to UBIO by the P4728 property. Indeed, this call is outdated, generates network waits and the site has been closed for many years. Thank you in advance.-- Philippe rogez (talk) 09:12, 24 November 2024 (UTC)Reply

The Wikidata talk page for the uBio ID has a message saying it was defunct over two years ago, so it seems it's not coming back. I'll comment it out in the configuration file. Would there be any benefit of linking to archive.org or is the information too out of date?  —  Jts1882 | talk  11:27, 24 November 2024 (UTC)Reply

Standard parameter name for Wikidata IDs

edit

At Wikipedia:Village pump (technical)#Standard parameter name for Wikidata IDs, I propose that we standardise on the most-used property name for Wikidata identifiers, |qid=, instead of |from=, keeping the old name as a working alias, at least for the foreseeable future.

Note also that |from= is used in other templates with different meaning. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:43, 26 November 2024 (UTC)Reply

Not an easy change as the |from= parameters are scattered everywhere in the code. I did have a go at aliasing |qid= to |from= in function copyTable (lines 147-152) in the sandbox but it didn't work properly, with only the first |qid1= displaying (see example in User:Jts1882/blank). These argument tables are always tricky to modify as they use metatables, although maybe I'm doing something simple wrong. I can't see how to fix it.  —  Jts1882 | talk  14:26, 29 November 2024 (UTC)Reply
@Jts1882: Here's just an idea, which I haven't tried. Line 233 starts a run through the parameter pairs obtained from frame:getParent().args. What about first making a copy of frame:getParent().args and then converting any occurrences of qidN in the copy to fromN, and then running the for loop on the copy?
However, I'm not convinced that the change is necessary. Peter coxhead (talk) 16:10, 29 November 2024 (UTC)Reply
That loop on frame:getParent().args at line 233 may explain why my attempt failed. I was trying to add the |doi= parameters to parentArgs[] table, which is a copy of frame:getParent().args. I don't understand that main part of the code, which seemingly uses both copies, so I'm not going to attempt any changes there.  —  Jts1882 | talk  16:54, 29 November 2024 (UTC)Reply
No, I don't understand the logic of the code either, which is why I didn't try making the change, but left it to you! Peter coxhead (talk) 17:10, 29 November 2024 (UTC)Reply