Template talk:Fossilworks

Changing Fossilworks to paleobiodb.org
I'm not sure changing the link to https://paleobiodb.org is the appropriate. I had problems over the weekend with fossilworks failing, but it was working earlier today. The two sites are very closely related, but not exactly the same. —  Jts1882 &#124; talk 20:20, 6 December 2021 (UTC)
 * Ah right, I thought it was a mirror or rebranding or similar. Fossilworks seems to have been down for a week or more. I was following a link from a taxonbar, so was following Wikidata's lead, but appreciate that may not be the correct thing. Happy for you to revert, but it seems, at least in the short term, it will lead to a lot of dead references. YorkshireExpat (talk) 20:34, 6 December 2021 (UTC)
 * FYI this link just worked for me! Also interesting info. YorkshireExpat (talk) 20:42, 6 December 2021 (UTC)
 * Fossilworks seems to be on and off for me. It was working again for a while, but then failed again.
 * A while ago, I spent some time looking at the relationship between Fossilworks and  PaleoDB. If you compare the Fossilworks and PaleoDB pages there are minor differences. I can't get examples now as Fossilworks is down, but I might have them noted down somewhere. The difference could be because the two interfaces extract data with different algorithms from identical databases or possibly that there are differences in the data in the two databases. The FAQs indicate the Fossilworks database gets changes in  PaleoDB daily, but it doesn't say the exchange is two-way.
 * So if it can be avoided, the Fossilworks template shouldn't redirect to PaleoDB, but obviously it's better than nothing. Let's leave your change and see if Fossilworks comes back in a stable form. —  Jts1882 &#124; talk 17:48, 8 December 2021 (UTC)
 * No problem. I will keep an eye and revert as and when I can. I agree the situation isn't ideal at the moment. YorkshireExpat (talk) 18:36, 8 December 2021 (UTC)
 * Fossilworks was there all along, it just needed the "www." in the url. I noticed in Firefox that their security page was briefly appearing before redirecting to the page not found page. I tried Edge and that gave some info and suggested running Windows Network Diagnostics (Chrome does the same), which suggested using www.fossilworks.org instead of fossilworks.org to the url. I'm not sure what changed but it might be to do with browser security standards. It seems unlikely that it would be a change on fossilworks itself. —  Jts1882 &#124; talk 12:00, 12 December 2021 (UTC)
 * Yes, that's better now. Good sleuthing! YorkshireExpat (talk) 12:02, 12 December 2021 (UTC)
 * I've fixed Wikidata now, so taxonbars should be back to normal too. YorkshireExpat (talk) 17:35, 12 December 2021 (UTC)
 * I saw that when I went to attempt the fix. Glad you got there first. I understand the formatter url, but not the URL match pattern or format as regex entries.
 * Some of the taxonbars are still showing older dead or paleobiodb links, but this is the caching. A null edit fixes them. —  Jts1882 &#124; talk 14:32, 16 December 2021 (UTC)
 * Now I can compare the two. Take Giraffa as an example on fossilworks] and [paleobiodb]. There are some small differences in the taxon record:
 * Fossilworks gives the PaleoDB taxon number.
 * Fossilworks gives "Ecology: scansorial browser", whereas Paleobiodb has "Ecology: ground dwelling browser"
 * Fossilworks has an "Environments" and "Age range" section,, whereas Paleobiodb has neither
 * Fossilworks reports 171 collection and Paleobiodb reports 177.
 * In the latter case it seems fossilworks is choosing not to count some (possibly as indeterminate), as the Algeria collection (on the Paleobiodb Giraffa page) does have a record on fossilworks (see here). I still can't decide if the databases are slightly different or whether its just how they use and display the same data. —  Jts1882 &#124; talk 15:06, 12 December 2021 (UTC)

Thousands of plain and cite web citations using the now bad link
The link in the template is now working, but there are thousands of citations using the now dead links. This probably needs a bot request to fix. A simple replacement of the url would be relatively straightforward, but this might be the opportunity to change citations to use the fossilworks template or an improved version wrapping cite web (e.g. fossilworks/sandbox). However, this might be complicated as the citations and urls take many forms:
 * Search insource:"http://fossilworks.org/" finds 7208 results
 * Search insource:"at [[Fossilworks].org "] finds 1209 bare references with the following form:


 * Search insource:"a=taxonInfo&taxon_no=" 2271 results, which can be in several forms:
 * Search insource:"http://fossilworks.org/?a=taxonInfo&taxon_no=" 552 results
 * Search insource:"http://fossilworks.org/bridge.pl?a=taxonInfo&taxon_no=" 1595 results
 * Search insource:"http://fossilworks.org/cgi-bin/bridge.pl?a=taxonInfo&taxon_no=" 147 results
 * The taxonInfo searches also take a few other forms:
 * Search insource:"http://fossilworks.org/bridge.pl?action=taxonInfo&taxon_no=" 166 results
 * Search insource:"http://fossilworks.org/bridge.pl?taxon_no=" [... &action=taxonInfo] 13 results
 * There are also urls using the forms  (~500) and   (~20).

The above is not a complete, but illustrates that an upgrade might be difficult. —  Jts1882 &#124; talk 15:35, 15 December 2021 (UTC)
 * An excellent example of why templates should be used when they exist! YorkshireExpat (talk) 22:38, 15 December 2021 (UTC)
 * Templates have their own problems. For example, what if the site migrated only some of the URLs and those left behind are dead links. This is typically what happens. Templates thus create link rot as they can only do all or nothing. They also require special bots to work with unlike CS1|2 templates which have standardized tools. -- Green  C  21:33, 16 December 2021 (UTC)

Bot request
A bot request was made Link_rot/URL_change_requests. It looks like the site did a URL migration. My bot can do that. Here are the links and a first pass on the rules:


 * Rule 1 (taxonInfo / taxon_no or taxon_name):
 * http://fossilworks.org/?a=taxonInfo&taxon_no=50729 -> http://www.fossilworks.org/cgi-bin/bridge.pl?a=taxonInfo&taxon_no=50729
 * http://fossilworks.org/bridge.pl?a=taxonInfo&taxon_no=64541 -> http://www.fossilworks.org/cgi-bin/bridge.pl?a=taxonInfo&taxon_no=64541
 * http://fossilworks.org/cgi-bin/bridge.pl?a=taxonInfo&taxon_no=170186 -> http://www.fossilworks.org/cgi-bin/bridge.pl?a=taxonInfo&taxon_no=170186
 * http://fossilworks.org/bridge.pl?taxon_no=150723&action=taxonInfo -> http://www.fossilworks.org/cgi-bin/bridge.pl?taxon_no=150723&action=taxonInfo
 * http://fossilworks.org/bridge.pl?action=taxonInfo&taxon_no=42539 -> http://www.fossilworks.org/cgi-bin/bridge.pl?action=taxonInfo&taxon_no=42539
 * http://fossilworks.org/?a=taxonInfo&taxon_name=Chelonoidis -> http://www.fossilworks.org/cgi-bin/bridge.pl?a=taxonInfo&taxon_name=Chelonoidis
 * Note the query (?) might be preceded by "bridge.pl" or "cgi-bin" or both. The order of taxonInfo and taxon_no can be reversed. Note that "a=" is the same as "action="


 * Rule 2 (collectionSearch / collection_no or taxon_no or collection_list)
 * http://fossilworks.org/?a=collectionSearch&collection_no=100273 -> http://www.fossilworks.org/cgi-bin/bridge.pl?a=collectionSearch&collection_no=100273
 * http://fossilworks.org/?a=collectionSearch&taxon_no=63047 -> http://www.fossilworks.org/cgi-bin/bridge.pl?a=collectionSearch&taxon_no=63047
 * http://fossilworks.org/bridge.pl?action=collectionSearch&collection_list=17837 -> http://www.fossilworks.org/cgi-bin/bridge.pl?action=collectionSearch&collection_list=17837


 * Rule 2.2 (collectionSearch / formation / member or geological_group or group_formation_member)
 * http://fossilworks.org/bridge.pl?action=collectionSearch&formation=Abu%20Agag&member=NULL_OR_EMPTY -> http://www.fossilworks.org/cgi-bin/bridge.pl?action=collectionSearch&formation=Abu%20Agag&member=NULL_OR_EMPTY
 * http://fossilworks.org/bridge.pl?action=collectionSearch&geological_group=Red%20Series&formation=Danakil -> http://www.fossilworks.org/cgi-win/bridge.pl?action=collectionSearch&geological_group=Red%20Series&formation=Danakil
 * http://fossilworks.org/bridge.pl?action=collectionSearch&group_formation_member=Carapacha&formation=Carapacha -> http://www.fossilworks.org/cgi-bin/bridge.pl?action=collectionSearch&group_formation_member=Carapacha&formation=Carapacha


 * Rule 3 (Reference / reference_no)
 * http://fossilworks.org/?a=displayReference&reference_no=11982 -> http://www.fossilworks.org/cgi-bin/bridge.pl?a=displayReference&reference_no=11982


 * Rule 4 (displayTaxonomicData / reference_no)
 * http://fossilworks.org/?a=displayTaxonomicData&reference_no=6930&display=authorities -> http://www.fossilworks.org/cgi-bin/bridge.pl?a=displayTaxonomicData&reference_no=6930


 * Rule 5 (home page)
 * http://fossilworks.org/?a=home -> http://www.fossilworks.org
 * http://fossilworks.org/bridge.pl[?][#]? -> http://www.fossilworks.org
 * http://fossilworks.org/bridge.pl?a=home -> http://www.fossilworks.org
 * http://fossilworks.org/bridge.pl?[a-z]$ -> http://www.fossilworks.org
 * http://fossilworks.org/cgi-bin/bridge.pl -> http://www.fossilworks.org


 * Rule 6 (referenceInfo / reference_no)
 * http://fossilworks.org/?a=referenceInfo&reference_no=49328 -> http://www.fossilworks.org/cgi-bin/bridge.pl?a=referenceInfo&reference_no=49328


 * Rule 7 (displayInterval / interval_no)
 * http://fossilworks.org/bridge.pl?a=displayInterval&interval_no=733 -> http://www.fossilworks.org/cgi-bin/bridge.pl?a=displayInterval&interval_no=733


 * Rule 8 (collectionInfo / collection_no)
 * http://fossilworks.org/bridge.pl?action=collectionInfo&collection_no=80903 -> http://www.fossilworks.org/cgi-bin/bridge.pl?action=collectionInfo&collection_no=80903


 * Rule 10 (displayStrata / formation / group_formation_member or geological_group )
 * http://fossilworks.org/bridge.pl?action=displayStrata&formation=Morawan&group_formation_member=Morawan -> http://www.fossilworks.org/cgi-bin/bridge.pl?action=displayStrata&formation=Morawan&group_formation_member=Morawan
 * http://fossilworks.org/bridge.pl?action=displayStrata&geological_group=&formation=Passage%20Beds&group_formation_member=Passage%20Beds -> http://www.fossilworks.org/cgi-bin/bridge.pl?action=displayStrata&geological_group=&formation=Passage%20Beds&group_formation_member=Passage%20Beds


 * Rule 11 (taxonInfo / is_real_user / taxon_no)
 * http://fossilworks.org/bridge.pl?action=taxonInfo&is_real_user=1&taxon_no=111752 -> http://www.fossilworks.org/cgi-bin/bridge.pl?action=taxonInfo&is_real_user=1&taxon_no=111752


 * Rule 12 (viewTimeScale / scale_no)
 * http://fossilworks.org/bridge.pl?action=viewTimeScale&scale_no=125 -> http://www.fossilworks.org/cgi-bin/bridge.pl?action=viewTimeScale&scale_no=125

It looks complicated butI think it's actually easy. Just delete the part of the URL to the left of the "?" and replace with "https://www.fossilworks.org/cgi-bin/bridge.pl" so for example:
 * http://fossilworks.org/bridge.pl?a=displayInterval&interval_no=733 -> https://www.fossilworks.org/cgi-bin/bridge.pl?a=displayInterval&interval_no=733

That's it, should work for most of them except rule 5 which will require special handling. The bot will test the new URL if not working add an archive URL otherwise a or flip an existing live to dead. --  Green  C  20:58, 16 December 2021 (UTC)
 * It would be better to use http://www.fossilworks.org/cgi-bin/bridge.pl for the home page (or with ?action=home). If you just use http://www.fossilworks.org, the totals and feature species doesn't display and the search doesn't work (for the same reason why we have all the dead links). The full url gives a page that has the same welcome message and is fully functional. —  Jts1882 &#124; talk 08:42, 17 December 2021 (UTC)
 * Yes I see they are different. Alright will use the new form. Already did 1,000 articles, will return and fix those. --  Green  C  16:11, 17 December 2021 (UTC)
 * ✅ done. All former  URLs should be working now, migrated to the new form. There were about 10,000 URLs in 7,300 articles. --  Green  C  04:08, 18 December 2021 (UTC)

Edit request: Clean up "postscript=" field
Greetings and felicitations. Would someone (I see that you, Jts1882, are still an active Wiki editor) please be so kind as to clean up the hanging "postscript=" field? I'm afraid I can't see where it's transcluded from. —DocWatson42 (talk) 04:00, 29 February 2024 (UTC)
 * This seems to me a good use of the postscript field, doing what it says on the tin, adding a postscript of the form "from the Paleobiology Database" after the "Retrieved ". Using postscript exclusively to determine the terminal punctuation is a strange choice and enforcing that with warnings even stranger. There should be a way of suppressing the warning when it is deliberate (e.g. the ((...)) used with other parameters. I haven't found a good way of indicating a database a particular source uses. Publisher and via don't convey the correct relationship. Agency might be an option as in where the information came from.
 * As an aside none also gives the maintenance message, despite being covered in the documentation. —  Jts1882 &#124; talk 10:25, 29 February 2024 (UTC)
 * I've changed the citation to remove the warning message. —  Jts1882 &#124; talk 10:31, 29 February 2024 (UTC)

Discussion on future of Fossilworks and PBDB
Fossilworks is down again. There are discussions at Wikipedia Palaeontology and Wikidata: There is also an old discussion at Wikipedia_talk:WikiProject_Palaeontology/Archive_16 —  Jts1882 &#124; talk 15:41, 29 March 2024 (UTC)
 * Wikipedia_talk:WikiProject_Palaeontology
 * d:Wikidata_talk:WikiProject_Taxonomy