Adding Wikipedia links when an article is created about a taxon

As discussed here, I wonder if someone could clarify the process by which taxon pages are matched to Wikipedia articles when the latter are created. Is this an automated or a manual process?

1 Like

As i do remember (can’t watch now as i cancelled curating), the setting is to take automatically scientific names for linking to corresponding Wikipedia articles. You may change this by editing the taxon page by entering the wished article name of Wikipedia.

It’s automated, but I think iNat has a local cache of the data from Wikipedia which may not immediately update when the article is created.

We use the Wikipedia title field if it’s set, or the taxon name to retrieve a Wikipedia article. If one doesn’t exist, or there’s no redirect, then no match is made and we may fall back to a different describer. If we get a Wikipedia response, we cache it for 24 hours.

2 Likes

Thanks for chiming in, everyone. Good to hear the links are automatically created every 24 hours. @kueda a more robust way of tracking new articles would be through Wikidata, which has 1) all the mappings to iNat taxon IDs as well as 2) the links to all the language editions of Wikipedia articles for those taxa.

1 Like

There’s a feature request for that here: https://forum.inaturalist.org/t/use-wikidata-to-link-to-appropriate-wikipedia-articles-in-all-languages/5538/

1 Like

Thanks @bouteloua, I responded there with some additional context.

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

Are the links to Wikipedia updated every 24 hours? These articles were created in late Sept/early October and still don’t appear on the respective taxon pages.

https://en.wikipedia.org/wiki/Montipora_flabellata
https://www.inaturalist.org/taxa/106090-Montipora-flabellata

https://en.wikipedia.org/wiki/Polistes_weyrauchorum
https://www.inaturalist.org/taxa/700132-Polistes-weyrauchorum

https://en.wikipedia.org/wiki/Faxonius_virilis
https://www.inaturalist.org/taxa/776137-Faxonius-virilis

I guess I said it was cached for 24 hours, and it is, except… it’s also cached for 30 days ( the description is cached for 24 hours regardless of where it comes from, but the Wikipedia response is cached for 30 days). 30 days is a bit extreme, so we’re going to set it to 7 days. Curators can also force a refresh by refreshing the Wikipedia summary on the taxon form. I’ll add a note there about that too.

5 Likes

will this apply to places, too?

can something similar be done for places?

Yes, the Wikipedia cache TTL will apply to the “Wikipedia Description” we show on the place pages as well. And yes, we could build some kind of manual cache refresh functionality for place descriptions, although that sounds like a subject for a different thread.

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.