Template talk:Cite IUCN
On 16 July 2023, it was proposed that this page be moved from Template:Cite iucn to Template:Cite IUCN. The result of the discussion was moved. |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||||||
|
Requested move 13 June 2020
[edit]- The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review after discussing it on the closer's talk page. No further edits should be made to this discussion.
The result of the move request was: Unopposed move (non-admin closure) buidhe 23:33, 20 June 2020 (UTC)
– Match name with template (the module is also used by Template:Make cite iucn, but the new name adequately describes that use as well) * Pppery * it has begun... 01:35, 13 June 2020 (UTC) —Relisting. ~ Amkgp 💬 17:58, 20 June 2020 (UTC)
@Pppery: I closed as move, but moved it back because apparently redirects don't work in module namespace. I ask you to implement in the move in such a way as to avoid breaking anything. buidhe 23:40, 20 June 2020 (UTC)
help at Molina's hog-nosed skunk
[edit]Hi. Could somebody give me an example fix of the "old form url" error at Molina's hog-nosed skunk? Thanks. Jason Quinn (talk) 14:43, 13 January 2021 (UTC)
- @Jason Quinn: I don't understand. I didn't see an error, but have updated the reference to the latest IUCN assessment. The older assessment can be found at 2008 assessment.
- There was a problem when the IUCN changed their url format and broke the links for a variety of IUCN templates. They left the oldversions at an oldredlist url for a while but then deleted that and added some redirects (but not for all pages). It was all a bit of a mess. This template was created to replace the old templates and provide a suitable link where possible. — Jts1882 | talk 14:59, 13 January 2021 (UTC)
- Now I may understand and assume you are showing warnings as well as errors for citation templates. The iucn reference had
|url=https://www.iucnredlist.org/details/41630/0
which is the oldstyle link. At least in this case they provided a redirect. The best fix is to use{{make cite iucn}}
which takes the citation provided at the IUCN cite and converts to to a {{cite iucn}} reference that can be substituted. Use{{subst:make cite iucn|COPY AND PASTED CITATION|ref=iucn}}
without the ref tags. This is what I used to update the citation. — Jts1882 | talk 15:08, 13 January 2021 (UTC)
- Now I may understand and assume you are showing warnings as well as errors for citation templates. The iucn reference had
- Thank you! That's exactly what I need to know. Jason Quinn (talk) 01:17, 14 January 2021 (UTC)
Broken error checks, no way of indicating erratas
[edit]I believe i have spotted a problem in the template. Usually an error message appears when the doi and the page code don't match. However, these are supposed to not match when an errata version is published - for an example, see this revision of Australian swamp rat (also look at the IUCN page, and compare it with a 'normal' IUCN reference like Brown bear. Currently there is no way of indicating an errata version in references, and therefore no way of making the ugly red error message go away. Could someone take a look at this? The easiest, worst way would be removing the error checks for doi and page mismatches, the best way would be adding new checks and assessments for indicating errata versions, and i guess a middle third way would be adding a new parameter that allowed users to opt out of the doi-page mismatch error check for that single reference. YuriNikolai (talk) 02:05, 7 August 2021 (UTC)
- I have added support for
|errata=
. When that parameter has a year (from the parenthetical portion of the assessment's title), the assessment ID portion of the various identifiers may be different (taxon ID portion must still match),{{cite iucn}}
will convert publication|year=
or|date=
to|orig-date=
and add|date=<errata year>
. I have also adjusted{{make cite iucn}}
to extract errata year from the errata note in the assessment title and add|errata=<errata year>
to the{{cite iucn}}
template that it creates: {{make cite iucn|Burnett, S., Menkhorst, P., Ellis, M. & Denny, M. 2016. Rattus lutreolus (errata version published in 2017). The IUCN Red List of Threatened Species 2016: e.T19343A115147713. https://dx.doi.org/10.2305/IUCN.UK.2016-3.RLTS.T19343A22440810.en. Downloaded on 08 August 2021.|x}}
{{cite iucn |author=Burnett, S. |author2=Menkhorst, P. |author3=Ellis, M. |author4=Denny, M. |year=2016 |title=''Rattus lutreolus'' (errata version published in 2017) |errata=2017 |volume=2016 |page=e.T19343A115147713 |doi=10.2305/IUCN.UK.2016-3.RLTS.T19343A22440810.en |access-date=8 August 2021}}
- Burnett, S.; Menkhorst, P.; Ellis, M.; Denny, M. (2017) [errata version of 2016 assessment]. "Rattus lutreolus (errata version published in 2017)". IUCN Red List of Threatened Species. 2016: e.T19343A115147713. doi:10.2305/IUCN.UK.2016-3.RLTS.T19343A22440810.en. Retrieved 8 August 2021. {{cite iucn}}: error: title has extraneous text (help)
- —Trappist the monk (talk) 12:37, 8 August 2021 (UTC)
- This is perfect! Thank you very much for your work! YuriNikolai (talk) 21:34, 9 August 2021 (UTC)
remove support for |id= parameter
[edit]According to this search, there are only a dozen or so article that have {{cite iucn}}
templates using |id=
. I think that that parameter should go away. |id=
is not a documented parameter and {{make cite iucn}}
does not include it when it creates a {{cite iucn}}
template from an IUCN example citation. Unless someone tells me that it is a foolish thing to do, I shall update the dozen or so articles that use |id=
and then remove support for it from Module:Cite iucn.
—Trappist the monk (talk) 13:04, 8 August 2021 (UTC)
- That's a legacy parameter used to create the url in my earliest version of the module, before you upgraded it to be fully compliant with the cite templates. Now most additions use
{{make cite iucn}}
so it's redundant. Besides about half those uses had template errors or gave dead links. I've updated them all using{{make cite iucn}}
. — Jts1882 | talk 15:19, 8 August 2021 (UTC)- You're faster than I am.
|id=
no longer supported. - —Trappist the monk (talk) 15:33, 8 August 2021 (UTC)
- You're faster than I am.
Error in DOI check
[edit]The check in Module:Cite iucn for a DOI insists on it ending with ".en". However, there are valid DOIs, such as doi:10.2305/IUCN.UK.2020-3.RLTS.T36007A181631570.es, that do not end in this language code, so generate error messages. See Romeroa. Peter coxhead (talk) 09:18, 19 March 2022 (UTC)
- Odd. I wonder how many there are? The Spanish pages generally seem to use an .en doi. It seems likely to be a mistake at the IUCN end, unless it is new and there more. I've modified the regex to remove the error message. — Jts1882 | talk 11:40, 19 March 2022 (UTC)
- According to this search, about 165 articles; some of which, no doubt, use the same doi.
- —Trappist the monk (talk) 12:25, 19 March 2022 (UTC)
Two issues with {{make cite iucn}}
[edit]Been encountering a couple of issues...
- When I attempt to subst: the template and then preview, it doesn't show the result, just the as-is template text.
- Accessdate is not needed because we are using the doi. Please deprecate this to an optional field or drop it altogether.
Thanks! - UtherSRG (talk) 11:50, 1 May 2023 (UTC)
- Can you explain, step-by-step, just what you are doing when you
attempt to subst: the template and then preview
? - Is there discussion elsewhere that has established a consensus that the 'Accessed on' date from the IUCN plain-text citation should not be extracted and rendered as
|access-date=
? - —Trappist the monk (talk) 12:25, 1 May 2023 (UTC)
- When I do {{make cite iucn|stuff}}, the preview shows the IUCN reference in its final format. When I subst: the template, the preview is just {{subst:make cite iucn|stuff}}.
- As far as I understand things, the access date is for websites that can change over time. This is used so that when and if the website changes, we can continue to validate against the "as seen" version of the website. When an IUCN entry changes, it then has a new doi. The doi is what allows us to determine the "as seen" version of the data. The use of access-date in the {{cite iucn}} template seems to be a holdover from when this was treated as a website citation. I do not know of a discussion elsewhere on this. What is the rationale for keeping it? What is it used for other than as I described? Why isn't it used in other citation templates? - UtherSRG (talk) 14:53, 1 May 2023 (UTC)
- On 1: The preview changed with the latest update, which makes sure the reference is readable on the saved page even if not substituted properly. The preview isn't as helpful when substituting (as there is nothing to preview) but the substitution still works as before.
- On 2: I don't think the IUCN doi is fixed. If I remember correctly, it takes you to an updated (correction) page if there is one, which wouldn't be the one seen by the editor. If this is the case then the access date should be required. — Jts1882 | talk 15:05, 1 May 2023 (UTC)
- On 1: The preview used to be of the {{cite iucn}} template that would get generated. Perhaps the preview of the subst could be that? Oh... seeing below that it is because of the damned ref-tag bug. Nevermind... - UtherSRG (talk) 16:08, 1 May 2023 (UTC)
- (edit conflict)
- Is what you are really doing this:
<ref>{{make cite iucn|stuff}}</ref>
subst:
does not work inside<ref>...</ref>
tags (a very old bug; see see phab:T4700)- If I write this (outside of ref tags):
- {{subst:make cite iucn|Gobush, K.S., Edwards, C.T.T, Maisels, F., Wittemyer, G., Balfour, D. & Taylor, R.D. 2021. Loxodonta cyclotis (errata version published in 2021). The IUCN Red List of Threatened Species 2021: e.T181007989A204404464. https://dx.doi.org/10.2305/IUCN.UK.2021-1.RLTS.T181007989A204404464.en. Accessed on 25 April 2023.}}
- and preview, I get the properly rendered
{{cite iucn}}
template:{{cite iucn |author=Gobush, K.S. |author2=Edwards, C.T.T. |author3= Maisels, F. |author4=Wittemyer, G. |author5=Balfour, D. |author6=Taylor, R.D. |year=2021 |errata=2021 |title=''Loxodonta cyclotis'' |volume=2021 |page=e.T181007989A204404464 |doi=10.2305/IUCN.UK.2021-1.RLTS.T181007989A204404464.en |access-date=25 April 2023}}
- Gobush, K.S.; Edwards, C.T.T.; Maisels, F.; Wittemyer, G.; Balfour, D.; Taylor, R.D. (2021) [errata version of 2021 assessment]. "Loxodonta cyclotis". IUCN Red List of Threatened Species. 2021: e.T181007989A204404464. doi:10.2305/IUCN.UK.2021-1.RLTS.T181007989A204404464.en. Retrieved 25 April 2023.
- If I write the same thing inside
<ref>...</ref>
tags, I get this:[1] - Is that what is happening for you? If it is, drop the
subst:
prefix. Previews work correctly and AnomieBOT will be around in an hour or so to do the actual subtitution. - I remember some discussion (perhaps at WT:TOL) about how the IUCN doi doesn't change when assessments are updated(?) or it always redirects to the current assessment(?) It's all fuzzy to me now. I think that some reason like that was the rationale for having
|access-date=
in{{cite iucn}}
renderings. You might want to dredge the WT:TOL archives and/or raise the topic there. - —Trappist the monk (talk) 15:25, 1 May 2023 (UTC)
- Yup... it's that pesky ref-tag bug. On the doi issue, I'll do some research.... - UtherSRG (talk) 16:09, 1 May 2023 (UTC)
- Use
|ref=NAME
to add a named ref tag, e.g.{{subst:make cite iucn|Gobush, K.S., Edwards, C.T.T, Maisels, F., Wittemyer, G., Balfour, D. & Taylor, R.D. 2021. Loxodonta cyclotis (errata version published in 2021). The IUCN Red List of Threatened Species 2021: e.T181007989A204404464. https://dx.doi.org/10.2305/IUCN.UK.2021-1.RLTS.T181007989A204404464.en. Accessed on 25 April 2023. |ref=iucn}}
- which previews as:
{{subst:make cite iucn|Gobush, K.S., Edwards, C.T.T, Maisels, F., Wittemyer, G., Balfour, D. & Taylor, R.D. 2021. Loxodonta cyclotis (errata version published in 2021). The IUCN Red List of Threatened Species 2021: e.T181007989A204404464. https://dx.doi.org/10.2305/IUCN.UK.2021-1.RLTS.T181007989A204404464.en. Accessed on 25 April 2023. |ref=iucn}}
- and produces:[2]
- — Jts1882 | talk 16:18, 1 May 2023 (UTC)
- I think that your
which previews as:
example is flawed? When I preview that form, I get a{{cite iucn}}
rendering, not a display of the raw (unprocessed){{cite iucn}}
template parameters or a display of the raw IUCN citation inside{{make cite iucn}}
(yourwhich previews as:
example). - There really should be no pressing need to use
subst:
with or without|ref=NAME
. Drop thesubst:
and let AnomieBOT do the substitution. Yeah it make take an hour or two but so what? - —Trappist the monk (talk) 16:40, 1 May 2023 (UTC)
- Roger, roger. - UtherSRG (talk) 18:36, 1 May 2023 (UTC)
- I think that your
- Use
- Yup... it's that pesky ref-tag bug. On the doi issue, I'll do some research.... - UtherSRG (talk) 16:09, 1 May 2023 (UTC)
References
- ^ {{subst:make cite iucn|Gobush, K.S., Edwards, C.T.T, Maisels, F., Wittemyer, G., Balfour, D. & Taylor, R.D. 2021. Loxodonta cyclotis (errata version published in 2021). The IUCN Red List of Threatened Species 2021: e.T181007989A204404464. https://dx.doi.org/10.2305/IUCN.UK.2021-1.RLTS.T181007989A204404464.en. Accessed on 25 April 2023.}}
- ^ Gobush, K.S.; Edwards, C.T.T.; Maisels, F.; Wittemyer, G.; Balfour, D.; Taylor, R.D. (2021) [errata version of 2021 assessment]. "Loxodonta cyclotis". IUCN Red List of Threatened Species. 2021: e.T181007989A204404464. doi:10.2305/IUCN.UK.2021-1.RLTS.T181007989A204404464.en. Retrieved 25 April 2023.
Formatting changes
[edit]In the last couple of weeks I've noticed that the resultant citation deviates from the usual formatting of cite journal. It now puts |access-date=
first, where it should be nearly last, and it has removed the spaces preceding the pipes, which, given the length of IUCN's page numbers (such as e.T62052925A62052928) leads to a wall of text effect and clunky text wrapping. The resultant citation should look as much as possible like the standard layout shown at {{cite journal}}. Abductive (reasoning) 08:31, 3 June 2023 (UTC)
- @Abductive: can you give an example? The examples in the documentation section seem to work fine. For example:
- {{cite iucn |author1=Sillero-Zubiri, C. |author2=Do Linh San, E. |year=2016 |title=''Mungos gambianus'' |journal=[[The IUCN Red List of Threatened Species]] |volume=2016 |page=e.T13922A45199653 |url=https://www.iucnredlist.org/species/13922/45199653 |doi=10.2305/IUCN.UK.2016-1.RLTS.T13922A45199653.en |access-date=2023-06-03 |name-list-style=amp}} →
Sillero-Zubiri, C. & Do Linh San, E. (2016). "Mungos gambianus". The IUCN Red List of Threatened Species. 2016: e.T13922A45199653. doi:10.2305/IUCN.UK.2016-1.RLTS.T13922A45199653.en. Retrieved 2023-06-03.
- {{cite iucn |author1=Sillero-Zubiri, C. |author2=Do Linh San, E. |year=2016 |title=''Mungos gambianus'' |journal=[[The IUCN Red List of Threatened Species]] |volume=2016 |page=e.T13922A45199653 |url=https://www.iucnredlist.org/species/13922/45199653 |doi=10.2305/IUCN.UK.2016-1.RLTS.T13922A45199653.en |access-date=2023-06-03 |name-list-style=amp}} →
- Are you subst'ing? Peter coxhead (talk) 08:53, 3 June 2023 (UTC)
- Costus woodsonii for example. Plus ones where I put the subst'd text in as I create the article. Check my recent article creations for more. Abductive (reasoning) 08:59, 3 June 2023 (UTC)
- @Abductive: if I now understand correctly, you are using {{subst:Make cite iucn|...}}, i.e. {{Make cite iucn}} not {{Cite iucn}}. If so, then this is an issue for Trappist the monk, because it's caused by the function make_cite_iucn in Module:Cite iucn which I see has been changed recently. Peter coxhead (talk) 09:14, 3 June 2023 (UTC)
- Template talk:Make cite iucn redirects here. I didn't notice that. Abductive (reasoning) 09:29, 3 June 2023 (UTC)
- @Abductive: if I now understand correctly, you are using {{subst:Make cite iucn|...}}, i.e. {{Make cite iucn}} not {{Cite iucn}}. If so, then this is an issue for Trappist the monk, because it's caused by the function make_cite_iucn in Module:Cite iucn which I see has been changed recently. Peter coxhead (talk) 09:14, 3 June 2023 (UTC)
- Costus woodsonii for example. Plus ones where I put the subst'd text in as I create the article. Check my recent article creations for more. Abductive (reasoning) 08:59, 3 June 2023 (UTC)
- Fixed I think.
- —Trappist the monk (talk) 14:43, 3 June 2023 (UTC)
Requested move 16 July 2023
[edit]- The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review after discussing it on the closer's talk page. No further edits should be made to this discussion.
The result of the move request was: moved. (closed by non-admin page mover) Elli (talk | contribs) 02:23, 26 July 2023 (UTC)
- Template:Cite iucn → Template:Cite IUCN
- Template:Make cite iucn → Template:Make cite IUCN
- Module:Cite iucn → Module:Cite IUCN
– Capitalise abbreviation of proper name. Tol (talk | contribs) @ 04:29, 16 July 2023 (UTC)
- Meh; this seems like yet-another-make-work project without significant benefit to editors.
- —Trappist the monk (talk) 12:10, 16 July 2023 (UTC)
- Support per nom. An argument that is essentially WP:AINTBROKE is a poor rationale to oppose a move, IMHO. That some of the correct versions are red suggests in fact the situation could use some work, as editors may be astonished to not find these at the correctly capitalized titles. Mdewman6 (talk) 22:40, 25 July 2023 (UTC)
Thank you
[edit]This is a nice template that saves a lot of time. Thank you to those who put the work into this. Keep up the good work. SchreiberBike | ⌨ 16:55, 13 December 2023 (UTC)
Citing IUCN References
[edit]Greetings, fellow editors.
I am a fairly new Wikipedia editor and my goal is to help make knowledge on Australian parrots and Proteaceae species (especially the threatened species) more accessible to the general public, as many people rely on this site for information.
I have been making edits to some articles and am currently in the process of adding the IUCN Red List statuses to multiple Proteaceae genera, including Grevillea and Hakea, as well as adding additional information such as on distribution and threats from reliable sources to these articles.
However, after reading other, highly rated Wikipedia articles for advice on how to write, as well as reading the recommended citations for IUCN Red List assessment pages, I have noticed I am not citing my IUCN references correctly. It appears I have missed a lot of key information, such as the DOI number and assessors.
Would anyone please help advise me on how to correctly cite IUCN references for Red List Assessments on Wikipedia species pages?
I have revised one of my IUCN references for my edits to Hakea pulvinifera to fit what I have seen in other articles, but I'm still not sure if it is correct. The revised reference looks like this:
Barker, W.; Keith, D. (2020). "Hakea pulvinifera". The IUCN Red List of Threatened Species: e.T113088579A113309795. doi:10.2305/IUCN.UK.2020-3.RLTS.T113088579A113309795.en. Retrieved 15 December 2023.
Whereas the old reference looks like this, and was written in website format instead of the recommended journal format
"Hakea pulvinifera". The IUCN Red List of Threatened Species. 2020. Retrieved 14 December 2023.
Any advice would be greatly appreciated.
Thank you.
Lord.of.the.Proterozoic (talk) 09:40, 19 December 2023 (UTC)
- The easiest way is to use
{{make cite iucn|CITATION TEXT}}
. Just copy the recommended citation from the IUCN page (click the two squares icon to the left), e.g.- You write:
{{make cite iucn|Barker, W. & Keith, D. 2020. Hakea pulvinifera. The IUCN Red List of Threatened Species 2020: e.T113088579A113309795. https://dx.doi.org/10.2305/IUCN.UK.2020-3.RLTS.T113088579A113309795.en. Accessed on 19 December 2023.}}
- It produces: Barker, W.; Keith, D. (2020). "Hakea pulvinifera". IUCN Red List of Threatened Species. 2020: e.T113088579A113309795. doi:10.2305/IUCN.UK.2020-3.RLTS.T113088579A113309795.en. Retrieved 19 December 2023.
- You write:
- A bot will then automatically substitute the citations with the {{cite iucn}} wikitext.— Jts1882 | talk 12:54, 19 December 2023 (UTC)
- @Lord.of.the.Proterozoic: Your best bet is to copy the IUCN reference from the link provided on the IUCN page and use {{make cite iucn}}. That will do everything for you. - UtherSRG (talk) 12:55, 19 December 2023 (UTC)
- As Jts just said. XD - UtherSRG (talk) 12:56, 19 December 2023 (UTC)
- Thank you very much everyone, I will use the make cite IUCN method to go back and correct my previous errors, as well as add IUCN citations to additional articles. If I have any trouble with it, I will let you know here. Lord.of.the.Proterozoic (talk) 02:04, 20 December 2023 (UTC)
- As Jts just said. XD - UtherSRG (talk) 12:56, 19 December 2023 (UTC)
Category for missing doi?
[edit]Can we have this template place the article in a hidden category (maybe call it Category:IUCN cites missing doi) if the doi field is missing/empty? - UtherSRG (talk) 02:09, 28 June 2024 (UTC)
- Justification?
- I would guess that most instances of the template that are missing
|doi=
are listed in Category:Cite IUCN maint; particularly those that are using the old-form url. Here is a search of articles listed in that category:- ~990 articles use the old-form url
- a ctrl-f search of the results looking for
doi
gets ~30 hits, many duplicated, some not relevant which suggests that use of old-form url tends to go hand-in-hand with omission of the doi.
- a ctrl-f search of the results looking for
- ~990 articles use the old-form url
- —Trappist the monk (talk) 14:10, 28 June 2024 (UTC)
- Use case is for new-form missing doi means either the user did something wrong, or the reference is very new and no doi was yet assigned. The latter is the case for such like Narrow-headed shrew where the IUCN has recently updated. I want to be able to track those in particular so that when a doi gets assigned, I can add it to the ref. I care less for the old-form usage, though probably those should be converted, eh? (So maybe Category:Cite IUCN new form missing doi as a subcat of the existing maint cat? And that maint cat probably needs other subcats to make maintenance easier.) - UtherSRG (talk) 15:12, 28 June 2024 (UTC)
- Module:Cite IUCN uses the values from
|page=
(preferred) or from|doi=
when it constructs a IUCN url for|title=
.|doi=
is not required and in some cases can cause confusion for reasons described at Module:Cite IUCN § Current IUCN citations. - So long as the template has either of
|page=
or|doi=
, nothing is wrong so this template is not in need of maintenance:{{cite iucn |author=Dando, T. |author2=Kennerley, R. |year=2024 |title=''Crocidura stenocephala'' |page=e.T5582A22304177 |doi= |access-date=28 June 2024}}
- Now that you have me thinking about it, I wonder if the time has come for us to convert some of the maintenance messaging to error messaging for templates that:
- use old-form urls – many of these are dead
- have unknown urls – I've seen some urls that point to non-IUCN sources
- do not have any of
|url=
,|page=
,|doi=
– without these, the module cannot construct a url for|title=
- —Trappist the monk (talk) 17:12, 28 June 2024 (UTC)
- I didn't say they are wrong. I said I want to have an easy way to keep track of those missing the doi so that when the doi is created, I can add it. - UtherSRG (talk) 19:03, 28 June 2024 (UTC)
- Yeah, I heard you the first time. A maintenance category suggests the need for maintenance. For templates like your example, maintenance is not needed so it is inappropriate to add a category suggesting otherwise.
- —Trappist the monk (talk) 22:20, 28 June 2024 (UTC)
- I beg to differ. Category:Taxonbar_cleanup has three levels of maintenance: failed Error-checks, routine Maintenance, and Tracking purposes only (no error). I posit that what I'm asking for would fall in the tracking level. - UtherSRG (talk) 20:59, 29 June 2024 (UTC)
- Category:Cite IUCN without doi. I leave it to you to document the category on the template's ~/doc page.
- —Trappist the monk (talk) 22:40, 29 June 2024 (UTC)
- Thanks! Can you take a look at Acestrorhynchus maculipinna? Why is this in the category? The template has a valid doi parameter. - UtherSRG (talk) 02:36, 30 June 2024 (UTC)
- I beg to differ. Category:Taxonbar_cleanup has three levels of maintenance: failed Error-checks, routine Maintenance, and Tracking purposes only (no error). I posit that what I'm asking for would fall in the tracking level. - UtherSRG (talk) 20:59, 29 June 2024 (UTC)
- I didn't say they are wrong. I said I want to have an easy way to keep track of those missing the doi so that when the doi is created, I can add it. - UtherSRG (talk) 19:03, 28 June 2024 (UTC)
- Module:Cite IUCN uses the values from
- Use case is for new-form missing doi means either the user did something wrong, or the reference is very new and no doi was yet assigned. The latter is the case for such like Narrow-headed shrew where the IUCN has recently updated. I want to be able to track those in particular so that when a doi gets assigned, I can add it to the ref. I care less for the old-form usage, though probably those should be converted, eh? (So maybe Category:Cite IUCN new form missing doi as a subcat of the existing maint cat? And that maint cat probably needs other subcats to make maintenance easier.) - UtherSRG (talk) 15:12, 28 June 2024 (UTC)
- That's a large category. I noted this morning that Iberian lynx was updated without a
doi
. The new IUCN citation (on their page) is:- Rodríguez, A. 2024. Lynx pardinus. The IUCN Red List of Threatened Species 2024: e.T12520A218695618. Accessed on 30 June 2024.
- Have they stopped adding a
doi
or do they get added later, possibly due to a registration delay? I find it strange that they would drop thedoi
. - @UtherSRG: As an aside, do you think we should do something with the new IUCN Green status in the taxobox? — Jts1882 | talk 08:23, 30 June 2024 (UTC)
- My thinking is that because they updated so many statuses, the dois couldn't be added all at once and that they will roll out. And yeah, the category is large. It should probably be limited to only the new form of url citations, as all the old form url citations will already be tagged or called out in some way. As for the Green status, I tried to get something going on that when they first rolled it out, but it saw no traction. Maybe now that it is a bit more prevalent it can be revisited. - UtherSRG (talk) 10:04, 30 June 2024 (UTC)
- With a bit of tweaking, Module:Cite IUCN (in particular
{{make cite iucn}}
) is able to create a{{cite iucn}}
template from an IUCN green status citation. This from IUCN's Iberian Lynx page:{{make cite iucn |Ortiz, F.J.S., Carlton, E., Lanz, T. & Breitenmoser, U. 2023. Lynx pardinus (Green Status assessment). The IUCN Red List of Threatened Species 2023: e.T12520A1252020241.Accessed on 30 June 2024.}}
{{cite iucn |author=Ortiz, F.J.S. |author2=Carlton, E. |author3=Lanz, T. |author4=Breitenmoser, U. |year=2023 |type=Green Status assessment |title=''Lynx pardinus'' |volume=2023 |page=e.T12520A1252020241 |doi= |access-date=30 June 2024}}
- Ortiz, F.J.S.; Carlton, E.; Lanz, T.; Breitenmoser, U. (2023). "Lynx pardinus". IUCN Red List of Threatened Species (Green Status assessment). 2023: e.T12520A1252020241. Retrieved 30 June 2024.
- The tweaks account for the missing space character between the page and the accessed date and moves 'Green Status assessment' into
|type=
. - —Trappist the monk (talk) 18:13, 30 June 2024 (UTC)
- I did try constructing the doi from the electronic page number, e.g. https://dx.doi.org/10.2305/IUCN.UK.2024-1.RLTS.T12520A218695618.en, but it isn't registered. — Jts1882 | talk 16:00, 30 June 2024 (UTC)
- Right. I don't know the process of registering a doi, but I speculate that it takes some amount of time, so multiply that by the number of pages the IUCN is updating/creating.... - UtherSRG (talk) 16:18, 30 June 2024 (UTC)
- As of this writing, Category:Cite IUCN maint has 1551 articles. Of those:
- Some overlap should be expected.
- Also, as of this writing, Category:Cite IUCN without doi has 5379 articles so the claim that old-form url citations make up the bulk of the new category's content does not appear to be supported.
- —Trappist the monk (talk) 18:13, 30 June 2024 (UTC)
- Indeed, but when I wrote that, w/o doi had ~2200 as it was still processing and I hadn't realized. - UtherSRG (talk) 19:36, 30 June 2024 (UTC)
- In three months I was able to process all of the articles beginning with "A", and the count is down to ~4800. - UtherSRG (talk) 21:23, 29 September 2024 (UTC)
- I did try constructing the doi from the electronic page number, e.g. https://dx.doi.org/10.2305/IUCN.UK.2024-1.RLTS.T12520A218695618.en, but it isn't registered. — Jts1882 | talk 16:00, 30 June 2024 (UTC)
Suggestions for improving the bot's actions
[edit]Please can you amend the bot to:
1. include |name-list-style=amp, especially when there is more than one author? (Though, it will not show an error if there is only one, so that's probably the easiest fix)
2. stop encoding the access date (even though the IUCN website includes it in it's Copy function) as user:UtherSRG keeps removing it with a 'rm extraneous parameters' comment?
3. stop encoding both single year dates (one as date and the other as volume, as Template:Cite IUCN says 'volume: usually same as date; may be omitted if date set')?
4.Include |lang=xx where the doi ends with anything that is not .en?
Thanks
NB: Was originally posted to Anomiebot's talk page, but apparently that's the wrong place
Big Blue Cray(fish) Twins (talk) 18:21, 26 July 2024 (UTC)
- What bot?
- Are you thinking about the
{{make cite iucn}}
template? - —Trappist the monk (talk) 18:38, 26 July 2024 (UTC)
- Anomiebot - which may be the only bot to act on make cite iucn (I'm not sure). And, the talk page for make cite iucn redirects here. Big Blue Cray(fish) Twins (talk) 18:52, 26 July 2024 (UTC)
- All that AnomieBOT does is subst the output of
{{make cite iucn}}
; it knows nothing about any of the templates that it substs. So, it would appear that what you want is changes to{{make cite iucn}}
. - Partial answers:
- not going to do that; if you want that name-list style, use
{{cs1 config|name-list-style=amp}}
- is there a consensus to do this?
- is there a consensus to do this?
- not going to do this. I went looking and the first
.fr
doi that I found did not point to a French-language assessment (doi:10.2305/IUCN.UK.2021-2.RLTS.T36828A113049742.fr). Perhaps that is the only one, but automated tools should not be saying something in Wikipedia's voice that isn't true.{{make cite iucn}}
has no way of knowing what language the assessment uses. You will have to manually add|language=
as appropriate; remember to include English because when there are multiple languages, English is one of them.- Searches:
- French: 5 results
- Portuguese: ~200 results
- Searches:
- not going to do that; if you want that name-list style, use
- —Trappist the monk (talk) 19:23, 26 July 2024 (UTC)
- Thanks for the reply, Trappist the monk. I would make the following reactions to your answers:
I cannot believe, or even understand, that a bot has no knowledge of the template that it substitutes. The whole point about using 'make cite iucn' is that you find the assessment on the IUCN Red List that you want to use and use the Copy function on that website, then paste the into your chosen wikipedia page. The bot then analyses what you have entered, and encodes it into a syntax that wikipedia understands. The bot is acting on the information that it was programmed by its author - who, if they have no knowledge of the template, should not be 'teaching' bots. - 1. Thanks for that suggestion. But as the IUCN copy function includes the ampersand:
It would be nice if the bot did its utmost to match that.Barstow, M. & Khela, S. 2017. Quercus robur. The IUCN Red List of Threatened Species 2017: e.T63532A3126467. https://dx.doi.org/10.2305/IUCN.UK.2017-3.RLTS.T63532A3126467.en. Accessed on 26 July 2024.
- 2. That is what I am seeking. At least one user is spending a lot of time changing what the bot does.
- 3. Again, I am seeking consensus. But what the bot does goes against a recommendation in the template user guide that specifies the approved syntax and guidance on its use.
- 4. Thanks for providing proof that my suggestion might be a bit heavy-handed. But, this is the English wikipedia. I withdraw this suggestion, but will add the |lang manually to any that aren't in english, once the bot has done its work.
- If this is not the right place to seek consensus, please direct me to the right place!
Thanks Big Blue Cray(fish) Twins (talk) 20:38, 26 July 2024 (UTC)- AnomieBOT has no knowledge of
{{cite iucn}}
and doesn't need it. What we start with is this from the iucn assessment page:Chiozza, F. 2016. Chodsigoa parca (errata version published in 2017). The IUCN Red List of Threatened Species 2016: e.T41435A115186683. https://dx.doi.org/10.2305/IUCN.UK.2016-3.RLTS.T41435A22292325.en. Accessed on 06 July 2024.
- what we want to get to is this; a correctly formatted
{{cite iucn}}
template:{{cite iucn |author=Chiozza, F. |year=2016 |errata=2017 |title=''Chodsigoa parca'' |volume=2016 |page=e.T41435A115186683 |doi=10.2305/IUCN.UK.2016-3.RLTS.T41435A22292325.en |access-date=6 July 2024}}
- To get there we write:
{{make cite iucn|Chiozza, F. 2016. Chodsigoa parca (errata version published in 2017). The IUCN Red List of Threatened Species 2016: e.T41435A115186683. https://dx.doi.org/10.2305/IUCN.UK.2016-3.RLTS.T41435A22292325.en. Accessed on 06 July 2024.}}
{{make cite iucn}}
takes the raw input from the IUCN assessment, translates that information into the correct{{cite iucn}}
parameters, and then calls{{cite iucn}}
to render the visible output that looks like this:- Chiozza, F. (2017) [errata version of 2016 assessment]. "Chodsigoa parca". IUCN Red List of Threatened Species. 2016: e.T41435A115186683. doi:10.2305/IUCN.UK.2016-3.RLTS.T41435A22292325.en. Retrieved 6 July 2024.
- So far, no bot. You can see where I did this at this edit; note the
{{make cite iucn}}
output here. - Now it's time for the bot. At this edit, 45 minutes after my edit, AnomieBOT replaced (substd)
{{make cite iucn}}
with its rendering, a properly formatted{{cite iucn}}
template. No knowledge of{{cite iucn}}
or{{make cite iucn}}
was needed to accomplish the substitution. The bot knew to subst{{make cite iucn}}
because that template's documentation transcludes{{subst only|auto=yes}}
. - And answers:
- that IUCN include the ampersand in their citations does not oblige us to do the same. At this writing, Module:Citation/CS1 (the engine that renders
{{cite iucn}}
among lots of other templates) is used by ~5,871,700 articles. Of those articles, ~55,000 have at least one template that uses|name-list-style=amp
. For style consistency, all citation templates with multiple authors should specify the name list style; or none of them should. For in-article consistency, use{{cs1 config|name-list-style=amp}}
rather than worry about individual templates. Because the majority of articles do not specify a name list style,{{make cite iucn}}
should not ignore that predominant style. - if you have a beef with another editor, here is not the place to resolve that dispute. If there is a consensus to leave out
|access-date=
then we can do that. Achieve that consensus first. You might consider WT:TOL as a place to start. - Again, the bot has nothing to do with the translation and rendering of the citation from an IUCN assessment.
goes against a recommendation in the template user guide that specifies the approved syntax and guidance on its use
. This is about|date=
and|volume=
. Are you referring to this line at{{cite iucn}}
?volume: usually same as date; may be omitted if date setif you are thenmay be omitted
is the key phrase. Editors are free to keep it or remove it as they see fit.
- that IUCN include the ampersand in their citations does not oblige us to do the same. At this writing, Module:Citation/CS1 (the engine that renders
- —Trappist the monk (talk) 22:25, 26 July 2024 (UTC)
- Thanks. So, what you are saying is that using just 'make cite iucn' is an error that the bot corrects, and what we should be using is 'subst:Make cite IUCN' instead ?
- Big Blue Cray(fish) Twins (talk) 08:42, 27 July 2024 (UTC)
- No. Using
{{make cite iucn}}
is not an error; it is the solution to presenting an IUCN assessment citation in a manner consistent with other references in the article. Using{{make cite iucn}}
requires the least amount of effort from the editor. subst:
inside<ref>...</ref>
tags does not work; see Template:Make cite IUCN § Limitations. Outside of<ref>...</ref>
tags and inside named<ref name="NAME">...</ref>
tags, you can usesubst:
if you want but AnomieBOT allows you to ignore all of that.- —Trappist the monk (talk) 14:20, 27 July 2024 (UTC)
- Comments:
- The bot is just doing the same as a user using 'subst:Make cite IUCN'. The end result is the same so the bot is not changing anything, just making things easier for editors.
- I think
|access-date=
is useful to decide whether to check for an updated assessment. I would oppose its removal. - 'volume: usually same as date; may be omitted if date set'. May be omitted is not the same as should be omitted. Usually also implies it may not be the same in all instances.
- Why would English Wikipedia cite an assessment in a foreign language? To my knowledge there is always an English version, at least I don't remember having seen one. Perhaps non-English ones should be flagged.
- — Jts1882 | talk 17:01, 27 July 2024 (UTC)
- Of the functioning DOIs that end in
.fr
, changing to.en
resulted in 'DOI not found'. Same with.pt
. - —Trappist the monk (talk) 18:13, 27 July 2024 (UTC)
- Of the functioning DOIs that end in
- No. Using
- AnomieBOT has no knowledge of
- Thanks for the reply, Trappist the monk. I would make the following reactions to your answers:
- All that AnomieBOT does is subst the output of
- Anomiebot - which may be the only bot to act on make cite iucn (I'm not sure). And, the talk page for make cite iucn redirects here. Big Blue Cray(fish) Twins (talk) 18:52, 26 July 2024 (UTC)
Date/DOI and volume/DOI mismatches?
[edit]I've been working my way through Category:Cite IUCN maint and noticed some IUCN refs are being flagged with date/DOI and/or volume/DOI mismatches even when the reference matches the exact citation given on the corresponding assessment. For example, the ref on Bythinella viridis currently reads
Bichain, J. & Prié, V. (2010). "Bythinella viridis". IUCN Red List of Threatened Species. 2010: e.T189707A8764516. doi:10.2305/IUCN.UK.2009.RLTS.T189707A8764516.en
, matching the provided citation on the species' assessment[1], but is still flagged as mismatched. The assessment in question is dated 9 November 2009 but was published in 2010. Fiddling around with the parameters, I discovered that changing the year/volume parameters to 2009 (Bichain, J. & Prié, V. (2009). "Bythinella viridis". IUCN Red List of Threatened Species. 2009: e.T189707A8764516. doi:10.2305/IUCN.UK.2009.RLTS.T189707A8764516.en
) removes the error message. I assume this is an issue with how the template fetches information from the DOI, and that the errors can be disregarded so long as the citation is otherwise correct, but wanted to raise the issue here in case there is a fix that can be done on the template end, as I've noticed quite a lot of refs with this issue. Cheers, Ethmostigmus 🌿 (talk | contribs) 09:01, 10 September 2024 (UTC)
- Maintenance messages are not error messages. Of the ~1280 articles listed in Category:Cite IUCN maint (1,181), ~695 have
{{cite IUCN}}
templates that emit these messages: - The mismatch detection is implemented to catch simple typographic errors. Because some of the raw citations provided by IUCN are mismatched, intentional or no, we have elected to flag these mismatches with the maintenance message on the assumption that IUCN will update their citation when the species is next assessed.
- The template does not
[fetch] information from the DOI
. The template knows only what editors tell it, either manually, or by way of{{make cite iucn}}
. - —Trappist the monk (talk) 13:54, 10 September 2024 (UTC)
- I see, thank you for the explanation. Ethmostigmus 🌿 (talk | contribs) 05:19, 11 September 2024 (UTC)
make cite iucn and templatedata
[edit]@Cremastra: In answer to your question at this edit's summary: marginally.
I guess that were I a ve user and therefore hamstrung by the extreme limitations of TemplateData, I would want a clearer, more concise description of what string of text goes in the first positional parameter and where it comes from. Perhaps you could say something about that by using the phrase species assessment page. You might tell editors the heading under which the IUCN citation lies.
The first positional parameter is not optional; it is required.
No description of the second positional parameter? Why not?
—Trappist the monk (talk) 22:55, 12 September 2024 (UTC)
- Sorry, I'm somewhat new to TemplateData, and don't understand what you're referring to by the "positional parameters". I don't see them mentioned at mw:Help:TemplateData or at the the extension's documentation page, also at mediawiki. Cremastra (talk) 23:33, 12 September 2024 (UTC)
- Templates can have two kinds of parameters: positional and named. A named parameter might be something like
|title=Cupressus arizonica var. glabra
. Positional parameters do not have names so for templates that assume that the first positional parameter is the title you would use something like|Cupressus arizonica var. glabra
. Positional parameters are dependant upon where they appear in the template call:{{<template name>|<first positional parameter>|<second positional parameter>|...|<nth positional parameter>}}
{{make cite iucn}}
takes two positional parameters (numbered 1 to n, left to right):<first positional parameter>
– the IUCN species assessment citation (required)<second positional parameter>
– format control; can be any non-whitespace character (optional)
- So, when you write this template, it must be written in one of these two ways:
{{make cite iucn|<IUCN species assessment citation>}}
- or:
{{make cite iucn|<IUCN species assessment citation>|x}}
{{make cite iucn}}
does not use named parameters- —Trappist the monk (talk) 00:35, 13 September 2024 (UTC)
- Oh, I see. I'm familiar with the idea, but just neglected to actually use the proper name for it. :) Is this an improvement? I didn't bother giving a label to the parameter since it would have to be as long as the description to be actually helpfully informative. Cheers, Cremastra (talk) 00:44, 13 September 2024 (UTC)
Format control
is shorter thanExample citation
(required, not optional). Perhaps a better name for the first positional parameter might beIUCN citation
? Better description text would be better.- —Trappist the monk (talk) 00:51, 13 September 2024 (UTC)
- Oh, I see. I'm familiar with the idea, but just neglected to actually use the proper name for it. :) Is this an improvement? I didn't bother giving a label to the parameter since it would have to be as long as the description to be actually helpfully informative. Cheers, Cremastra (talk) 00:44, 13 September 2024 (UTC)
- Templates can have two kinds of parameters: positional and named. A named parameter might be something like