Template talk:Taxonbar
{{Taxonbar}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
This is the talk page for discussing improvements to the Taxonbar template. |
|
Archives: 1, 2, 3, 4, 5, 6, 7, 8, 9Auto-archiving period: 30 days ![]() |
![]() | To help centralize discussions and keep related topics together, all sub-template talk pages of {{Taxonbar}} and Module:Taxonbar redirect here. |
![]() | Template:Taxonbar is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
![]() | This template does not require a rating on Wikipedia's content assessment scale. It is of interest to multiple WikiProjects. | ||||||||||||||||||||||||||||
|
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)
- 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 functioncopyTable
(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)- @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 offrame:getParent().args
and then converting any occurrences ofqid
N in the copy tofrom
N, and then running thefor
loop on the copy? - However, I'm not convinced that the change is necessary. Peter coxhead (talk) 16:10, 29 November 2024 (UTC)
- That loop on
frame:getParent().args
at line 233 may explain why my attempt failed. I was trying to add the|doi=
parameters toparentArgs[]
table, which is a copy offrame: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)- 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)
- That loop on
- @Jts1882: Here's just an idea, which I haven't tried. Line 233 starts a run through the parameter pairs obtained from
Edit request 31 December 2024
[edit]![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: bonjour pouvez vous rajouter la base (The) Taxonomicon : { 'Taxonomicon', 'Taxonomicon', 7066 } déja fait en Fr.wiki merci d'avance
Diff:
− | + | CHANGED_TEXT |
Philippe rogez (talk) 19:53, 31 December 2024 (UTC)
Done Example at Matricaria chamomilla. — Jts1882 | talk 20:30, 31 December 2024 (UTC)
Edit request 9 April 2025
[edit]![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: I would like to see the optional addition of the identifier P13330 to the taxonbar of enwiki, and its automatic addition to the taxonbar for kowiki. The enwiki page about the database (from which the identifier comes) is Korean National Species List. I would suggest the abbreviation of NIBR id or KTSN id be used in the enwiki implementation. This would be extremely useful for many Asian species where it is often the case that there are few informative identifiers.MargaretRDonald (talk) 11:16, 9 April 2025 (UTC)
- I've add the KNSL as optional taxonbar item. An example is at Asplenium antiquum. I used KNSL as that is what Wikidata and the English Wikipedia article (at Korean National Species List) use, which seems to me less confusing. I assume KTSN means Korean TSN (=Taxonomic Serial Number, as used by ITIS). That might be a better choice if manually adding the ID, but not if retrieving from Wikidata. What is NIBR and why would that be better? — Jts1882 | talk 12:20, 9 April 2025 (UTC)