Wikipedia talk:Automated taxobox system

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconTree of Life Project‑class
WikiProject iconThis page is within the scope of WikiProject Tree of Life, a collaborative effort to improve the coverage of taxonomy and the phylogenetic tree of life on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
ProjectThis page does not require a rating on Wikipedia's content assessment scale.


This talk page can be used to discuss issues with the automated taxobox system that are common to the entire system, not just one of its templates. Discussions of this nature prior to 2017 can be found at Template talk:Automatic taxobox

Those familiar with the system prior to mid-2016 are advised to read Notes for "old hands".

Is there any precedent on taxoboxes for 'hypothetical' taxons? I guess they're all hypothetical at some level. YorkshireExpat (talk) 17:03, 13 February 2024 (UTC)[reply]

There is precedent; see e.g. Eocyte hypothesis and Articulata hypothesis (there's relevant discussion going on at Template_talk:Taxonbar#Further_discussion, with the newly created Wikidata item taxon hypothesis (Q124477390) stemming from that). I'm not sure that the precedent needs to be followed if something is really framed as a hypothesis (i.e., we might consider removing those taxoboxes).
It gets more complicated with Tactopoda and Antennopoda, which are framed as "proposed clades", but which represent mutually exclusive hypotheses regarding the relationship of tardigrades, arthropods and onychophorans.
Avifilopluma is another weird one. It was the last article tagged for WikiProject Dinosaurs to get an automatic taxobox. It is the clade of feathered animals, with feathers not being precisely defined, and it not being clear exactly which taxa would be included. Plantdrew (talk) 18:06, 13 February 2024 (UTC)[reply]
Ok, will leave alone for the moment. Thanks. YorkshireExpat (talk) 08:38, 14 February 2024 (UTC)[reply]
There are articles for Columbaves, Inopinaves and Aequorlitornithes (all from Prum et al, 2015), as well as Columbea and Passerea (from Jarvis et al 2014). Gruimorphae also has one, as do the more questionable Otidae and Gruae. While I think it is useful to have short articles clearly defining these proposals, perhaps the Neoaves article could be expanded discuss the alternative arrangements, which are currently shown in he cladograms. I think this new proposal certainly should be covered. —  Jts1882 | talk  10:37, 14 February 2024 (UTC)[reply]

Automatic links to species, commons, data[edit]

Any interest in adding automatic links to wikispecies, commons categories and galleries, and wikidata at the bottom of our taxboxes to improve integration with our sister projects? Compare hr:Dracaena aethiopica / en:Dracaena aethiopica. Coded in hr:Template:Taksokvir (note the four tracking categories). Ponor (talk) 11:43, 17 April 2024 (UTC)[reply]

We use {{taxonbar}} to link to various taxon IDs, including wikidata, wikispecies, etc. All of the IDs are stored at Wikidata. We could consider adding commons and gallery to the taxonbar. @Tom.Reding and Jts1882: thoughts on this? - UtherSRG (talk) 12:21, 17 April 2024 (UTC)[reply]
I was thinking of a more prominent place. {{Taxonbar}}, to me, is something that experienced editors might need, it's not very friendly to our readers. It's also not shown to >2/3 of them Ponor (talk) 12:41, 17 April 2024 (UTC)[reply]
Instead of duplicating the effect in the taxobox, we can perhaps work to make the taxonbar available on mobile. - UtherSRG (talk) 14:46, 17 April 2024 (UTC)[reply]
Unfortunate side-effects to that would include:
  1. people complaining about WP:OVERLINKING
  2. people removing {{Commons}}, {{Commons category}}, etc., due to the presence of a link in {{Taxonbar}}
I don't agree with this behavior, but it happens relatively often.   ~ Tom.Reding (talkdgaf)  15:09, 17 April 2024 (UTC)[reply]
I'm not against an unobtrusive addition at the bottom of the taxobox. However, as an infobox, the taxobox is supposed to summarize information on the taxon, so it is probably better for links to other resources to be elsewhere.
There was a previous discussion about including wikispecies and commons in the taxonbar or only using the templates {{Commons category}} and {{Wikispecies}} to avoid redundancy. In the end the status quo was kept (with Wikispecies in the taxonbar). I'm not adverse to adding the commons gallery or commons category.
The taxonbar doesn't appear on mobile because it uses Navbox, which is not allowed on mobile view for some reason (possibly because you can't collapse large navboxes or they are condised too large for downloading on phones). I believe there were some proposed changes aimed at making a mobile compliant navbox. @Tom.Reding: do you know anything on this? It would certainly be possible to make an alternative output for the taxonbar without using navbox, although this may go against decisions made elsewhere for such content (e.g. authority control). —  Jts1882 | talk  15:03, 17 April 2024 (UTC)[reply]
Mobile & style issues are sort of a black box to me. My impression is that there's a desire, and some work being done, to, at some point, make navboxes viewable on mobile, but I don't keep up with that at all. I don't know of another navbox-like utility (not that I've looked for one). If there were a flag or something in Lua that would designate a user's device as mobile or non-mobile, then an alternate method could be used (even something dumb like an un/ordered list, assuming consensus, etc., etc.).   ~ Tom.Reding (talkdgaf)  15:22, 17 April 2024 (UTC)[reply]
There is no way of detecting the skin in Lua. It can only be done in JS or CSS. Without Wikimedia support, this means any solution must use CSS, which can be customised for different skins (including the mobile one, Minerva). I'm not sure how Navboxes are blocked in Mobile view, but I assume it's server side, as the HTML code for navbox is not on the page (although strangely their templatestyles is). An alternative output could mimick the navbox styles and hav different displays for mobile and desktop (or narrow and wide screen).
An alternative output from taxonbar shouldn't be too difficult. I did some experimenting in the module sandbox some time ago, using horizontal and vertical lists, with collapsible options. However, it would be good to find out what Wikimedia plans are for navboxes and mobile. —  Jts1882 | talk  07:39, 18 April 2024 (UTC)[reply]

Taxonbar appears to be overpopulated, uncurated, containing numerous links to, from a reader's perspective, low-quality sites (database dumps); on mobile devices this would be one half of the screen full of some links. On the other hand, I know that a link to the commons category/gallery will take me to moderately well-curated images of the species, which are made and heavily used by us. Since our articles don't have more than a picture of two, and many readers probably want to see more, I am still not convinced that adding a wikispecies link and one or two commons links would be a bad idea, as unobtrusive as we want it to be. While the taxobox is intended to summarize information on the taxon (meaning: classification), we already deviate from this by incorporating images, statuses, and range maps. Should this be discussed anywhere else? Can we BOLDly add it and wait for the avalanche? — Preceding unsigned comment added by Ponor (talkcontribs)

Back in the old days, we did try putting those links in the taxobox. It got shot down. This is why Tom said what he did above. Those were the arguements against. - UtherSRG (talk) 13:04, 22 April 2024 (UTC)[reply]
Taxonbar links are curated to some extent. We've decided not to include databases published by governments of non-English speaking countries. And there are many Wikidata properties for taxonomic databases that aren't included in taxonbars (where there has never been any discussion to include or exclude them).
I'm against including (potentially) 4 links to Wikispecies in desktop view. Currently links appear in the desktop sidebar, in the taxonbar, and via {{Wikispecies}} (if present). A link the in the taxobox would be a fourth. Sidebar and taxonbar links don't appear in mobile view. It would be good to enable links to Wikispecies and Commons in mobile in some way aside from {{Wikispecies}} and {{Commons}}. Plantdrew (talk) 19:51, 22 April 2024 (UTC)[reply]
I concur, PD.
Let's see if I can sum up. There's a desire for links to Wikispecies/CommonsCats/CommonsGal/Wikidata to be available to mobile users, if they exist. Taxonbar is where these are already present in desktop, but is suppressed in mobile, as is the sidebar where some of these links are present in desktop. Links to CC, CG and WS should be listed on WD, if they exist. So it seems that only a link to WD would suffice, though providing all four would ease the burden on the user to click through WD to get to the others.
This seems to be our list of current options, though they weren't all stated above:
  1. Add these links as originally requested to the Taxobox system.
  2. Add these links as originally requested to the Taxobox system, but have them appear only for mobile users; so CSS or JS changes
  3. Tweak the CSS or JS (or ?) so that the Taxonbar appears on mobile
  4. Tweak the CSS or JS (or ?) so that the Taxonbar appears on mobile, but in a limited form with just WS/CC/CG/WD, if available.
Option 1 is ruled out by history. It's a good ask, but I don't think it will ever see traction. All the rest, as far as I can figure, need someone who can tweak the CSS or JS so that the good magic happens. Do we need to poke elsewhere for CSS/JS/? support on this? - UtherSRG (talk) 00:38, 23 April 2024 (UTC)[reply]
Another option is to create a simple template that displays a box with the wikimedia links that only displays on mobile. If could be floated right below the taxobox or placed at the bottom of the page instead of the taxonbar. The taxobox or taxonbar templates could be used to place it automatically. It can be given a class so that it will only be shown in mobile (the CSS would be set using templatestyles). —  Jts1882 | talk  07:03, 23 April 2024 (UTC)[reply]
A summary of relevant differences between desktop and mobile views (mostly redundant with above discussion).
  • Template {{taxonbar}} is only shown in desktop, so mobile views don't get information that is exclusive to taxonbar.
  • In desktop, Wikispecies is shown in sidebar, taxonbar (if other identifiers) and in template {{Wikispecies}} or {{Wikispecies-inline}} (if present).
  • In mobile, Wikispecies is only shown if template {{Wikispecies}} or {{Wikispecies-inline}} is on the page.
  • In desktop, the Commons gallery or category is shown in the sidebar and in in template {{Commons}} or {{Commons-inline}} or {{Commons category}}
  • In mobile, Commons gallery or category is only shown if template {{Commons}} or {{Commons-inline}} or {{Commons category}} is only page.
  • Normally only one of the Commons gallery or category is linked. Both the sidebar and the commons templates show the gallery if it exists and the category if there is no gallery. Both can be linked if {{Commons category}} is also added.
In short, mobile users need the wikispecies and commons templates if they are to see wikimedia links. Some numbers:
In short, only about 10% of the pages on taxa have the wikimedia link templates. I thought it would be higher. A taxobox or taxonbar solution is easier than adding the wikimedia templates.—  Jts1882 | talk  09:04, 23 April 2024 (UTC)[reply]