Template talk:Base Léonore

Latest comment: 2 years ago by Chuntuk in topic Base Léonore links broken

Base Léonore links broken edit

Changes made to the Base Léonore website mean that links generated by this template no longer work.

People are identified via a reference number (a "cote" in the terminology of the site) in the form LH/1924/18. This is converted into a link like this: http://www.culture.gouv.fr/public/mistral/leonore_fr?ACTION=CHERCHER&FIELD_1=COTE&VALUE_1=LH%2F1924%2F18 . This link now goes nowhere.

The page it now needs to go to doesn't include the cote at all, it's this one: https://www.leonore.archives-nationales.culture.gouv.fr/ui/notice/269341 . There's no way to find that numeric id from the cote, other than going to the site, entering it into the search box, and seeing what you find. If you do that, you need to be aware that they've added an extra slash to it, so it's now LH//1924/18. Cotes in the old style come back with no hits.

I'm not sure what the best way forward is. This template is copied from the French one, so maybe we need to keep in step with whatever they do. Léonore are actually using wikidata on their site, so they might be amenable to putting something in place to facilitate linking. I've no idea how to make that approach - it probably should be done by French wikipedia.

Or maybe we fix it by changing/replacing the template, and manually working through the 70 pages that use it to find the new numeric ids. If we do that, I think the new approach should be a wrapper for cite web.

What do you think? Chuntuk (talk) 07:21, 18 August 2021 (UTC)Reply

Having dug a little deeper, here's what I propose to do: use the id parameter to accept the numeric id for the person's page. If an id is specified, a url is generated that goes to the person's page. If it isn't, the url just goes to the home page and the user will have to search from there. Ideally, we'd swap the single slash in the cote for a double one, but that's beyond my powers right now. Chuntuk (talk) 13:05, 18 August 2021 (UTC)Reply