Module talk:Footnotes/Archive 2
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 |
False positive or just format problem
There is a bogus (because the harv link still works) error message at Mount Melbourne about "sfn error: no target: CITEREFBaroni,_Carlo2005" Jo-Jo Eumerus (talk) 13:33, 23 September 2020 (UTC)
- The error is not bogus. There is also another error message: Explicit use of et al. in: |author=
- Don't do this:
|author=Baroni, Carlo, et al.=
Instead, do this:|author=Baroni, Carlo=
|display-authors=etal
- —Trappist the monk (talk) 13:50, 23 September 2020 (UTC)
- Ah, OK. Mended it, thusly. Jo-Jo Eumerus (talk) 15:24, 23 September 2020 (UTC)
False positives
{{Schaefer Wolff Topological Vector Spaces}} in Regularly ordered. Renata (talk) 02:38, 31 August 2020 (UTC)
Fixed. – Jonesey95 (talk) 02:48, 31 August 2020 (UTC)
Also {{The Late Medieval Balkans}} and/or {{Runciman-A History of the Crusades}} in Andrew III of Hungary. Renata (talk) 01:46, 2 September 2020 (UTC)
{{ODLA}} in Hormizd I, Hormizd II, Hormizd III. Renata (talk) 01:55, 19 September 2020 (UTC)
{{cite nysky}} in Liberty Tower (Manhattan) and Potter Building. Renata (talk) 13:18, 19 September 2020 (UTC)
- I have
Fixed this one. – Jonesey95 (talk) 18:16, 19 September 2020 (UTC)
Whole lot of Tolkien's {{ME-ref}} in Lothlórien, J. R. R. Tolkien's influences, J. R. R. Tolkien's artwork, etc. Renata (talk) 15:10, 19 September 2020 (UTC)
{{Ivey-Marquette}} in Pere Marquette Lumber Company. Renata (talk) 15:45, 19 September 2020 (UTC)
- I have
Fixed this one. – Jonesey95 (talk) 18:16, 19 September 2020 (UTC)
{{Cambridge History of Iran}} in Vologases V. Renata (talk) 16:06, 19 September 2020 (UTC)
{{Cambridge Ancient History}}, {{Oxford Dictionary of Byzantium}} and/or {{Prosopography of the Later Roman Empire}} in Vitalian (general). Renata (talk) 16:07, 19 September 2020 (UTC)
{{MLCC}} in Yaropolk Izyaslavich. Renata (talk) 17:19, 19 September 2020 (UTC)
- I have
Fixed this one. – Jonesey95 (talk) 18:16, 19 September 2020 (UTC)
{{DBI}} in Fidentius of Padua and Filippo da Pistoia. Renata (talk) 04:51, 23 September 2020 (UTC)
{{The End of the Jihad State}} in Bishr ibn Safwan al-Kalbi. Renata (talk) 06:23, 23 September 2020 (UTC)
{{Historic Environment Scotland}} in Corseyard Farm and Rusco Tower. Renata (talk) 03:57, 24 September 2020 (UTC)
{{EI2}} in Divan-beigi. Renata (talk) 04:00, 24 September 2020 (UTC)
{{The Papacy and the Levant, 1204-1571}} in Albert II of Germany and Andreolo Giustiniani and Latin Archbishopric of Thebes and Roman Catholic Archdiocese of Athens. Renata (talk) 23:32, 25 September 2020 (UTC)
{{Tabula Imperii Byzantini}} in Roman Catholic Archdiocese of Athens. Renata (talk) 00:13, 26 September 2020 (UTC)
{{Die Provinzen des Osmanischen Reiches}} in Sanjak of Ankara, Sanjak of Hamid, Sanjak of Biga, some others. Renata (talk) 04:07, 2 October 2020 (UTC)
{{The Early Medieval Balkans}} and {{The Late Medieval Balkans}} in Epirus. Renata (talk) 05:13, 2 October 2020 (UTC)
Two questions
Hello, I have done quite a bit of fixing of various errors in Category:Harv and Sfn no-target errors, and have two questions:
- I have the Svick script installed and it highlights the missing harv cites, but does not highlight the duplicate harv cites (i.e. errors in Category:Harv and Sfn multiple-target errors). How can I get them highlighted?
- Would there be any way to compile a list of most popular missing harv cites? I.e. a list of 20 articles that cite "Smith 2020"? Today, I came across a whole cluster of missing cites related to country singers. Dozens of articles were citing the same missing sources, which I added. It's much easier to address such clusters in one go rather one-by-one. Any way to detect such other clusters?
Thanks, Renata (talk) 02:49, 12 October 2020 (UTC)
- The third method will show them, but it will also show false positives from Category:Harv and Sfn no-target errors. Maybe @Trappist the monk: can update their script to show anchor collisions? Headbomb {t · c · p · b} 02:54, 12 October 2020 (UTC)
- Use "Method 3" on the category page to show the duplicate ref errors. As for the clusters, it may help to look through the category for articles with similar names. I did that a few times when the category first existed, and I found clusters of ship and submarine articles that I was able to fix or pass along to the relevant wikiproject. If you find a broken ref that you think might exist in other articles, you can search for (e.g.) CITEREFSmith2020 in your Wikipedia search box. Here's an example that turns up three articles. If historic British buildings are your thing, try CITEREFPevsner (currently 44 articles). – Jonesey95 (talk) 03:02, 12 October 2020 (UTC)
- Ok, Method 3 works. Thanks! As for clusters, yes, I was using the Wikipedia search to find articles once I identified a common missing cite. But I was thinking more along the lines of a report. I.e. something similar to Wikipedia:WikiProject Academic Journals/Journals cited by Wikipedia. Like they have "Journal X" is cited 20 times in these articles. What would it take to get a report with "Broken sfn ref Smith 2020 cited in these articles"? Renata (talk) 03:44, 12 October 2020 (UTC)
- Use "Method 3" on the category page to show the duplicate ref errors. As for the clusters, it may help to look through the category for articles with similar names. I did that a few times when the category first existed, and I found clusters of ship and submarine articles that I was able to fix or pass along to the relevant wikiproject. If you find a broken ref that you think might exist in other articles, you can search for (e.g.) CITEREFSmith2020 in your Wikipedia search box. Here's an example that turns up three articles. If historic British buildings are your thing, try CITEREFPevsner (currently 44 articles). – Jonesey95 (talk) 03:02, 12 October 2020 (UTC)
- The third method will show them, but it will also show false positives from Category:Harv and Sfn no-target errors. Maybe @Trappist the monk: can update their script to show anchor collisions? Headbomb {t · c · p · b} 02:54, 12 October 2020 (UTC)
Add to whitelist
I think I figured out the basics on how to add wrapper templates to whitelist. Can someone figure out how to add this one? From Filters in topology:
- ['CITEREFArkhangel'skiiPonomarev1984'] = {'Arkhangel'skii Ponomarev Fundamentals of General Topology Problems and Exercises'},
I think it's having the issue with ' in the last name. Thanks, Renata (talk) 04:13, 17 October 2020 (UTC)
- You have to escape the embedded quotes like this:
['CITEREFArkhangel\'skiiPonomarev1984'] = {'Arkhangel\'skii Ponomarev Fundamentals of General Topology Problems and Exercises'},
- —Trappist the monk (talk) 11:05, 17 October 2020 (UTC)
- It didn't work, also did not work CITEREFO'ConnorRobertson1996 in Hilbert space. Renata (talk) 02:57, 19 October 2020 (UTC)
- The
CITEREF
is anchor-encoded (yeah, I should read my own documentation). - —Trappist the monk (talk) 10:07, 19 October 2020 (UTC)
- The
- It didn't work, also did not work CITEREFO'ConnorRobertson1996 in Hilbert space. Renata (talk) 02:57, 19 October 2020 (UTC)
- You have to escape the embedded quotes like this:
More false positives with special templates
Marcus Ward Lyon Jr. has many false positives because:
- {{MSW3 Scandentia}} -> CITEREFHelgen2005
- {{MSW3 Chiroptera}} -> CITEREFSimmons2005
- {{MSW3 Lagomorpha}} -> CITEREFHoffmanSmith2005
- {{MSW3 Hystricognathi}} -> CITEREFWoodsKilpatrick2005
Can they be added? David Brooks (talk) 21:37, 24 October 2020 (UTC)
Done. – Jonesey95 (talk) 05:12, 25 October 2020 (UTC)
Canal Mauri
Greetings,
does someone here know how to make the now-broken harv references on Canal Mauri work? Jo-Jo Eumerus (talk) 17:32, 12 November 2020 (UTC)
{{sfn|Molina Carpio|Cruz|Alurralde|2012|p=4}}
[1]{{cite web|last=Molina Carpio |first=Jorge |last2=Cruz |first2=Rodolfo |last3=Alurralde |first3=Juan Carlos |title=IMPACTOS TRANSFRONTERIZOS DE PROYECTOS DE TRASVASE: EL CASO DE LA CUENCA DEL RÍO MAURI|url=https://www.researchgate.net/publication/315114506_IMPACTOS_TRANSFRONTERIZOS_DE_PROYECTOS_DE_TRASVASE_EL_CASO_DE_LA_CUENCA_DEL_RIO_MAURI|website=[[ResearchGate]]|publisher=25th Latin American Hydraulic Congress|accessdate=28 February 2018|ref=harv|language=es|format=PDF|date=9 September 2012}}
- Molina Carpio, Jorge; Cruz, Rodolfo; Alurralde, Juan Carlos (9 September 2012). "IMPACTOS TRANSFRONTERIZOS DE PROYECTOS DE TRASVASE: EL CASO DE LA CUENCA DEL RÍO MAURI" (PDF). ResearchGate (in Spanish). 25th Latin American Hydraulic Congress. Retrieved 28 February 2018.
{{cite web}}
: Invalid|ref=harv
(help)
- Molina Carpio, Jorge; Cruz, Rodolfo; Alurralde, Juan Carlos (9 September 2012). "IMPACTOS TRANSFRONTERIZOS DE PROYECTOS DE TRASVASE: EL CASO DE LA CUENCA DEL RÍO MAURI" (PDF). ResearchGate (in Spanish). 25th Latin American Hydraulic Congress. Retrieved 28 February 2018.
References
- —Trappist the monk (talk) 17:46, 12 November 2020 (UTC)
- And an explanatory answer, for those who learn that way: a citation template using
|author=
with the author's full name will not work with {{sfn}} templates that use only the author's last name. See this edit for another example of how to separate|author=
into|last=
and|first=
. – Jonesey95 (talk) 18:10, 12 November 2020 (UTC)
- And an explanatory answer, for those who learn that way: a citation template using
False positives with Template:Appletons'
False positives with Template:Appletons', e.g. at Carl Heitzmann. – Finnusertop (talk ⋅ contribs) 16:10, 8 December 2020 (UTC)
False positive from custom citation template
The template {{Hounshell1984}} is producing what appears to me to be a false-positive error in Gauge block: the link produced by the short footnote correctly links to the citation in the References section. Could somebody check and, if appropriate, add it to the whitelist? Thanks, Wham2001 (talk) 19:19, 4 January 2021 (UTC)
- Note that I have requested deletion of {{Hounshell1984}}. Wham2001 (talk) 13:41, 10 January 2021 (UTC)
- Another template generating false positives is {{BLKO}}. Could it be added to the whitelist? Thanks, Wham2001 (talk) 13:41, 10 January 2021 (UTC)
False positives with Template:NDB
As seen here: Hans-Ulrich Rudel#cite_note-FOOTNOTENeitzel2005160-61 – Finnusertop (talk ⋅ contribs) 04:00, 12 February 2021 (UTC)
False positives with Template:London Gazette
As seen here: Arthur Blackburn#cite_note-FOOTNOTEThe_London_Gazette_8_September_1916-45 – Finnusertop (talk ⋅ contribs) 05:40, 3 March 2021 (UTC)
False positives with Template:College Football HoF
As seen here: Hobey Baker#cite_note-FOOTNOTECollege_Football_Hall_of_Fame1975-14 – Finnusertop (talk ⋅ contribs) 06:05, 3 March 2021 (UTC)
False positives with "cite RNB1823" and "Cite NBD1849"
Please add {{cite RNB1823}} (Marshall) and {{Cite NBD1849}} (O'Byrne) to this list. — PBS (talk) 15:55, 22 April 2021 (UTC)
Both can have the year or the date overide the default year because there may be multiple instances of references to the same year necessitating YYYYa-z formats.
{{Cite NBD1849}} (O'Byrne) defaults to 1849
{{cite RNB1823}} (Marshall) uses the following script for its defaults.
{{#switch:{{{volume}}} | 1 = 1823 | 2 = {{#switch:{{{part}}}|1 = 1824 |2 = 1825 |1824–1825}} | 3 = {{#switch:{{{part}}}|1 = 1831 |2 = 1832 |1831–1832}} | 4 = {{#switch:{{{part}}}|1 = 1833 |2 = 1835 |1833–1835}} | sup |sup. |supp |supp. |supplement |supplemental = {{#switch:{{{part}}}|1 = 1827 |2 = 1828 |3 = 1829 | 4 =1830 |1827–1830}} | <!-- default if no volume specified -->1823–1835
— PBS (talk) 16:34, 22 April 2021 (UTC)
Two more wrappers "Cite Colledge2006" and "Cite Colledge2006"
Two more templates for the list {{Cite Colledge2006}}
and {{Cite Colledge2010}}
— PBS (talk) 16:47, 22 April 2021 (UTC)
False positives with Template:Jewish Encyclopedia
As seen here: Baal#cite_note-FOOTNOTEKohler1902-87 – Finnusertop (talk ⋅ contribs) 10:19, 1 March 2021 (UTC)
False positives with Template:New Cambridge Medieval History
As sen here: Byzantine Empire#cite_note-Louth_2005_113–115-54 – Finnusertop (talk ⋅ contribs) 06:14, 3 March 2021 (UTC)
False positive with "New Cambridge Medieval History"
{{New Cambridge Medieval History}} – see e.g. Ayyubid dynasty#References. Is anybody actually monitoring this page? Wham2001 (talk) 19:45, 17 March 2021 (UTC)
Done
- —Trappist the monk (talk) 17:17, 22 April 2021 (UTC)
- @Trappist the monk: basically all refs here are false positives. – Finnusertop (talk ⋅ contribs) 14:47, 25 April 2021 (UTC)
- @Wham2001 and Finnusertop: {{New Cambridge Medieval History}} is one of the templates where, in the absence of a specific
|last=
, the "lastname" part of the citeref comes from an|editor-last=
buried in the template encoding, same for year: in this case (and many similar) it's indexed by the volume number. So rather than adding every editor/year as a separate entry in the whitelist itself, a more accurate approach would be to recognize the volume-dependent default using an appropriately indexed table in the module's data. Mark you, this is a vague memory from a year ago, and I thought Trappist the monk had implemented the construct, at least in part, so I may be missing something. And, of course, easy for me to say especially as I don't speak LUA. David Brooks (talk) 19:02, 25 April 2021 (UTC)
- @Wham2001 and Finnusertop: {{New Cambridge Medieval History}} is one of the templates where, in the absence of a specific
- @Trappist the monk: basically all refs here are false positives. – Finnusertop (talk ⋅ contribs) 14:47, 25 April 2021 (UTC)
Whitelist problem
An edit on 23:31, 25 April 2021 at Module:Footnotes/whitelist causes Lua error in Module:Footnotes/anchor_id_list at line 503: attempt to index field '?' (a nil value). (four times) for ref 2 at Reconquista. Ref 2 is:
{{harvnb|Collins|1989|p=147}} {{harvnb|Reilly|1993|pp=75–76}} {{harvnb|Deyermond|1985|p=346}} {{harvnb|Hillgarth|2009|p=66 n. 28}}
I'm sure this is a simple problem but it needs someone familiar with the system. Johnuniq (talk) 03:25, 26 April 2021 (UTC)
- Fixed, thanks.
- —Trappist the monk (talk) 12:57, 26 April 2021 (UTC)
Other templates
- see previous discussion: Module talk:Footnotes/Archive 1#Dynamic whitelist revisited
@user:Trappist the monk there seems to be a backlog here. I have a score of other wrapper templates I could list here, there has to be a better way to do this. — PBS (talk) 16:02, 22 April 2021 (UTC)
For more see Wikipedia:WikiProject Wikisource/Citation Uniformity and User:PBS/Notes#List of PD Templates — PBS (talk) 16:07, 22 April 2021 (UTC)
- If anyone has found
a better way to do this
, they have not chosen to voice their findings here. Do you have a better way? - —Trappist the monk (talk) 16:52, 22 April 2021 (UTC)
- I only became involved because of a discussion on a user's talk page (User talk:Keith D#Harv error - false positive), until that moment I had no idea that such tracking took place and I still do not understand its purpose. It just seems to me, with my superficial knowledge, to be a Sisyphus task for someone to maintain with all the thanks that goes with such a commitment.
- Perhapse you can point me to a page that explains why perfectly good long citation that is linked to with a short citations using a Harvard template need to be listed here because of false positives. -- PBS (talk) 17:09, 22 April 2021 (UTC)
- To be fair, I did start a discussion on a possible more flexible solution about a year ago (Dynamic whitelist revisted) but I do recognize that (a) the universe of templates contains a lot of complexities that can defeat a programmatic approach (b) I'm basically saying "easy for you to do" when I realize you're a frantically busy guy. I've pretty much forgotten the arguments I put forward then because you scratched my particular itch (thank you!), but I remember you did add valuable input. David Brooks (talk) 17:18, 22 April 2021 (UTC)
-
- Category:Harv and Sfn template errors is the only thing that I have written about this issue. The whole mechanism was conceived as a way to inform editors that an article has broken short-ref / long-ref links. Most editors do not use one of the scripts that highlight these errors so the vast majority of us are wholly unaware of these broken linkages unless we take it upon ourselves to test each link individually. Most of us don't even think about that because, after all, those links are blue, right? When we first turned these error messages on, the community, as it is wont to do, overreacted because, you know, we hate, hate, hate change, so the error messaging is hidden. As a result of no one knowing that the links are broken, there are still 26k articles in Category:Harv and Sfn no-target errors (down only a little from 29k in May 2020) and 3100 articles in Category:Harv and Sfn multiple-target errors (down a tad more from 4600 at the same sample point); see this archive.org snapshot.
- —Trappist the monk (talk) 17:52, 22 April 2021 (UTC)
- Thank you User:DavidBrooks that link to an old conversation was a great help. -- PBS (talk) 11:30, 23 April 2021 (UTC)
- I still think that this subsystem is an inelegant solution because it requires continuous manual supervision and amendment, although I can not see an obvious alternative given that some think the ends justify the means.
- One of the problems with the current system is edits like this. It will "fix" the particular page, but it is not clear unless you are in the know why it is necessary, and every new instance will need it. However that fix has three problems. The first is that other editors will remove the extra parameter as it is not obvious what it is there for (as it is hiding a false positive entry in a maintenance category). The second is more of a problem, as once in place, the extra parameter ignore-err=yes can create false negatives if in the future any information is added to the long citation (such as a change in date for a different edition). The third is that it is likely that new instances will be created over time and that editors will have to repeatedly make similar edits to new instances in other articles. I think the solution to this is to improve the documentation for editors to report two or more false positives here if they involve non-standard citation templates rather than plastering over the cracks. -- PBS (talk) 11:30, 23 April 2021 (UTC)
- If you know how the documentation can be improved, please do so.
- —Trappist the monk (talk) 16:47, 23 April 2021 (UTC)
- I remember thanks to recent additions to the whitelist data infrastructure that Trappist the monk did indeed implement support for that kind of scheme - thanks. David Brooks (talk) 21:17, 27 April 2021 (UTC)
- Trappist the monk, thank-you very much for the additions to the whitelist. I have been working through Category:Harv and Sfn multiple-target errors for a few months now, systematically fixing the more straightforward cases. At the current rate it will take me about another year to get through to the end and the category should be left with 500 articles or so. I think that there are a few other editors also working on the same backlog. The no-target errors, though, are a more daunting backlog. I think it would be very good if it were possible to have the error messages display by default, and I would hope that the community might be a bit more receptive if they all represent "real" errors. Best, Wham2001 (talk) 21:09, 26 April 2021 (UTC)
- I think that we could turn on the multiple-target errors without too many pitchforks launched our way but I'm not willing to turn on the no-target error messages and I certainly won't be the one to cleanse Category:Harv and Sfn no-target errors of all of the false positives so those errors are going to remain hidden. Unless... I have often wondered what would happen if we metered error messaging – at first only emit error messages in articles with names ending in a certain letter; some time period later, add articles that end with another letter, etc until finally all are shown – sort of the frog-in-the-cookpot version of error messaging. So, should we turn on the multiple-target errors and see what happens?
- —Trappist the monk (talk) 23:44, 26 April 2021 (UTC)
- I would support turning on the multiple-target errors, though it's likely you that the people with pitchforks will come after! Another couple of thoughts: (a) is it possible to identify templates transcluded from pages that also transclude {{sfn}} / {{harv}} / etc. and which themselves transclude a CS1/2 template? That would, as I understand it, provide a pile of transclusions to look through for false positive errors. (b) Would it be helpful to advertise your script (which as I understand it emits very few false positives) on the documentation pages for {{sfn}} etc? I suspect that a big part of the problem is editors thinking that if the link in the short footnote is blue then it must be working (by analogy to wikilinks). Best, Wham2001 (talk) 07:58, 27 April 2021 (UTC)
- Multiple-target error messages now showing. At this moment, Category:Harv and Sfn multiple-target errors has 3066 members. I'm afraid that your question (a) is sufficiently convoluted that I don't think that I can understand it well enough to give a rational answer. All of the ways to show errors are named at Category:Harv and Sfn template errors which is linked from the error message help link. I have thought the same which is why I wrote above
Most of us don't even think about that because, after all, those links are blue, right?
- —Trappist the monk (talk) 13:03, 27 April 2021 (UTC)
- User:DavidBrooks/EncycStats might be a sort of answer to Wham2001's question. It hasn't been updated in ten months, but I suspect that it is still a useful list. The "articles" links will take you to pages that transclude a given template and have at least one error (not necessarily from that template). I cleaned out most of User:DavidBrooks/CiteBookStats last year, since templates transcluding {{cite book}} typically have only one author. Templates transcluding {{cite encyclopedia}} are more challenging, however, since the list of authors can be endless. – Jonesey95 (talk) 14:13, 27 April 2021 (UTC)
- Yes, I think that list probably captures all the templates I was thinking of. Thanks! I shall bookmark it and come back to it once I've worked through the multiple-target errors. Wham2001 (talk) 19:22, 27 April 2021 (UTC)
- I'm flattered those lists are still useful. It did require a fair amount of API spelunking. But I've also noted that {{Cite web}} has been used by editors in the past to achieve similar (erroneous) ends—after all, {{Cite web}} can be used to reference any online encyclopedia. David Brooks (talk) 21:17, 27 April 2021 (UTC)
- Yes, I think that list probably captures all the templates I was thinking of. Thanks! I shall bookmark it and come back to it once I've worked through the multiple-target errors. Wham2001 (talk) 19:22, 27 April 2021 (UTC)
- That (or some other action?) seems to have had the side-effect of adding user sandboxes to the category – at least, a few have suddenly appeared in the first 200 pages... I guess they can probably be left alone for the moment, though. Wham2001 (talk) 19:27, 27 April 2021 (UTC)
- Trappist the monk, after a week and a half of error messages being enabled, I've seen numerous editors who aren't primarily reference gnomes fixing these errors, and new articles are being introduced into the category at a lower rate (~1/day rather than a few/day beforehand). I consider that a win.On the other hand, I have found what I think is a false positive, or, at least, I cannot work out where the problem is. History of LGBT characters in animation: 2010s shows a multiple-target error for
{{sfn|GLAAD|2017}}
. There is only one source emitting that anchor id (I can only find it once in the rendered page's html) and if I comment the source out the error changes to a "no-target" error. The error appeared with this diff. Any ideas? Thanks, Wham2001 (talk) 11:56, 9 May 2021 (UTC)- Fixed. I found the problem by doing a Find for "GLAAD" on the page and looking for sources dated 2017. – Jonesey95 (talk) 14:02, 9 May 2021 (UTC)
- (edit conflict)
- This one.
{{cite tweet}}
invokes Module:Cite tweet which assembles|author=
from one or more of|last=
,|last1=
,|first=
,|first1=
,|author=
,|author1=
,|author-link=
,|user=
plus some static text. The article reader is not sufficiently sophisticated to know what metatemplates do to assemble their anchor IDs in all of the ways that they do so the article reader only looks for|last=
aliases and|year=
or|date=
. In this case, it sees|author=GLAAD
and|date=May 25, 2017
and creates CITEREFGLAAD2017 which is also created by this{{cite report}}
which uses|ref={{sfnref|GLAAD|2017}}
. - At Template:Cite tweet § Using {{sfn}} and {{harvid}} users are instructed to use
{{harvid}}
in|ref=
when using{{sfn}}
. It seems to me that Module:Cite tweet should be tweaked to set|ref=none
... - —Trappist the monk (talk) 14:11, 9 May 2021 (UTC)
- Ohhhh, I see. Thank-you both very much! I agree that it would be more consistent with the documentation for {{cite tweet}} to not produce an anchor by default (I'm also not convinced that we should be encouraging editors to cite tweets in the first place, but that's a different argument!). Thanks, Wham2001 (talk) 15:28, 9 May 2021 (UTC)
- User:DavidBrooks/EncycStats might be a sort of answer to Wham2001's question. It hasn't been updated in ten months, but I suspect that it is still a useful list. The "articles" links will take you to pages that transclude a given template and have at least one error (not necessarily from that template). I cleaned out most of User:DavidBrooks/CiteBookStats last year, since templates transcluding {{cite book}} typically have only one author. Templates transcluding {{cite encyclopedia}} are more challenging, however, since the list of authors can be endless. – Jonesey95 (talk) 14:13, 27 April 2021 (UTC)
- Multiple-target error messages now showing. At this moment, Category:Harv and Sfn multiple-target errors has 3066 members. I'm afraid that your question (a) is sufficiently convoluted that I don't think that I can understand it well enough to give a rational answer. All of the ways to show errors are named at Category:Harv and Sfn template errors which is linked from the error message help link. I have thought the same which is why I wrote above
- I would support turning on the multiple-target errors, though it's likely you that the people with pitchforks will come after! Another couple of thoughts: (a) is it possible to identify templates transcluded from pages that also transclude {{sfn}} / {{harv}} / etc. and which themselves transclude a CS1/2 template? That would, as I understand it, provide a pile of transclusions to look through for false positive errors. (b) Would it be helpful to advertise your script (which as I understand it emits very few false positives) on the documentation pages for {{sfn}} etc? I suspect that a big part of the problem is editors thinking that if the link in the short footnote is blue then it must be working (by analogy to wikilinks). Best, Wham2001 (talk) 07:58, 27 April 2021 (UTC)
- When we first turned these error messages on, the community, as it is wont to do, overreacted because, you know, we hate, hate, hate change, so the error messaging is hidden.
- The community didn't overeact, the way "error" detection is inherently flawed and had a false positive rates in the range of ~10%, sometimes turning every page on a single topic littered with red warnings about something catastrophic when everything was peachy. And that is simply not acceptable. Additionally a plethora of errors would have been fixed by simply making
|ref=harv
default (which it now is), as well as thousands of errors being bot-fixable. If that legwork at been done before, and if the errors flagged were all actually errors, it would have been a different story. But that wasn't the case, and still isn't. - See Module_talk:Footnotes/Archive_1#Error_messages and the few discussions above and below for the full context. Headbomb {t · c · p · b} 13:02, 3 May 2021 (UTC)
Emit category/error messages when 1= numbers only
For example, [1] should produce a visible error, I feel. Headbomb {t · c · p · b} 22:00, 9 May 2021 (UTC)
References
- ^ 1933, p. 6-7.
- ^ & Smith (2000).
- The second one definitely looks like an error to me. As for the first, I can imagine a legitimate case in which someone wanted to cite a no-byline article from 2600: The Hacker Quarterly without a date for some reason, creating CITEREF2600. A database dump report should be able to find instances of sfn and sfn-like templates that use only numbers in the first parameter, and which pages they appear on. That would tell us whether there are edge cases that we are not thinking of. – Jonesey95 (talk) 22:13, 9 May 2021 (UTC)
- Follow-up: I found an actual legitimate example of all-numeric
|1=
in the wild, in Tektronix 4010. The vast majority of them are errors, though, so we might want to flag it as an error and explain that in the rare edge case, editors could work around it using a literal|1=
. – Jonesey95 (talk) 22:32, 9 May 2021 (UTC)- Fixed the Tektronix 4010 ones to produce something legible. Headbomb {t · c · p · b} 22:44, 9 May 2021 (UTC)
- Looks like a good fix. I found one other article like that in the search linked above. I support marking these as errors, since there are multiple good workarounds and 95+% of the instances are errors. Here's a link to the same search with the harv template. – Jonesey95 (talk) 00:48, 10 May 2021 (UTC)
- Fixed the Tektronix 4010 ones to produce something legible. Headbomb {t · c · p · b} 22:44, 9 May 2021 (UTC)
- Follow-up: I found an actual legitimate example of all-numeric
- The second one definitely looks like an error to me. As for the first, I can imagine a legitimate case in which someone wanted to cite a no-byline article from 2600: The Hacker Quarterly without a date for some reason, creating CITEREF2600. A database dump report should be able to find instances of sfn and sfn-like templates that use only numbers in the first parameter, and which pages they appear on. That would tell us whether there are edge cases that we are not thinking of. – Jonesey95 (talk) 22:13, 9 May 2021 (UTC)
Any update on this? Headbomb {t · c · p · b} 14:16, 21 June 2021 (UTC)
Possible false positive with cite episode template
I am unable to figure out what is wrong with this version of my sandbox. It looks like a false positive to me; the link works when I click it. I found the original error at Ayn Rand. – Jonesey95 (talk) 13:22, 21 July 2021 (UTC)
|air-date=
- —Trappist the monk (talk) 13:52, 21 July 2021 (UTC)
- Thanks for adding that to the id list. That might fix a few other false positives in the tracking category as well. – Jonesey95 (talk) 14:02, 21 July 2021 (UTC)
duplicates
I am completely clueless about why is an error showing after this edit in my sandbox too. Is this another false positive? Super Ψ Dro 21:58, 28 July 2021 (UTC)
- Because there are multiples as the error message says:
- —Trappist the monk (talk) 22:09, 28 July 2021 (UTC)
- Oh, alright. I then assume that when I publish one of the sections, the error will go away. Thanks for the help. Super Ψ Dro 06:44, 29 July 2021 (UTC)
False positive wrapper templates
I have been working through Category:Harv and Sfn template errors fixing things where I can, I repeatedly come across false positives for:
- {{London Gazette}} such as in Bill Kibby and Arthur Sullivan (Australian soldier)
- {{Australian Dictionary of Biography}} such as in Mary Herring
- {{Patience-SteamTwilight}} in KUR EC class
Can these be added to the whitelist please --Nempnet (talk) 02:31, 11 September 2021 (UTC)
- I added the latter two to the whitelist, but I don't see a good, systematic way to add the London Gazette customized ref ids to the whitelist. – Jonesey95 (talk) 04:14, 14 September 2021 (UTC)
Can someone explain this in plain English?
The article on Marvin Gaye has several errors in the citations:
sfn error: multiple targets (2×): CITEREFEdmonds2001a (help)
"Help" takes me to this page, which says:
This category holds articles that use any of the short-cite templates ({{harv}} and {{sfn}} template families, and {{harvc}}) where one or more of those short-cite templates do not properly link to a full citation, the target, or where multiple full cites can be the target of a single short-cite template.
Would someone explain that in plain English, please?
The article is useless with the non-sensical text. I'm happy to fix it but I need to know what is wrong and how to fix it
Jeffrey Walton (talk) 02:28, 14 September 2021 (UTC)
- It means that the short citation "Edmonds 2001a" points to two different full citations in the (mislabeled) "Further reading" section, namely:
- Edmonds, Ben (2001a). What's Going On?: Marvin Gaye and the Last Days of the Motown Sound. Canongate U.S. ISBN 1-84195-314-8.
- Edmonds, Ben (2001a). Let's Get It On (Deluxe ed.). Motown Records, a Division of UMG Recordings, Inc. MOTD 4757.
- One of those needs to be changed to read "2001b". Note also that there are short citations to "Edmonds 2001b" that produce the error message "sfn error: no target: CITEREFEdmonds2001b". Changing one of those full citations to "2001b" will fix those errors also. The trick, of course, is to know which one should be Edmonds 2001b, i.e. which source supports which claims in the article. – Jonesey95 (talk) 04:26, 14 September 2021 (UTC)
Trying to set up pattern for Template:Cite Austrian gazette
I have been trying to set up a Lua regex pattern for {{Cite Austrian gazette}}, but I do not appear to have succeeded. The pattern is in the whitelist file, and a sample article is Judiciary of Austria. – Jonesey95 (talk) 20:32, 11 October 2021 (UTC)
Fixed by Trappist. Thank you. – Jonesey95 (talk) 02:23, 12 October 2021 (UTC)
Tottenham Outrage
Can anyone spot the ref that is causing Tottenham Outrage to appear in Category:Harv and Sfn no-target errors? I don't see it. czar 02:20, 12 October 2021 (UTC)
- Refs 57, 58, and 61. The red error messages show up for me with one of the usual scripts. They all look like false positives that need whitelisting. I have found it much more satisfying to work on the "multiple target" errors, which are almost always fixable on the page. – Jonesey95 (talk) 02:23, 12 October 2021 (UTC)
- Thank you. I missed that a drive-by editor had removed the allowlist. czar 03:00, 1 November 2021 (UTC)
Vernon Sturdee
Can anyone tell me why Vernon Sturdee is in Category:Harv and Sfn no-target errors? Is there a template we can add to suppress this? Hawkeye7 (discuss) 20:28, 9 November 2021 (UTC)
- It's not.
- But, this harvnb doesn't link to its matching template because in that template
|ref=none
. - —Trappist the monk (talk) 20:49, 9 November 2021 (UTC)
- It was. I suppressed the false warning by adding {{sfn whitelist|CITEREFWood2002}} [1] but that template is deprecated. It should have been suppressed by adding
|ref=none
but then the reference didn't work. [2] Hawkeye7 (discuss) 21:06, 9 November 2021 (UTC)- I don't know how to get around this problem. Hawkeye7 (discuss) 21:17, 9 November 2021 (UTC)
- No,
|ref=none
will not suppress the harvnb error: no target: CITEREFWood2002 error message because|ref=none
prevents{{cite encyclopedia}}
(which underlies{{Australian Dictionary of Biography}}
) from creating an anchor id to which the{{harvnb}}
template links. - There are three ways to fix this particular template pair:
{{sfn whitelist|CITEREFWood2002}}
– this has been implemented- add
CITEREFWood2002
to Module:Footnotes/whitelist – master list ofCITEREF
identifiers and a better solution - the canonical name of
{{Australian Dictionary of Biography}}
is{{Cite Australian Dictionary of Biography}}
– Module:Footnotes looks for templates named{{cite <anything>}}
when looking for aCITEREF
target so will find{{cite Australian Dictionary of Biography}}
; this is the best solution.
- —Trappist the monk (talk) 23:01, 9 November 2021 (UTC)
- It was. I suppressed the false warning by adding {{sfn whitelist|CITEREFWood2002}} [1] but that template is deprecated. It should have been suppressed by adding
Thanks to Jonesey95 for sending me this way. It looks like article Sue Raney is trying to use Template:AllMusic for an Sfn citation, but I'm not sure it's an actual citation template because it won't build itself an anchor (I think). The "ref" parameter is being set using SfnRef, but AllMusic doesn't appear to be wrapping Cite web or Citation or any other template for citations, so it's doing no good to set ref. At least this is my conclusion. Is there a citation template for AllMusic? I couldn't find one. Eewilson (talk) 16:47, 20 December 2021 (UTC)
False positive(s) at Droungarios of the Fleet, Battle of Trapani, Byzantine navy
Can't remember how to fix those, but someone here will. Headbomb {t · c · p · b} 20:52, 1 January 2022 (UTC)
Fixed. – Jonesey95 (talk) 21:58, 1 January 2022 (UTC)
- Thanks. There's two more at Treaty battleship and George Gosse, which I can't figure out. Headbomb {t · c · p · b} 00:44, 2 January 2022 (UTC)
Cite ODNB
Any reason why this isn't automatically handled, and instead need to be bypassed manually each time? Headbomb {t · c · p · b} 17:45, 2 January 2022 (UTC)
Need somebody smarter than me to add something
Could {{Cite Gaines 2008}} be added to this list, much as was done for {{Cite Kennedy 1998}} and {{Cite McGhee 2008}}? It currently only has about ~5 transclusions, but I expect to use this frequently in a set of articles I intend to work on soon. Hog Farm Talk 18:24, 17 January 2022 (UTC)
Multiple-target error category cleared out
This is just a quick note to say that through the diligent efforts of a few gnomes, Category:Harv and Sfn multiple-target errors contains zero articles today, down from 4,558 in May 2020. Category:Harv and Sfn no-target errors has 24,076 pages, down from 28,153 in May 2020. – Jonesey95 (talk) 23:04, 22 February 2022 (UTC)
False positive templates
Please add the following templates to the whitelist:
- {{Zimmerman-Burlington}} as on Pioneer Zephyr
- {{Cudahy-Hudson}} as on GE E60
- {{Veysey-PE-1958}} as on Upland–San Bernardino Line and Long Beach Line
- {{EGA}} as on Theorem on formal functions and Unibranch local ring
- {{Hartshorne AG}} as on Theorem on formal functions
- {{Cite DCB}} as in:
{{Cite DCB |last=Kesteman |first=Jean-Pierre |title=Galt, Sir Alexander Tilloch |volume=12 |url=http://www.biographi.ca/en/bio/galt_alexander_tilloch_12E.html}}
{{Cite DCB |last=Rudin |first=Ronald |title=Heneker, Richard William |volume=14 |url=http://www.biographi.ca/en/bio/heneker_richard_william_14E.html}}
on British American Land Company
Thanks Nempnet (talk) 13:59, 30 March 2022 (UTC)
suprious inclusion in this category
There seem to be many articles in this category without actual error messages visible. How can they be fixed?
Here are examples: Adur-Anahid, Abu'l-Hasan Isfarayini, Abu Lu'lu'a Firuz, and Al-Mu'tadid.
What causes these articles to appear in this category? -- Mikeblas (talk) 18:06, 30 March 2022 (UTC)
- See this explanation on the category page. – Jonesey95 (talk) 19:48, 30 March 2022 (UTC)
- Sorry, that explanation is just about how to set up the error messages. I see the messages normally -- just not in some articles, some of the time. Am I missing somehting? -- Mikeblas (talk) 02:13, 1 April 2022 (UTC)
- Some of those articles have been fixed. Do you see the current error messages for Bowen1928 at Al-Mu'tadid? – Jonesey95 (talk) 04:04, 1 April 2022 (UTC)
- Yes I do, but that's not one of the articles that I had identified as problematic. -- Mikeblas (talk) 18:55, 2 April 2022 (UTC)
- I just clicked on it from the original message at the head of this section. Please link to a couple of articles where this error category appears without an error message, and I'll take a look. – Jonesey95 (talk) 12:33, 3 April 2022 (UTC)
- I suspect that Editor Mikeblas saw the category but did not see the error messages because at the time of the original post, 18:06, 30 March 2022 (UTC), User:Mikeblas/common.css did not have the necessary rule to show the error messages. The rule was added with this edit 02:11, 1 April 2022 (UTC). Had the example articles not been fixed, the messages would have become visible after that edit.
- —Trappist the monk (talk) 14:15, 3 April 2022 (UTC)
- I linked to topics that were in this category but had no visible errors above. (Sorry; looks like I fell through a couple of redirects and didn't notice. I thought I was on Category talk:Harv and Sfn no-target errors, so the "this category" to which I'm referring is Category:Harv and Sfn no-target errors.)
- The edit in question was made to try and troubleshoot because I thought I had "Method 2" installed (see here). Maybe the explanation is that some new warnings are incompatible with the "old script". Problem is, I never received a notification that the script I was using had become deprecated ... but maybe that's why some messages might not have been displayed for some articles. Thing is, for many (most!) articles, they warnings were displayed just fine. -- Mikeblas (talk) 15:25, 3 April 2022 (UTC)
- I just clicked on it from the original message at the head of this section. Please link to a couple of articles where this error category appears without an error message, and I'll take a look. – Jonesey95 (talk) 12:33, 3 April 2022 (UTC)
- Yes I do, but that's not one of the articles that I had identified as problematic. -- Mikeblas (talk) 18:55, 2 April 2022 (UTC)
- Some of those articles have been fixed. Do you see the current error messages for Bowen1928 at Al-Mu'tadid? – Jonesey95 (talk) 04:04, 1 April 2022 (UTC)
- Sorry, that explanation is just about how to set up the error messages. I see the messages normally -- just not in some articles, some of the time. Am I missing somehting? -- Mikeblas (talk) 02:13, 1 April 2022 (UTC)
no target error from template usage?
If I view 8th Missouri Infantry Regiment (Confederate), I see warnings that say "sfn error: no target: CITEREFKennedy1998". But the footnotes decorated with these errors *are* supported by a source. In fact, hovering over the footnote highlights that source, as does clicking on it. Do the errors falsely trigger when the target is defined by a template? I don't recall previously encountering this limitation. -- Mikeblas (talk) 15:31, 3 April 2022 (UTC)
- Templates like this need to be listed in Module:Footnotes/whitelist. There was some duplication of CITEREFKennedy1998 in that file. After I fixed the duplication, the false positive error message is gone. Thanks for reporting it. – Jonesey95 (talk) 13:24, 4 April 2022 (UTC)
- Thanks! Looks like there are many problems of this type. {{TDV Encyclopedia of Islam}} in Al-Musta'li and Al-Hafiz, for example. I'm curious about how the whitelist works. There's already an entry for author Küçükaşcı and the encyclopedia. Does that mean any footnote for that author will be ignored by this category, even if it isn't correctly defined, just because an invocation of the {{TDV Encyclopedia of Islam}} template is present? -- Mikeblas (talk) 17:22, 4 April 2022 (UTC)
- Another problem is {{The Immortal Emperor: The Life and Legend of Constantine Palaiologos, Last Emperor of the Romans}}, used in Maria Palaiologina (Princess of Vereya) and Angelo Maria Angeli, among others. -- Mikeblas (talk) 17:38, 4 April 2022 (UTC)
- @Jonesey95: is it not possible to fix {{TDV Encyclopedia of Islam}} or {{The Immortal Emperor: The Life and Legend of Constantine Palaiologos, Last Emperor of the Romans}}? Am I incorrect in diagnosing them as a false-positives for the errors the generate? -- Mikeblas (talk) 15:54, 6 May 2022 (UTC)
Turing
I think another template which should be white-listed is {{Turing 1950}}. -- Mikeblas (talk) 21:11, 10 May 2022 (UTC)
- CITEREFTuring1950 as found on Artificial intelligence. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 22:32, 10 May 2022 (UTC)
Another template for whitelisting
After much poking around, it seems {{bluebook journal}} is providing a false positive error, and consequential listing on Category:Harv and Sfn no-target errors. It appropriately creates internal reflinks that are functional with {{sfn}} and {{harvnb}}. For example, {{sfn|Kutcher|2014|p=241}} on Flood v. Kuhn, ref 31 at time of writing, is just one example of many on that page. Any chance of getting it added to the template whitelist? Cheers! Buttons to Push Buttons (talk | contribs) 17:36, 12 May 2022 (UTC)
False positive no target errors
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Is there a way to report false positives? I've been working a fixing no target errors, and have obviously come across quite a few. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 17:19, 8 May 2022 (UTC)
- All of the following bare generating false positive no target errors;
- CITEREFHambly1991 {{Cambridge History of Iran}} Abol-Qasem Qa'em-Maqam
- CITEREFRahman1983 {{Encyclopaedia Iranica}} Abol-Qasem Qa'em-Maqam
- CITEREFHeschel2007 {{cite EJ}} Abraham Geiger
- CITEREFHosseini2017 {{Encyclopaedia Iranica}} Abu al-Hasan al-Daylami
- CITEREFBöwering1995 {{Encyclopaedia Iranica}} Abu al-Hasan al-Daylami
- CITEREFSoucek1983 {{Encyclopaedia Iranica}} Abu al-Qasim Kashani
- CITEREFBlair2021 {{Encyclopaedia Iranica}} Abu al-Qasim Kashani
- CITEREFSpuler1987 {{Encyclopaedia Iranica}} Abu Bakr ibn Sa'd
- CITEREFSpuler1983 {{Encyclopaedia Iranica}} Abu Bakr ibn Sa'd
- CITEREFLangaroodiCooper2015 {{Encyclopaedia Iranica}} Abu Bakr Tihrani
- CITEREFBernjian2008 {{Encyclopaedia Islamica}} Abu Tahir Tarsusi
- CITEREFFesharaki2015 {{Encyclopaedia Islamica}} Abu Sa'id al-Rustami
- CITEREFKamaly2006 {{Encyclopaedia Iranica}} Abu Sa'id al-Rustami
- CITEREFDanner1975 {{Cambridge History of Iran}} Abu Sa'id al-Rustami
- CITEREFÖz1993 {{TDV Encyclopedia of Islam}} Abu Sa'id al-Jannabi
- CITEREFGhulamiyan2015 {{Encyclopaedia Iranica}} Abu Nasr Farahi
- CITEREFPezeshkKhaleeli2017 {{Encyclopaedia Iranica}} Abu Hanifa Dinawari
- CITEREFBianquis1998 {{Cambridge History of Egypt}} Abu'l-Hasan Ahmad ibn Muhammad ibn Abdallah ibn al-Mudabbir
- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 13:42, 9 May 2022 (UTC) - CITEREFBowen1928 {{The Life and Times of Ali ibn Isa}} on Abdallah ibn Hamdan and 11 others
- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 13:45, 9 May 2022 (UTC) Not done as the to the immediate edit request, feel free to discuss below, or to make corrections in the sandbox. When an edit is ready to go, please reactivate the edit request. — xaosflux Talk 15:13, 16 May 2022 (UTC)
{{Cite Q}}
@Headbomb: What should be done with citations that are pulled from Wikidata? See for example Antonio Lasciac. Renata•3 20:34, 16 May 2022 (UTC)
- Sorry, pinged wrong user. Meant @Trappist the monk:. Renata•3 20:39, 16 May 2022 (UTC)
No templates in headings.
{{cite q}}
is not ready for primetime so all of the {{cite q}}
templates in Antonio Lasciac should be replaced with their expansions. That done, Module:Footnotes can find author and date information.
—Trappist the monk (talk) 22:13, 16 May 2022 (UTC)
- Renata3, for more information about the problems with {{Cite Q}}, see this talk page thread from December 2020. The fundamental CITEVAR-related problems with the template have not yet been addressed, the template is still not labeled as "beta" in its documentation despite the need for such a label; because it is not labeled, good-faith editors have expanded the usage of the template in non-settlement articles from about 700 articles to about 4,300 articles. – Jonesey95 (talk) 00:51, 17 May 2022 (UTC)
- We should get a box to de-city Q-ify articles. Maybe @Trappist the monk and Jonesey95: can code one? Headbomb {t · c · p · b} 00:54, 17 May 2022 (UTC)
- That would be helpful for resolving CITEVAR issues caused by a single unmodified Cite Q template inserted into an otherwise conforming article. Renata3,
if the false positive error messages bother you, you can work around them like this. – Jonesey95 (talk) 01:25, 17 May 2022 (UTC)- Doing this causes a "ref duplicates default" CS1 error. So it's just switching one error for another (lesser) one. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 16:02, 17 May 2022 (UTC)
- Oops, I didn't notice that. Not ideal. Reverted. – Jonesey95 (talk) 16:41, 17 May 2022 (UTC)
- I added last name and year parameter to the cite q template, and it seems to work. Renata•3 02:11, 18 May 2022 (UTC)
- Oops, I didn't notice that. Not ideal. Reverted. – Jonesey95 (talk) 16:41, 17 May 2022 (UTC)
- Doing this causes a "ref duplicates default" CS1 error. So it's just switching one error for another (lesser) one. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 16:02, 17 May 2022 (UTC)
- I can imagine how such a bot might be implemented but I can also imagine that there will be a significant amount of pushback from those who think that
{{cite q}}
is a good thing. If there were an rfc to support bot expansion of{{cite q}}
templates... - —Trappist the monk (talk) 13:05, 17 May 2022 (UTC)
- That would be helpful for resolving CITEVAR issues caused by a single unmodified Cite Q template inserted into an otherwise conforming article. Renata3,
- We should get a box to de-city Q-ify articles. Maybe @Trappist the monk and Jonesey95: can code one? Headbomb {t · c · p · b} 00:54, 17 May 2022 (UTC)
Whitelist for Anthemius of Cyprus
Jonesey95: any idea why whitelist is not working for this article? Both Loverance refs have been added to whitelist, but still show up as errors. Renata•3 02:08, 22 May 2022 (UTC)
- Fixed by removing the disambiguation letters after the year. I added a note to the whitelist documentation at the top of the page. – Jonesey95 (talk) 13:36, 22 May 2022 (UTC)
More templates for whitelisting
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Bloom 2007, CITEREFBloom2007, {{Cite Routledge Broadway}}
Botto & Mitchell 2002, CITEREFBottoMitchell2002, {{Cite ATT Broadway}}
As seen at August Wilson Theatre and many others. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 13:46, 15 May 2022 (UTC)
- Thanks, ActivelyDisinterested. Done, including the reported templates above. Renata•3 20:23, 16 May 2022 (UTC)
- Thanks Renata. Is there a best way to present these? I've gathered some more, see here, but don't want to create unnecessary work. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 16:24, 17 May 2022 (UTC)
- ActivelyDisinterested: I think I already added most of them. There are two that I skipped on purpose as they are far from ideal. Letter "A" is almost done! As far as future whitelist entries go, it would be best to format it in the way the module wants them formatted so it's easy to copy&paste. For example:
['CITEREFDukeKeilty1990'] = {'Duke-RDC'},
- First is the missing CITEREF followed by last name & year (can be copied from the error message) followed by the template name used in citing the book/work. Note that the brackets and apostrophes have to follow the pattern: [' and {'. Renata•3 02:30, 18 May 2022 (UTC)
- Do you mind if I just keep replying with additions? I went over everything thing again, removed everything already done, added a few more today, and I have the following 7 outstanding. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 17:25, 18 May 2022 (UTC)
- Sure, I did the last batch, but please ping me as I am on-and-off on this clean up task so I might miss messages here. Renata•3 17:44, 18 May 2022 (UTC)
- Renata there are 3 more to list, details here. There are also two articles with odd behaviour, both Anthemius of Cyprus and Anushawan have whitelisted refs that are still producing false positives. Any idea what's up? - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 18:35, 20 May 2022 (UTC)
- Now 4 to be whitelisted, sorry. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 11:44, 21 May 2022 (UTC)
- Ok, done, except Anthemius of Cyprus. Don't know why it's not working. Note my username has digit "3" in it. So I didn't get that ping. Renata•3 02:08, 22 May 2022 (UTC)
- I knew something hadn't worked. Thanks for whitelisting, only 5 left in 'A' but they are beyond my fixing. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 11:00, 22 May 2022 (UTC)
- FYI, the issue with Andrew Jackson Houston was that the errors were coming the transcluded template {{Houston family tree}}. So only 2 left in letter A. Renata•3 17:19, 22 May 2022 (UTC)
- I knew something hadn't worked. Thanks for whitelisting, only 5 left in 'A' but they are beyond my fixing. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 11:00, 22 May 2022 (UTC)
- Ok, done, except Anthemius of Cyprus. Don't know why it's not working. Note my username has digit "3" in it. So I didn't get that ping. Renata•3 02:08, 22 May 2022 (UTC)
- Now 4 to be whitelisted, sorry. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 11:44, 21 May 2022 (UTC)
- Renata there are 3 more to list, details here. There are also two articles with odd behaviour, both Anthemius of Cyprus and Anushawan have whitelisted refs that are still producing false positives. Any idea what's up? - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 18:35, 20 May 2022 (UTC)
- Sure, I did the last batch, but please ping me as I am on-and-off on this clean up task so I might miss messages here. Renata•3 17:44, 18 May 2022 (UTC)
- Do you mind if I just keep replying with additions? I went over everything thing again, removed everything already done, added a few more today, and I have the following 7 outstanding. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 17:25, 18 May 2022 (UTC)
- ActivelyDisinterested: I think I already added most of them. There are two that I skipped on purpose as they are far from ideal. Letter "A" is almost done! As far as future whitelist entries go, it would be best to format it in the way the module wants them formatted so it's easy to copy&paste. For example:
- Thanks Renata. Is there a best way to present these? I've gathered some more, see here, but don't want to create unnecessary work. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 16:24, 17 May 2022 (UTC)
Whitelisting
Renata3 when you have a minute could you add these to the whitelist? - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 20:45, 26 May 2022 (UTC)
CITEREFBrand1991 and {{Oxford Dictionary of Byzantium}}
CITEREFBrand1991 was been whitelisted for {{ODB}} bit is still appearing as false positive, see Alamanikon. Anyone know what the issue is? - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 17:24, 29 May 2022 (UTC)
- No templates in section headings.
- —Trappist the monk (talk) 18:06, 29 May 2022 (UTC)
- Sorry you've lost me. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 18:13, 29 May 2022 (UTC)
- Do not use templates in section headings. When you created this topic, the section heading was:
== CITEREFBrand1991 and {{tl|Oxford Dictionary of Byzantium}} ==
- Doing that, breaks the link from page history and from watchlists. See MOS:NOSECTIONLINKS.
- —Trappist the monk (talk) 18:29, 29 May 2022 (UTC)
- Do not use templates in section headings. When you created this topic, the section heading was:
- Sorry you've lost me. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 18:13, 29 May 2022 (UTC)
- In the whitelist, line 473 has the same table index as line 474; both are
['CITEREFBrand1991']
. The second overwrites the first so the first (line 473) is never seen.There is no whitelist fix for this. - —Trappist the monk (talk)
18:29, 29 May 2022 (UTC)21:43, 29 May 2022 (UTC)- Ok that makes sense. Can they not be concatenated? I'm guessing it won't work with template_names, but wouldn't {'DBI', 'ODB', 'Oxford Dictionary of Byzantium'}, work? - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 19:28, 29 May 2022 (UTC)
- That works.
- —Trappist the monk (talk) 21:43, 29 May 2022 (UTC)
- Ok that makes sense. Can they not be concatenated? I'm guessing it won't work with template_names, but wouldn't {'DBI', 'ODB', 'Oxford Dictionary of Byzantium'}, work? - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 19:28, 29 May 2022 (UTC)
Local special pattern for {{London Gazette}}
The London Gazette template is commonly referenced as "Gazette" and the issue number. I see with {{National Heritage List for England}} a special pattern is used (as it's usually referenced as "Historic England" and the catalogue number) so each entry doesn't have to be whitelisted. Could the same be done for the London Gazette? Given that there are tens of thousands of issues of the Gazette it would be easier on the whitelist. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 14:03, 29 May 2022 (UTC)
- No templates in section headings.
{{National Heritage List for England}}
produces malformed CITEREF ids and has done for a long time (see Template talk:National Heritage List for England § harv & sfn templates used with this template which also notes that{{National Historic Assets of Wales}}
and{{Historic Environment Scotland}}
suffer the same problems). The editors of those templates have chosen to keep the malformed CITEREF ids because I-don't-know-why.{{London Gazette}}
produces the same sort of malformed CITEREF ids.- There may be
tens of thousands of issues of the Gazette
but if one is to believe the search results presented at Template talk:London Gazette § Using date instead of issue in CITEREF, there are very few that are linked from{{harv}}
or{{sfn}}
templates. That being the case,{{sfn whitelist}}
would be easier on the whitelist
. - —Trappist the monk (talk) 15:03, 29 May 2022 (UTC)
- Looking at your search results I thought I must have been unlucky, but I don't think your searches are working properly as a different search finds others. My search is catching mostly errors that are unrelated, but as an example Johnnie Johnson (RAF officer) has the error but doesn't appear in your search results.
- {{sfn whitelist}} looks interesting but it does mean going through every article, were whitelisting could solve many articles at the same time. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 16:56, 29 May 2022 (UTC)
- New searches:
- 4-digit 'number' ~14 hits – I notice that many of these 'gazettes' are not London Gazette
- 5-digit number ~12 hits - these seem to be mostly London Gazette
- There is a group of 18
CITEREFGazetten
identifiers at line 738 et seq. all used in Robert Stanford Tuck. Of those, two are also used in other articles:- Pat Pattle (34989)
- John Dundas (RAF officer) (35037)
- The whitelist is best for cases where there are a lot of same-CITEREF-ids used across many articles. With so few articles actually using some sort of short-form template to link to
{{London Gazette}}
citations, those articles are best served by using{{sfn whitelist}}
. - —Trappist the monk (talk) 17:59, 29 May 2022 (UTC)
- I came across "Robert Stanford Tuck" first, so the issue looked more impactful than it was. What's the best way to search for template usage, bar 'what links here'? - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 16:33, 31 May 2022 (UTC)
- For instance if I was looking for articles with {{Ιστορία του Ελληνικού Έθνους}} and generating CITEREFPikros1977? - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 16:36, 31 May 2022 (UTC)
- This search returns articles with
{{Ιστορία του Ελληνικού Έθνους}}
and "Pikros". You can use cirrus search's crippled regex capabilities for more complex searches. See Help:Searching. - —Trappist the monk (talk) 16:58, 31 May 2022 (UTC)
- This search returns articles with
- For instance if I was looking for articles with {{Ιστορία του Ελληνικού Έθνους}} and generating CITEREFPikros1977? - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 16:36, 31 May 2022 (UTC)
- Final question could we put {{sfn whitelist}} inside the templates? So if I added {{sfn whitelist|CITEREFPikros1977}} to {{Ιστορία του Ελληνικού Έθνους}} would it suppress the error, or would the sun implode? I don't know how to create a test template to check. - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 19:26, 31 May 2022 (UTC)
- No. Module:Footnotes can't see inside templates.
- —Trappist the monk (talk) 21:43, 31 May 2022 (UTC)
- I came across "Robert Stanford Tuck" first, so the issue looked more impactful than it was. What's the best way to search for template usage, bar 'what links here'? - LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 16:33, 31 May 2022 (UTC)
- New searches:
- Looking at your search results I thought I must have been unlucky, but I don't think your searches are working properly as a different search finds others. My search is catching mostly errors that are unrelated, but as an example Johnnie Johnson (RAF officer) has the error but doesn't appear in your search results.
Whitelist request
Please add the following to the Footnotes module whitelist:
['CITEREFAbélanet2011'] = {'Itinéraires mégalithiques'} (Caixa de Rotllan) ['CITEREFHistoric_England'] = {'NHLE'} (Caesar's Camp, Rushmoor and Waverley & others) ['CITEREFDangel-Hofmann1999'] = {'NDB'} (Carl Orff, should be checked?) ['CITEREFNicholson2018'] = {'ODLA'} (Candidus Isaurus) ['CITEREFBaldwin1991'] = {'ODB'} (Candidus Isaurus) ['CITEREFSmid2008'] = {'Smid2008'} (Canned cycle) ['CITEREFSadie1980'] = {'cite Grove'} (Carlo Gesualdo) ['CITEREFBianconi2001'] = {'Cite NewGrove1980'} (Carlo Gesualdo) ['CITEREFNicol1968'] = {'The Byzantine Family of Kantakouzenos'} (Carlo III Tocco) ['CITEREFGrenfell1870'] = {'DGRBM'} (Carneades) ['CITEREFAnton_Schlossar1888'] = {'Cite ADB'} (Caroline Pichler) ['CITEREFWilsonFiske1889'] = {'Appletons' '} (Catharine Van Valkenburg Waite) OBS apostrophe in template name ['CITEREFHalmos1982'] = {'Halmos A Hilbert Space Problem Book 1982'} (Cauchy–Schwarz inequality) ['CITEREFCallwell1999'] = {'Muni Chronology'} (45 Union/Stockton) ['CITEREFMatthee2012'] = {'Encyclopædia Iranica Online'} (Abbas II of Persia) ['CITEREFHitchins2001'] = {'Encyclopædia Iranica Online'} (Abbas II of Persia)
I've accumulated a few of these to reduce the workload on template editors patrolling this page: please let me know if that's not a helpful way of doing it (or if the formatting should be changed). Best wishes, Wham2001 (talk) 07:48, 2 August 2022 (UTC)
- Renata3 I've gone through these and checked for duplicates, whitelisted singles uses, etc. I've added what remains to some I've already picked up and combined them all together here. Could you add them to the whitelist when you have the chance? -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 12:18, 19 August 2022 (UTC)
Done Renata•3 19:11, 19 August 2022 (UTC)
- Thank-you both very much! Wham2001 (talk) 15:18, 20 August 2022 (UTC)
Tolkien-related Whitelist request
A few more for the whitelist (possibly a couple more to come):
- ['CITEREFTolkien1954a'] = template_names['ME-ref']
- ['CITEREFShippey2005'] = template_names['ME-ref']
Please correct the Footnotes module whitelist for the following existing entry:
- ['CITEREFTolkienSwan1978'] = template_names['ME-ref'] ...should read... ['CITEREFTolkienSwann1978'] = template_names['ME-ref']
Many thanks, Chiswick Chap (talk) 13:06, 16 September 2022 (UTC)
- While you are doing it here are two more from me:
['CITEREFColvin1947'] = {'Colvin1947'} (Brass Era car) ['CITEREFSorensen1956'] = {'Sorensen1956'} (Charles E. Sorensen; 13 transclusions)
Done Renata•3 01:04, 20 September 2022 (UTC)
- Thank you! Chiswick Chap (talk) 06:44, 20 September 2022 (UTC)
- Thanks from me too!
Wham2001 (talk) 09:33, 20 September 2022 (UTC)
New entries for the whitelist
In celebration of clearing all errors under B, could the following be added to the whitelist?
['CITEREFBosworth1999'] = template_names['Iranica'],
['CITEREFGregoryKazhdan1991'] = template_names['ODB'],
['CITEREFKelley1975'] = {'Kelley General Topology'},
['CITEREFIacocca1984'] = {'Iacocca1984'},
['CITEREFNestruev2020'] = {'Nestruev Smooth Manifolds and Observables 2020'},
['CITEREFOrmsby1982'] = {'Cite DCB'},
['CITEREFVentura1963'] = {'DBI', 'Dizionario Biografico degli Italiani'},
['CITEREFZălinescu2002'] = {'Zălinescu Convex Analysis in General Vector Spaces 2002'},
Thanks -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 20:22, 12 October 2022 (UTC)
- Renata3 Sorry to ping, any chance you could do the update? -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 12:41, 17 October 2022 (UTC)
- ActivelyDisinterested: done. Thank you for working on this so diligently! Renata•3 22:33, 20 October 2022 (UTC)
Category:Harv and Sfn no-target errors
I'm aware of Category:Harv and Sfn template errors#Current limitations and false-positive errors, but I still don't understand why this citation, taken from Carl Orff, generates the Category:Harv and Sfn no-target errors? The anchor ID is not burrowed in the wrapper template and should be visible just like any |ref=
.
{{NDB|19|588|591|Orff, Carl|Dangel-Hofmann, Frohmut|118590219|ref={{harvid|Dangel-Hofmann|1999}}}}
- Dangel-Hofmann, Frohmut (1999), "Orff, Carl", Neue Deutsche Biographie (in German), vol. 19, Berlin: Duncker & Humblot, pp. 588–591; (full text online)
-- Michael Bednarek (talk) 13:55, 18 November 2022 (UTC)
- Module:Footnotes only looks at templates that it can recognize as some sort of citation template. Any template that begins with
{{cite
is inspected so for Dangel-Hofmann 1999, you can change the target citation to use the redirect{{cite NDB}}
. This is mentioned at Category:Harv and Sfn template errors § Resolving errors. - —Trappist the monk (talk) 14:20, 18 November 2022 (UTC)
Somemore for the whitelist
Renata3 sorry to ping you again, but could you add these to the whitelist?
['CITEREFEl-Hibri2021'] = {'The Abbasid Caliphate: A History'},
['CITEREFHolland1989'] = {'Holland1989'},
['CITEREFHowes1995'] = {'Howes Modern Analysis and Topology 1995'},
['CITEREFRockafellarWets2009'] = {'Rockafellar Wets Variational Analysis 2009 Springer'},
['CITEREFSearle1980'] = {'Searle 1980'},
['CITEREFVan_Riemsdijk1994'] = {'Book-Van Riemsdijk-Compound Locomotives'},
-- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 10:36, 8 December 2022 (UTC)
- No bother, I am just not around WP these days.
Done and thank you for your diligence! Renata•3 02:26, 10 December 2022 (UTC)
Clearing 'C'
All that's left of C in the error list are a few to be whitelisted.
['CITEREFGaines2008'] = {'Cite Gaines 2008'},
['CITEREFSmid2008'] = {'Smid2008'},
['CITEREFSmid2010'] = {'Smid2010'},
Redrose64 would you mind adding these to the whitelist? -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 20:50, 27 December 2022 (UTC)
- Sorry to be bothering you again Renata3 any chance you could add these? -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 21:04, 29 December 2022 (UTC)
- Done! And you are making an amazing progress :) Renata•3 04:57, 31 December 2022 (UTC)
New template causing false positives
Hi Renata3 could you whitelist the following? A new template is caiy a lot of false positives.
['CITEREFNesbittOikonomides1991'] = {'Catalogue of Byzantine Seals at Dumbarton Oaks and in the Fogg Museum of Art'}
['CITEREFNesbittOikonomides1994'] = {'Catalogue of Byzantine Seals at Dumbarton Oaks and in the Fogg Museum of Art'}
['CITEREFNesbittOikonomides1996'] = {'Catalogue of Byzantine Seals at Dumbarton Oaks and in the Fogg Museum of Art'}
['CITEREFMcGeerNesbittOikonomides2001'] = {'Catalogue of Byzantine Seals at Dumbarton Oaks and in the Fogg Museum of Art'},
['CITEREFMcGeerNesbittOikonomides2005'] = {'Catalogue of Byzantine Seals at Dumbarton Oaks and in the Fogg Museum of Art'},
['CITEREFNesbittMorrisson2009'] = {'Catalogue of Byzantine Seals at Dumbarton Oaks and in the Fogg Museum of Art'}
['CITETEFCotsonis2020'] = {'Catalogue of Byzantine Seals at Dumbarton Oaks and in the Fogg Museum of Art'}
-- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 15:18, 9 January 2023 (UTC)
Revise Quick-stations-5 template
The template Quick-stations-5 has been amended as the underlying citation has been revised and updated from 2019 to 2022. The template is whitelisted showing the 2019 date, please amend it to 2022. I am currently going through the footnotes using this template to amend the page numbering as there have been significant changes but now they are showing as sfn errors. This situation will not occur in future as steps have been taken to archive the current version and when it is updated in future a new template will be produced. Nempnet (talk) 16:15, 11 January 2023 (UTC)
- For any template editor who picks this up, for quick reference the following:
['CITEREFQuick2019'] = {'Quick-stations-5'},
Should be changed to:
['CITEREFQuick2020'] = {'Quick-stations-5'},
-- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 23:46, 11 January 2023 (UTC)
- It should be changed to:['CITEREFQuick2022'] = {'Quick-stations-5'} please. Versions 5.01, 5.02 and 5.03 all have different years but they all point to the same web address, that of version 5.04 which is the 2022 version. Nempnet (talk) 14:06, 14 January 2023 (UTC)
Renata3, sorry could you correct
['CITEREFQuick2020'] = {'Quick-stations-5'},
to be
['CITEREFQuick2022'] = {'Quick-stations-5'},
and add
['CITEREFTolkienSwann2002'] = {'ME-ref'},
There are both racking up false positives error. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 14:10, 19 January 2023 (UTC)
Added both. Renata•3 16:24, 19 January 2023 (UTC)
- You're a star. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 16:47, 19 January 2023 (UTC)
Items for whitelisting
Renata3 When you have a chance could you whitelist the following?
['CITEREFApostol1976'] = {'Apostol IANT'},
['CITEREFBournoutian2018'] = {'Cite Armenia and Imperial Decline'},
['CITEREFCsászár1978'] = {'Császár General Topology'},
['CITEREFHovannisian1971'] = {'Cite The Republic of Armenia Volume 1'},
['CITEREFКавказский_календарь_на_1913_год'] = {'Cite Kavkazskiy Kalendar 1913'},
['CITEREFКавказский_календарь_на_1917_год'] = {'Cite Kavkazskiy Kalendar 1917'},
['CITEREFLang2002'] = {'Lang Algebra'},
['CITEREFLurie'] = {'Lurie-HA'},
['CITEREFTsutsiev2014'] = {'Cite Atlas of the Ethno-Political History of the Caucasus'},
['CITEREFVenables1911'] = {'DCBL'},
['CITEREFWilansky2008'] = {'Wilansky Topology for Analysis 2008'},
Thanks -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 11:32, 31 January 2023 (UTC)
"D" has now been cleared
Only two more to add to the whitelist; ['CITEREFKazemzadeh1951'] = {'The Struggle for Transcaucasia'},
['CITEREFNicol1984'] = {'The Despotate of Epiros, 1267–1479'},
Sorry Renata3 could I bother you again? -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 22:51, 4 February 2023 (UTC)
- Done, and awesome progress! Renata•3 01:47, 5 February 2023 (UTC)
- Thanks Renata3. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 10:35, 5 February 2023 (UTC)
More CITEREFs for the whitelist
Hi Renata3. My sandbox is filling up again, could you add these to the whitelist?
['CITEREFHalm1991'] = {'Das Reich des Mahdi'},
['CITEREFHalm2014'] = {'Kalifen und Assassinen'},
['CITEREFHovannisian1982'] = {'Cite The Republic of Armenia Volume 2'},
['CITEREFHovannisian1996a'] = {'Cite The Republic of Armenia Volume 3'},
['CITEREFHovannisian1996b'] = {'Cite The Republic of Armenia Volume 4'},
['CITEREFHovannisian1967'] = {'Cite Armenia on the Road to Independence'},
['CITEREFKazemzadeh1951'] = {'Cite The Struggle for Transcaucasia'},
['CITEREFКавказский_календарь_на_1910_год'] = {'Cite Kavkazskiy Kalendar 1910'},
['CITEREFКавказский_календарь_на_1915_год'] = {'Cite Kavkazskiy Kalendar 1915'},
['CITEREFNicol1994'] = {'The Byzantine Lady: Ten Portraits, 1250–1500'},
['CITEREFTolkien1979'] = {'ME-ref'},
['CITEREFTopping1975'] = {'Wisconsin History of the Crusades'},
-- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 16:52, 19 February 2023 (UTC)
Done and thank you! Renata•3 19:26, 19 February 2023 (UTC)
- Sorry could you add?
- ['CITEREFHalm2003'] = {'Die Kalifen von Kairo'},
- Looks like it about to be added to a lot of articles. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 19:55, 19 February 2023 (UTC)
- Eeeugh wish I could edit this myself. I made a mistake with CITEREFTopping1975, as it's previously used (I check for this, but must have missed it). Renata3 could you make this update Topping1975, as well as adding Halm2003 above?
- ['CITEREFTopping1975'] = {'Setton-A History of the Crusades', 'Wisconsin History of the Crusades'},
- -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 23:36, 19 February 2023 (UTC)
One for the whitelist
Sorry to bother you again Renata3, could you add the following to the whitelist? It's new and is starting to generate a lot of false positives.
['CITEREFLilieLudwigPratschZielke1999'] = {'Prosopographie der mittelbyzantinischen Zeit', 'PMBZ'},
-- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 13:12, 24 February 2023 (UTC)
CITEREFHovannisian1996a and "Cite The Republic of Armenia Volume 3"
CITEREFHovannisian1996a is whitelisted for Cite The Republic of Armenia Volume 3, but is still producing false positives. Examples 1, 2, 3. I must be missing something, but I can't see what. Any ideas? -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 13:24, 24 February 2023 (UTC)
- Hopefully, I fixed it. I think the issue is that the whitelist does not differentiate "a" or "b" after the year and treats the second template as a duplicate. Renata•3 21:12, 24 February 2023 (UTC)
- Yeah the error are cleared, I'll add that detail to notes so it doesn't happen again. Thanks again you're great. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 21:37, 24 February 2023 (UTC)
False positive with Template:Cite Gaia EDR3
A false positive on TRAPPIST-1 was reported at Wikipedia:Help desk#Again with a bogus sfn error. It's triggered by this:
{{sfn|Brown|2021|loc=Gaia EDR3 record for this source at VizieR}} * {{Cite Gaia EDR3|2635476908753563008|access-date=6 March 2023}}
PrimeHunter (talk) 15:18, 11 March 2023 (UTC)
- This is normal for all custom templates. It could be whitelisted but this is the only article where the template is used with short form refs, which doesn't make it worthwhile. Instead I've added {{sfn whitelist}} to the article to suppress the error. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 17:23, 11 March 2023 (UTC)
"E" has now been cleared
Hi Renata. Could you change the following, they have disambiguation when they shouldn't.
CITEREFTolkien1954a should be removed as it's a duplicate.
CITEREFHammondScull2006a and CITEREFHammondScull2006b should be replaced with one entry without disambiguation.
Also could you added the following:
['CITEREFDer_Matossian2020'] = {'Cite The First Republic of Armenia'},
['CITEREFEaston1897'] = {'eastons', 'EBD'},
['CITEREFLilieLudwigPratschZielke2000'] = {'Prosopographie der mittelbyzantinischen Zeit'},
['CITEREFLilieLudwigPratschZielke2001'] = {'Prosopographie der mittelbyzantinischen Zeit'},
['CITEREFLilieLudwigPratschZielke2002'] = {'Prosopographie der mittelbyzantinischen Zeit'},
['CITEREFLilieLudwigPratschZielke2009'] = {'Prosopographie der mittelbyzantinischen Zeit'},
['CITEREFLilieLudwigPratschZielke2013'] = {'Prosopographie der mittelbyzantinischen Zeit'},
['CITEREFLilieLudwigPratschZielke1998–2013'] = {'Prosopographie der mittelbyzantinischen Zeit'},
-- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 16:33, 12 March 2023 (UTC)
Done That's impressive progress! Thank you. Renata•3 19:18, 12 March 2023 (UTC)
Recently a well-intended user took it upon themselves to "correct" an apparent error by changing the cites using {{bluebook journal}} to {{cite journal}} in Flood v. Kuhn. I reverted, since the former template is preferred when citing law reviews and journals as it is designed, per its title, to display citations to them in the titular format, i.e. volume ABBREVIATION FOR TITLE page, per MOS:LEGAL. It seems the editor found a different way of rectifying the problem, but as the slightly testy edit summary suggests, this can only be a short-term fix.
It would take a huge effort to replicate this across thousands of articles that use this template. I wonder if some shorter way could be found ... perhaps writing this functionality to fully support {{sfn}} into the bluebook templates? (As it is presently, actually, clicking on the short link gets you down to the right place in "works cited", just without the highlighting) Daniel Case (talk) 02:43, 27 March 2023 (UTC)
thousands of articles
[citation needed] This tool says that there are ~330 pages that transclude{{Bluebook journal}}
. This listing says that there are ~310 articles in mainspace that transclude{{Bluebook journal}}
. This simple search says that there are fewer than 10 mainspace articles that transclude both{{Bluebook journal}}
and{{sfn}}
.- —Trappist the monk (talk) 03:11, 27 March 2023 (UTC)
- Well, then, my point is that it's a potential issue, as properly any article that cites a legal journal should use it to ensure correct formatting of the cite, and given that {{sfn}} works just fine for making short-form legal cites, I don't exactly see how the current status of the issue counsels (ahem) inaction.
- Frankly, this just sounds like a justification (or an attempt at one, actually) for continued laziness. Daniel Case (talk) 12:50, 28 March 2023 (UTC)
- It's easy to take action, make sure you have the error messages active and add the {{sfn whitelist}} to each of the effected articles. You could also solve the problem by migrating the templates to Cite bluebook, as that would also mitigate the issue. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 14:14, 28 March 2023 (UTC)
Backlog under 15k!
Harv and Sfn no-target errors category is now at 14,999 remaining articles. Woo-hoo! An incredible progress. Thank you! Renata•3 02:59, 5 April 2023 (UTC)
"F" has been cleared
Hi Renata3, only a few this time.
First CITEREFEaston1897 needs to be corrected, it currently lists "eastons" it should be "Eastons". Sorry my fault.
Also the following need to be added:
['CITEREFCoverdale_&_Colpitts1946'] = {'Coverdale & Colpitts 1', 'Coverdale & Colpitts 2', 'Coverdale & Colpitts 3'}},
['CITEREFFordCrowther1922'] = {'Hounshell1984'},
['CITEREFLegifrance'] = {'Cite Legifrance'},
Thanks -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 20:43, 7 April 2023 (UTC)
- Sorry Renata, CITEREFFordCrowther1922 should be Ford1922 not Hounshell1984. I got that mixed up at some point. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 09:49, 8 April 2023 (UTC)
False positive
Reporting a false positive on William Wilberforce where it uses {{acad}}. Keith D (talk) 17:44, 9 May 2023 (UTC)
- Yoi can either use {{sfn whitelist}} as per this edit or use the default reference for {{acad}}, which is already whitelisted, as per this edit. It's not possible to whitelist if you use |ref= as it could contain anything, which is why you would need to use {{sfn whitelist}} in the article. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 22:20, 9 May 2023 (UTC)
"G" has been cleared
Hi Renata3. There are no new additions to the whitelist. The only thing outstanding is:
['CITEREFFordCrowther1922'] = {'Hounshell1984'},
Needs to be corrected to:
['CITEREFFordCrowther1922'] = {'Ford1922'},
A mistake I made earlier.
According to Wham2001's log the category is nearly half emptied, and I'm slightly concerned that the category isn't tracking correctly. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 21:24, 16 May 2023 (UTC)
- Awesome! Fixed the entry. What do you mean by "category isn't tracking correctly"? Renata•3 02:39, 17 May 2023 (UTC)
- The category totalled 26k, and now has a little over 13k. I've cleared from A-G, and have had the whitelist watchlisted that whole time (and no large amount of work has been done on it). If I look forward at roughly how many articles are in "H", it's about the same as were in "G". I know other work has been done on the category, but these facts don't seem to add up. Supposing that errors are effectively randomly distributed, and given the frequency of the first letter of English words, then the vast majority of errors should still be outstanding and that doesn't match the current tally. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 08:37, 17 May 2023 (UTC)
- Clearing A–G while adding to the whitelist seems to me like a good recipe for cutting the overall total in half. Articles starting with the letters A–G must have a disproportionately higher count than 7/26 (I looked for but did not find a report or page with this information, so this is an educated guess). Also remember that articles starting with numbers have also been cleared, and there are plenty of those on Wikipedia. The whitelist additions have, meanwhile, removed some pages from the back end of the alphabet, and other gnomes are no doubt clearing pages from H–Z as well. – Jonesey95 (talk) 19:28, 17 May 2023 (UTC)
- Thanks Jonesey95, I just wanted some kind of sanity check. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 23:21, 17 May 2023 (UTC)
- Someone also worked on the end of the alphabet - x, y, z are pretty much cleared too. Renata•3 05:07, 18 May 2023 (UTC)
- X-Z were, I think, worked over before I started my log (which I didn't know anybody else was aware of!), so it's really 7/23 rather than 7/26. I don't think that category changes caused by whitelist entries show up in the watchlist so articles can be removed from the category without a watcher noticing. I regret that I've hardly been able to help at all with your very impressive backlog clearance drive, but work has kept me from having much time for Wikipedia this year. Best, Wham2001 (talk) 07:51, 18 May 2023 (UTC)
- Someone also worked on the end of the alphabet - x, y, z are pretty much cleared too. Renata•3 05:07, 18 May 2023 (UTC)
- Thanks Jonesey95, I just wanted some kind of sanity check. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 23:21, 17 May 2023 (UTC)
- Clearing A–G while adding to the whitelist seems to me like a good recipe for cutting the overall total in half. Articles starting with the letters A–G must have a disproportionately higher count than 7/26 (I looked for but did not find a report or page with this information, so this is an educated guess). Also remember that articles starting with numbers have also been cleared, and there are plenty of those on Wikipedia. The whitelist additions have, meanwhile, removed some pages from the back end of the alphabet, and other gnomes are no doubt clearing pages from H–Z as well. – Jonesey95 (talk) 19:28, 17 May 2023 (UTC)
- The category totalled 26k, and now has a little over 13k. I've cleared from A-G, and have had the whitelist watchlisted that whole time (and no large amount of work has been done on it). If I look forward at roughly how many articles are in "H", it's about the same as were in "G". I know other work has been done on the category, but these facts don't seem to add up. Supposing that errors are effectively randomly distributed, and given the frequency of the first letter of English words, then the vast majority of errors should still be outstanding and that doesn't match the current tally. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 08:37, 17 May 2023 (UTC)
I have saved an Excel export of all articles with sfn errors as of Sept 22, 2020 and as of May 16, 2022. At the time, there were 24,950 and 22,877 articles with errors. Distribution by first letter:
- Letter - Sep 2020 - May 2022
- Number - 209 - 2
- A - 1676 - 182
- B - 1384 - 1295
- C - 1788 - 1825
- D - 930 - 909
- E - 902 - 870
- F - 735 - 752
- G - 1139 - 1058
- H - 1561 - 1340
- I - 606 - 686
- J - 1108 - 1073
- K - 647 - 655
- L - 1677 - 1720
- M - 1609 - 1735
- N - 726 - 771
- O - 488 - 471
- P - 1304 - 1297
- Q - 87 - 97
- R - 982 - 980
- S - 2127 - 2196
- T - 1529 - 1562
- U - 305 - 241
- V - 371 - 382
- W - 734 - 695
- X - 52 - 6
- Y - 149 - 34
- Z - 136 - 33
(On mobile, can't put this in a table). If someone could run the same statistics as of today, it would be interesting to compare. Renata•3 05:11, 19 May 2023 (UTC)
- How did you generate the excel export? -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 12:06, 19 May 2023 (UTC)
- WP:PetScan. Renata•3 12:57, 19 May 2023 (UTC)
- I've updated the table below (note the extract doesn't quite match the category as it's by article title, while the category brakes default sort into account). I think to answer my original question whitelisting has had more of a general effect that I first estimated. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 13:26, 19 May 2023 (UTC)
- WP:PetScan. Renata•3 12:57, 19 May 2023 (UTC)
Formatted as a table.
Letter | Sep 2020 | May 2022 | Current |
---|---|---|---|
Number | 209 | 2 | 1 |
A | 1676 | 182 | 1 |
B | 1384 | 1295 | 3 |
C | 1788 | 1825 | 1 |
D | 930 | 909 | 1 |
E | 902 | 870 | 1 |
F | 735 | 752 | 1 |
G | 1139 | 1058 | 1 |
H | 1561 | 1340 | 850 |
I | 606 | 686 | 629 |
J | 1108 | 1073 | 637 |
K | 647 | 655 | 479 |
L | 1677 | 1720 | 1576 |
M | 1609 | 1735 | 1471 |
N | 726 | 771 | 688 |
O | 488 | 471 | 408 |
P | 1304 | 1297 | 1177 |
Q | 87 | 97 | 80 |
R | 982 | 980 | 845 |
S | 2127 | 2196 | 1805 |
T | 1529 | 1562 | 1351 |
U | 305 | 241 | 248 |
V | 371 | 382 | 351 |
W | 734 | 695 | 474 |
X | 52 | 6 | 6 |
Y | 149 | 34 | 45 |
Z | 136 | 33 | 14 |
-- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 12:22, 19 May 2023 (UTC)
Question about Qs
I've been working on the Q pages (taking a break from the Ts) and have got the error page count down to nine (without using whitelist because I don't know what that is). Six of these pages don't display any script-raised errors so I am wondering why, and what, if anything, I can do to fix them. Two pages (Quasicircle and Quebec Bulldogs) have ambiguities that I can't resolve, and one, Queens directories, is so poorly thought out that I don't want to deal with it. Thanks! Andy02124 (talk) 21:23, 30 May 2023 (UTC)
- All of the pages display "no target" errors if you have one of the scripts installed that shows them (see the category page for details). I have fixed four of them with whitelisting and a couple of other edits. If you don't want to deal with whitelisting, I recommend moving on to a different letter. Great work with the Qs! – Jonesey95 (talk) 01:58, 31 May 2023 (UTC)
- Thanks. I have the Trappist script installed but never saw errors for those six pages, still don't for Quatre Etudes or Quercus wislizeni. I wouldn't have caught the rather esoteric cites you fixed.
- I understand the concept of whitelisting but if there is no error displayed, I can't use it, right? I don't see the sfn whitelist template in any of the four articles you corrected. What am I missing? Andy02124 (talk) 02:49, 31 May 2023 (UTC)
- OK, I answered one of my questions - discovered there's a module for whitelisting. Andy02124 (talk) 03:05, 31 May 2023 (UTC)
- Quatre Études footnote 3 displays sfn error: no target: CITEREFAnon.n.d. for me. – Jonesey95 (talk) 13:48, 31 May 2023 (UTC)
- It's a false positive (if you click on it then it takes you to the correct cite) caused by the {{IRCAM work}} template. The template has no default author details, so the best idea would be to add {{sfn whitelist}} to suppress the error (which I've done).
- It's not worth adding to the whitelist proper, as the CITEREF could be absolutely anything. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 14:34, 31 May 2023 (UTC)
- It's a false positive (if you click on it then it takes you to the correct cite) caused by the {{IRCAM work}} template. The template has no default author details, so the best idea would be to add {{sfn whitelist}} to suppress the error (which I've done).
- I have some (badly written) notes on fixing no target errors here User:ActivelyDisinterested/No target error causes. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 15:04, 31 May 2023 (UTC)
- Thanks again. I've probably run into almost every weird sfn error. People seem to think just adding sfn will magically link up to something.
- I've never seen the message "sfn error" - both scripts I have installed spit out "harv error". Andy02124 (talk) 15:29, 31 May 2023 (UTC)
- Self-solved. I created a common.css and added the line
- .harv-error {display: inline !important;}
- Now I see the "sfn error" message and I'll stop bugging you all. Andy02124 (talk) 16:37, 31 May 2023 (UTC)
- Quatre Études footnote 3 displays sfn error: no target: CITEREFAnon.n.d. for me. – Jonesey95 (talk) 13:48, 31 May 2023 (UTC)
- OK, I answered one of my questions - discovered there's a module for whitelisting. Andy02124 (talk) 03:05, 31 May 2023 (UTC)
"H" has been cleared
Hi Renata3. It's that time again, just one addition to the whitelist needed this time:
['CITEREFKubrusly2011'] = {'Kubrusly The Elements of Operator Theory 2nd Edition 2011'},
I've also re-run PetScan, just go keep a running log. Thanks to whoever has cleared down "R"!
Letter | Sep 2020 | May 2022 | Current |
---|---|---|---|
Number | 209 | 2 | 1 |
A | 1676 | 182 | 1 |
B | 1384 | 1295 | 1 |
C | 1788 | 1825 | 2 |
D | 930 | 909 | 1 |
E | 902 | 870 | 1 |
F | 735 | 752 | 0 |
G | 1139 | 1058 | 0 |
H | 1561 | 1340 | 2 |
I | 606 | 686 | 587 |
J | 1108 | 1073 | 608 |
K | 647 | 655 | 473 |
L | 1677 | 1720 | 1569 |
M | 1609 | 1735 | 1455 |
N | 726 | 771 | 685 |
O | 488 | 471 | 406 |
P | 1304 | 1297 | 1154 |
Q | 87 | 97 | 6 |
R | 982 | 980 | 109 |
S | 2127 | 2196 | 1781 |
T | 1529 | 1562 | 1212 |
U | 305 | 241 | 246 |
V | 371 | 382 | 345 |
W | 734 | 695 | 441 |
X | 52 | 6 | 7 |
Y | 149 | 34 | 45 |
Z | 136 | 33 | 14 |
-- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 22:02, 10 July 2023 (UTC)
- Awesomeness! I added the one entry to whitelist. Keep up the good work :) Renata•3 23:10, 12 July 2023 (UTC)
Reporting false positive: {{DBI}}
{{DBI}} (full form {{Dizionario Biografico degli Italiani}}) is generating false positives. three pages have been identified: Cesare Caporali, Cesare Crispolti and Cesare Orsini. I'm fixing them with {{sfn whitelist}}, but someone may want to add DBI to the whitelist. Martin of Sheffield (talk) 13:20, 19 July 2023 (UTC)
- Templates are whitelisted by template and author. This makes {{DBI}} a bad fit for the full whitelist, as the author in the Dizionario Biografico degli Italiani rarely repeats. Adding {{sfn whitelist}} is the best solution in this case. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 13:51, 19 July 2023 (UTC)
- Fair enough. I've fixed the articles and reported the issue, I'll leave the rest in the hands of experts like yourself. Thanks. Martin of Sheffield (talk) 14:05, 19 July 2023 (UTC)
Cite Gaia EDR3
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Could someone add the following to the whitelist:
['CITEREFBrown2021'] = {'Cite Gaia EDR3'},
-- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 11:11, 12 August 2023 (UTC)
Suppressing no-target errors with ExpandTemplates
You may be interested in the discussion at Template talk:Harvard citation documentation#Suppressing no-target errors with ExpandTemplates, which, in retrospect, may have been better to host here. Mathglot (talk) 20:32, 19 August 2023 (UTC)
"I" has been cleared
The category is now less than 10k, kudos to whoever has been clearing "T".
Renata3 could you add the following to the whitelist?
['CITEREFNemiroffBonnell1998'] = {'Cite APOD'},
['CITEREFNemiroffBonnell2004'] = {'Cite APOD'},
['CITEREFNemiroffBonnell2005'] = {'Cite APOD'},
['CITEREFNemiroffBonnell2006'] = {'Cite APOD'},
['CITEREFNemiroffBonnell2007'] = {'Cite APOD'},
PetScan table, really just for my reference.
Letter | Sep 2020 | Jul 2023 | Current |
---|---|---|---|
Number | 209 | 1 | 1 |
A | 1676 | 1 | 1 |
B | 1384 | 1 | 1 |
C | 1788 | 2 | 2 |
D | 930 | 1 | 1 |
E | 902 | 1 | 1 |
F | 735 | 0 | 0 |
G | 1139 | 0 | 0 |
H | 1561 | 2 | 2 |
I | 606 | 587 | 1 |
J | 1108 | 608 | 557 |
K | 647 | 473 | 474 |
L | 1677 | 1569 | 1598 |
M | 1609 | 1455 | 1469 |
N | 726 | 685 | 689 |
O | 488 | 406 | 399 |
P | 1304 | 1154 | 1150 |
Q | 87 | 6 | 6 |
R | 982 | 109 | 57 |
S | 2127 | 1781 | 1799 |
T | 1529 | 1212 | 541 |
U | 305 | 246 | 247 |
V | 371 | 345 | 348 |
W | 734 | 441 | 438 |
X | 52 | 7 | 3 |
Y | 149 | 45 | 25 |
Z | 136 | 14 | 11 |
-- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 19:48, 21 August 2023 (UTC)
- Jonesey95 Could I ask for your help with the above? Also the family of templates "RCTS-LocosLNER-x" have just been deleted and merged into {{RCTS-LocosLNER}}, there are 17 entries in the whitelist for the old templates they all need to be shortened to just "RCTS-LocosLNER". This is adding a lots of false positives to Category:Harv and Sfn no-target errors. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 15:31, 26 August 2023 (UTC)
- The RCTS-LocosLNER issue has been fixed by Redrose64. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 11:05, 27 August 2023 (UTC)
Done and thank you! Renata•3 19:29, 27 August 2023 (UTC)
- Thanks again Renata3. For a moment I worried that I was going to have to find someone else to pester with my updates. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 20:55, 27 August 2023 (UTC)
"J" has been cleared
Well "J" has been cleared, and much faster than I expected. Thanks to anyone who's working on the backlog. The total is now less than 9k. I'll post the PetScan totals just to keep a record.
Letter | Sep 2020 | Aug 2023 | Current |
---|---|---|---|
Number | 209 | 1 | 1 |
A | 1676 | 1 | 1 |
B | 1384 | 1 | 2 |
C | 1788 | 2 | 2 |
D | 930 | 1 | 1 |
E | 902 | 1 | 1 |
F | 735 | 0 | 0 |
G | 1139 | 0 | 0 |
H | 1561 | 2 | 2 |
I | 606 | 1 | 1 |
J | 1108 | 557 | 2 |
K | 647 | 474 | 453 |
L | 1677 | 1598 | 1572 |
M | 1609 | 1469 | 1452 |
N | 726 | 689 | 674 |
O | 488 | 399 | 390 |
P | 1304 | 1150 | 1136 |
Q | 87 | 6 | 6 |
R | 982 | 57 | 55 |
S | 2127 | 1799 | 1775 |
T | 1529 | 541 | 373 |
U | 305 | 247 | 206 |
V | 371 | 348 | 346 |
W | 734 | 438 | 433 |
X | 52 | 3 | 3 |
Y | 149 | 25 | 26 |
Z | 136 | 11 | 9 |
-- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 22:24, 12 September 2023 (UTC)
Backlog progress bar added
Seeing as there is an active drive to empty the category, I have added a backlog progress bar. I was going to make the initial number of articles identical to the number when the drive started, but I don’t know how to find the exact number, so I have improvised by making it the present number of articles in the category. — Mugtheboss (talk) 13:42, 15 October 2023 (UTC)
- You may find this useful. The drive starts about May 2021. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 15:34, 15 October 2023 (UTC)
Legifrance
Could someone please add legifrance to the whitelist?
-- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 13:08, 5 September 2023 (UTC)
['CITEREFLegifrance'] = {'Cite Legifrance'},
- ActivelyDisinterested, thanks for this edit; but given that your requested edit here was apparently already added in April, I'm not sure I understand how the former edit was needed. Any insight? Do you think it's case sensitive? Because I usually code {{cite legifrance}}. Mathglot (talk) 06:56, 7 September 2023 (UTC)
- Strike that the whitelist is case sensitive, see my edit here. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 10:39, 7 September 2023 (UTC)
- Your linked edit fixes that one case, but what about all the other articles that have it in lower case, which is how I always code it? Wouldn't it be simpler to just add it to the whitelist both ways? Looking for example, at the current whitelist for
Cite Catholic Encyclopedia
including its redirects around lines 178–181, I think we need to do the same thing and include all the variant spelling/redirects of {{cite legifrance}}. Any objection, or do you see anything I'm missing? Mathglot (talk) 17:30, 7 September 2023 (UTC)- No, not there. Add redirects to the table at Module:Footnotes/whitelist line 232.
- —Trappist the monk (talk) 18:00, 7 September 2023 (UTC)
- Trappist, adding to L. 232 would've required adding a template_names call in the local_whitelist, and since there was only one redirect, I added it there directly (diff) at line 1090, like other whitelisted templates do that have few redirects. AD, this change only deals with the accented-é version of the legifrance template, which wasn't what your OP was about, and I'm not entirely sure if your original issue still remains or not. If so, can you elaborate, and/or point to a failing case? Thanks, Mathglot (talk) 16:53, 15 October 2023 (UTC)
- Your linked edit fixes that one case, but what about all the other articles that have it in lower case, which is how I always code it? Wouldn't it be simpler to just add it to the whitelist both ways? Looking for example, at the current whitelist for
- Strike that the whitelist is case sensitive, see my edit here. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 10:39, 7 September 2023 (UTC)
"K" has been cleared
Hi Renata3 could you add the following to the whitelist?
['CITEREFDaniel2001'] = template_names['Iranica'],
PetScan record, thanks again to everyone who has been helping.
Letter | Sep 2020 | Sep 2023 | Current |
---|---|---|---|
Number | 209 | 1 | 1 |
A | 1676 | 1 | 0 |
B | 1384 | 2 | 2 |
C | 1788 | 2 | 2 |
D | 930 | 1 | 1 |
E | 902 | 1 | 1 |
F | 735 | 0 | 0 |
G | 1139 | 0 | 0 |
H | 1561 | 2 | 1 |
I | 606 | 1 | 1 |
J | 1108 | 2 | 2 |
K | 647 | 453 | 0 |
L | 1677 | 1572 | 1522 |
M | 1609 | 1452 | 1424 |
N | 726 | 674 | 669 |
O | 488 | 390 | 391 |
P | 1304 | 1136 | 1136 |
Q | 87 | 6 | 5 |
R | 982 | 55 | 60 |
S | 2127 | 1775 | 1405 |
T | 1529 | 373 | 385 |
U | 305 | 206 | 201 |
V | 371 | 346 | 345 |
W | 734 | 433 | 421 |
X | 52 | 3 | 3 |
Y | 149 | 26 | 30 |
Z | 136 | 9 | 7 |
-- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 19:38, 13 October 2023 (UTC)
Done I have also sorted the list (using the script) but it says that the byte count decreased... so something must have been deleted (a duplicate?). If I broke something, let me know. Thank you! Renata•3 19:54, 13 October 2023 (UTC)
- Thanks Renata3. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 20:24, 13 October 2023 (UTC)
- The sorter doesn't properly handle CITEREFs where the first character after
CITEREF
is anything but a digit [0-9] or ASCII letter [A-Za-z]. I've restored those CITEREFs that were dropped at the last sort to the unsorted section and will think about how best to handle non-ASCII sorting. - —Trappist the monk (talk) 22:09, 13 October 2023 (UTC)
- Fixed by adding a test to find and group CITEREFs that don't begin with digit [0-9] or ASCII letter [A-Za-z]. These are now grouped in OTHER (just above UNSORTED). Also added a crude test to ensure that the key contains a minimally correct key (this, for example). The sorter will abandon sorting with an error message when
CITEREF
not found in an entry. - —Trappist the monk (talk) 15:38, 14 October 2023 (UTC)
- Thank you, Trappist the monk. Renata•3 04:18, 16 October 2023 (UTC)
- Fixed by adding a test to find and group CITEREFs that don't begin with digit [0-9] or ASCII letter [A-Za-z]. These are now grouped in OTHER (just above UNSORTED). Also added a crude test to ensure that the key contains a minimally correct key (this, for example). The sorter will abandon sorting with an error message when
Possessive parameter
I made a proposal for changes to this module at Template talk:Harvard citation text § Possessive parameter. Daask (talk) 15:50, 10 November 2023 (UTC)
Whitelist questions
As I slog through the footnote error list, I occasionally add a whitelist. Is there any protocol to follow? Should I notify anyone who maintains the master list?
I'm currently working on "List of..." pages (I've corrected hundreds but it seems endless). There is a set of pages that include a header section with a footnote. Is this an appropriate solution for the "child" pages? List of Empire ships (Co–Cy)
{{#section-h:Lists of Empire ships}} <!-- the section contains a reference that needs to be whitelisted --> {{sfn whitelist|CITEREFMitchellSawyer1990}}
Also, there is set of pages that include a lengthy bibliography via a template, which, of course, raises false positive errors. Is the best solution to edit the template, adding a long list of CITEREFs? (List of World War I aces credited...)
Thanks. Andy02124 (talk) 17:27, 10 November 2023 (UTC)
- After working from A to L I had not been looking forward to "List of" as they were going to be a complete mess as is common for list articles, so knowing someone else is working on them is nice.
I don't think transcluding the header to each child page is a great idea, but that's just my opinion there's no rules around how it should be done. The only option is to use {{Sfn whitelist}} as you have been doing.
I'm pretty sure there is a guideline against having article content inside templates, but I can't remember where I saw that. I copy bibliographies in a template back into the article and remove the template. Looking at how {{List of World War I flying aces/Page bottom}} is used it also makes category maintenance harder. I would copy everything (including {{Lists of flying aces}} at the bottom) back into the article. Wikipedia won't be running out of disk space to store plain text anytime soon. -- LCU ActivelyDisinterested ∆transmissions∆ °co-ords° 20:38, 10 November 2023 (UTC)- I believe you have another option, in some cases. That is to use {{Excerpt}} instead of section transclusion, using params to suppress transcluding references, and then manually append the refs you want to keep immediately after the excerpt. This will not require whitelisting, and is documented at Template:Excerpt#Differing citation styles. There are numerous examples of this is at Ships of ancient Rome such as in sections § Battle of Actium and § Mainz. Mathglot (talk) 03:35, 12 November 2023 (UTC)
- I checked, and {{excerpt}} doesn't drop embedded {{sfn}}s, not sure why. I had a look at List of Empire ships (Co–Cy), and I think if Excerpt were adjusted to handle {{sfn}}, that would obviate the need for any whitelist for similar situations. I'll ask over there, and report back if I learn anything. Mathglot (talk) 03:57, 12 November 2023 (UTC)
- Thanks for the replies. Yes, lists can be painful to deal with. All that sloppy cutting-and-pasting.
- I see some else has corrected the two sets of pages I mentioned, so I'll move along. Andy02124 (talk) 16:16, 12 November 2023 (UTC)
Andy02124, have a look at the top of List of Empire ships (Co–Cy), which now transcludes the lede of List of Empire ships without the need for the added whitelist. This uses {{Excerpt}}, and strips the {{sfn}} template from the middle of the excerpt, and then I tacked it on manually after the excerpt, meaning no whitelist is necessary anymore (diff). The method uses a workaround, because the right way to do it, would be via |references=no
, but that isn't working yet at Module:Excerpt according to this discussion. For the time being, use |templates=no
to exclude embedded sfn's from your Excerpts. After the module is fixed, they can be changed to |references=no
, which is better, because currently if Empire ships used other templates in the lead (like {{ill}}, or {{convert}}, or whatever), they would have been stripped out too (but it doesn't, so no worries). If you wish to, you can use this solution at all the "List of Empire ships (Xx–Yy)" subpages. Cheers, Mathglot (talk) 19:10, 14 November 2023 (UTC)
- List of Empire ships (Co–Cy) never needed {{sfn whitelist}} as the Mitchell Sawyer cite appears in article. The excerpt doesn't need any additions, as seen in this version there's no no-target error. -- LCU ActivelyDisinterested «@» °∆t° 20:29, 14 November 2023 (UTC)
- Actually, "never needed" is not true: it needed it in this version, in spades. Andy fixed it by adding the whitelist, and then DuncanHill refixed it by adding the citation, which is the other method of resolving that error. So, Andy's original question was relevant. Mathglot (talk) 20:45, 14 November 2023 (UTC)
- The edit that started down this path was very wrong. The correct solution was correcting the cite not removing it, thanksfully DuncanHill caught that. The solution is always copying in the cite, {{sfn whitelist}} is only for false positives which was not the case for this article. -- LCU ActivelyDisinterested «@» °∆t° 22:26, 14 November 2023 (UTC)
- Precisely. Mathglot (talk) 22:51, 14 November 2023 (UTC)
- Thanks to all for the clarification. That's why I asked the question. The page was on the error list and I fixed it but thought there must be a better way. DuncanHill replaced the citation in the parent page with a sfn and added the full citation to the children. Andy02124 (talk) 19:59, 15 November 2023 (UTC)
- This is one of the reason I dislike transclusion, you can look at the history of an article and be misled because the transclusion in the history is the current status of the article being transcluded. My earlier comment was in error, please ignore it. -- LCU ActivelyDisinterested «@» °∆t° 20:53, 15 November 2023 (UTC)
- The edit that started down this path was very wrong. The correct solution was correcting the cite not removing it, thanksfully DuncanHill caught that. The solution is always copying in the cite, {{sfn whitelist}} is only for false positives which was not the case for this article. -- LCU ActivelyDisinterested «@» °∆t° 22:26, 14 November 2023 (UTC)
- Actually, "never needed" is not true: it needed it in this version, in spades. Andy fixed it by adding the whitelist, and then DuncanHill refixed it by adding the citation, which is the other method of resolving that error. So, Andy's original question was relevant. Mathglot (talk) 20:45, 14 November 2023 (UTC)
"L" has been cleared
No nee records require whitelisting. Thanks to anyone who has also been fixing no target errors, especially Andy02124 who helped clear a lot of "List of" articles (which I was kind of dreading). Less than a quarter of the category is still outstanding.
Petscan record.
Letter | Sep 2020 | Oct 2023 | Current |
---|---|---|---|
Number | 209 | 1 | 1 |
A | 1676 | 0 | 0 |
B | 1384 | 2 | 2 |
C | 1788 | 2 | 3 |
D | 930 | 1 | 1 |
E | 902 | 1 | 1 |
F | 735 | 0 | 0 |
G | 1139 | 0 | 0 |
H | 1561 | 1 | 1 |
I | 606 | 1 | 1 |
J | 1108 | 2 | 2 |
K | 647 | 0 | 1 |
L | 1677 | 1522 | 2 |
M | 1609 | 1424 | 1359 |
N | 726 | 669 | 652 |
O | 488 | 391 | 339 |
P | 1304 | 1136 | 1103 |
Q | 87 | 5 | 7 |
R | 982 | 60 | 38 |
S | 2127 | 1405 | 1378 |
T | 1529 | 385 | 407 |
U | 305 | 201 | 200 |
V | 371 | 345 | 348 |
W | 734 | 421 | 418 |
X | 52 | 3 | 3 |
Y | 149 | 30 | 18 |
Z | 136 | 7 | 9 |
-- LCU ActivelyDisinterested «@» °∆t° 20:41, 28 November 2023 (UTC)
- Congrats and thanks for the shout-out! I've learned a lot by looking at your remediations - mainly that I shouldn't hesitate to replace orphaned footnotes with CN tags (I sometimes think I have to "solve" everything).
- Back to the Rs, which I've been working on for awhile. Andy02124 (talk) 18:59, 29 November 2023 (UTC)
- Yep sometimes no amount of searching, checking or other work will solve the issue. Marking it with CN tags flags the issue to editors with subject knowledge who should be able to find sourcing, or if they can't it flags that the content has issues. -- LCU ActivelyDisinterested «@» °∆t° 19:30, 29 November 2023 (UTC)
Tools for resolving no-target errors
I made a tool (really two interrelated tools) that may be of interest to those who clear Harv and sfn no-target errors, available at https://citation-toolkit.toolforge.org. The first is track-no-target, which provides a view of Category:Harv and Sfn no-target errors, but with false positives filtered out and sorted by the number of issues. The second, and more interesting, is lookup-citeref, which allows you to plug in a short reference and get a list of articles that include it (at least as of the last refresh). They're interlinked, so you can easily see whether a short-cite that's missing from one article might be defined in another. Vahurzpu (talk) 04:07, 7 January 2024 (UTC)
- Excellent! I've just sorted out a randomly picked error and found the source in seconds. See History of trade and industry in Birmingham which had a reference to Pelham (1950) as a result of copying from History of Birmingham. Tip: watch out for page numbers hidden in the citation! Martin of Sheffield (talk) 10:27, 7 January 2024 (UTC)
- The majority of no target errors are caused by editors copy short references, but not the required citations. I've always searched by the "name year" format of the short ref, but this will make it a lot easier. Awesome work. -- LCU ActivelyDisinterested «@» °∆t° 14:57, 7 January 2024 (UTC)
Whitelist request
Could this new edition in the Tolkien canon be added?
['CITEREFCarpenter2023'] = template_names['ME-ref'],
Thanks. (Is this the place to ask or should I just do it myself?) Andy02124 (talk) 22:46, 8 February 2024 (UTC)
- btw, this has added dozens of pages to the harv no-target error list. Andy02124 (talk) 00:28, 9 February 2024 (UTC)
- This is the place to ask, you can't add entries unless you have the template editor right (something neither you nor I have). Renata3 any chance you could add this entry? -- LCU ActivelyDisinterested «@» °∆t° 00:47, 9 February 2024 (UTC)
- Sure, done. Renata•3 02:10, 9 February 2024 (UTC)
- Thanks Renata3. -- LCU ActivelyDisinterested «@» °∆t° 14:49, 9 February 2024 (UTC)
- Thanks. I did notice that I can't edit that template, although I have edited others. Andy02124 (talk) 16:26, 9 February 2024 (UTC)
- Sure, done. Renata•3 02:10, 9 February 2024 (UTC)
Another Tolkien to whitelist
Hi Renata3, could you add this for {{ME-ref|SK}}?
['CITEREFTolkien2015'] = template_names['ME-ref']
Thanks, Andy02124 (talk) 20:27, 11 March 2024 (UTC)
- Added. Renata•3 06:04, 12 March 2024 (UTC)
- Thank you. Andy02124 (talk) 02:03, 13 March 2024 (UTC)
I can't keep up with these Tolkien people
Hi Renata3, here's another one, for an edition of Tom Bombadil.
['CITEREFTolkien2014'] = template_names['ME-ref']
Thanks. Andy02124 (talk) 15:59, 15 March 2024 (UTC)
- I've trawled through how {{ME-ref}} works to see if there are any others. The following should also be added;
- ['CITEREFTolkien2015'] = template_names['ME-ref']
- ['CITEREFTolkien2018'] = template_names['ME-ref']
- ['CITEREFShippey2001'] = template_names['ME-ref']
- That should ensure no more come up in future (unless they modify the templates or create new ones). -- LCU ActivelyDisinterested «@» °∆t° 20:07, 15 March 2024 (UTC)
- Done, added all four. Renata•3 01:30, 16 March 2024 (UTC)
- Thanks to you both. And also, thanks, ActivelyDisinterested, for doing the same a while back with the Antarctic antarids. Andy02124 (talk) 21:23, 16 March 2024 (UTC)
{{SfnRef}}
I found the discussion Help_talk:Citation_Style_1/Archive_92#Best_practices_for_a_full_citation_with_no_author,_when_linked_by_shortened_footnotes (which is discussed by @Rjjiii, @Redrose64, @Mathglot and others) and realized I have no clue on the history of {{SfnRef}}/{{harvid}}, and would appreciate your pointing me to a right direction on two questions.
The automatically generated anchor in the case of having no surname entry in |author= , |editor= , |translator= , |last= , etc. in the journal citation template defaults to CITEREFpublicationnameYEAR, so a valid reason for adding '|ref={{SfnRef}}' might be, to enable using a shorter anchor name in place of full publication name (which is very convenient as the name often is long and may be in, or include, foreign characters). However, "why Template:SfnRef says '{{SfnRef|Surname of author|Year}}' instead of '{{SfnRef|Anchor name|Year}}' ?"
(Citation templates automatically generate the anchorID CITEREFsurnameYEAR if surname is available, without having a |ref= or {{SfnRef}} entry. Isn't the use of SfnRef thus meant for when |author= , |editor= , etc. is not available because there is no credited author/editor/translator, i.e, when surname is not available by definition?)
My second question is: "Since surname or publication name is automatically used in anchor generation without adding '|ref= ', wouldn't it be better to abolish {{SfnRef}} and make '|ref= ' do what '|ref={{SfnRef}}' does now?"
In other words, isn't '|ref=anchorname(YEAR)' (which does not work now) much better than '|ref={{SfnRef|anchorname|YEAR}}' because it is shorter with one less template to do the same thing? (Or creating '|anchor= ' to accept anchorname(YEAR) and deprecating '|ref= ' and '{{SfnRef}}' easier to implement?)
Answer/guidance will be appreciated. Yiba (talk | contribs) 12:32, 30 March 2024 (UTC)
- Your notion that
{{cite journal}}
createsCITEREFpublicationnameYEAR
when the template does not have author/contributor/editor name(s) is unfounded. See this example:{{cite journal |title=Title |journal=Journal |date=2024}}
- which renders this output:
'"`UNIQ--templatestyles-00000040-QINU`"'<cite class="citation journal cs1">"Title". ''Journal''. 2024.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Journal&rft.atitle=Title&rft.date=2024&rfr_id=info%3Asid%2Fen.wikipedia.org%3AModule+talk%3AFootnotes%2FArchive+2" class="Z3988"></span>
- Were what you say true, you would see an
id=
attribute in opening<cite>
tag:<cite id="CITEREFJournal2024" ...>
- Editors can (and do) put anything they want in
|ref=
. There is no requirement to use|ref=
.{{sfnref}}
- —Trappist the monk (talk) 12:59, 30 March 2024 (UTC)
- Thank you. I checked the example I had again and it was a case of somebody wrongly using '|author=publicationname', sorry about my mistake. My questions still stand though:
- 1. Why Template:SfnRef says '{{SfnRef|Surname of author|Year}}' instead of '{{SfnRef|Anchor name|Year}}' ?
- 2. Why not create '|anchor= ' to accept anchorname(YEAR) and deprecate '|ref= ' and '{{SfnRef}}' ?
- Editors putting anything they want in |ref= and there is no requirement to use |ref= do not answer the questions, and it might even strengthen my point on the second question, as anything other than CITEREFsomethingYEAR or {{SfnRef}} after |ref= has no meaning and is garbage as far as I can tell. Yiba (talk | contribs) 14:47, 30 March 2024 (UTC)
{{sfn}}
and the various{{harv}}
templates are Parenthetical references (often called author-date references or Harvard references) so those templates emphasize that aspect.{{SfnRef}}
, in keeping with its name and association with{{sfn}}
and the{{harv}}
templates, does the same.- A commonly used convention is to create wikilinks like this:
- #some ref value ←
[[#some ref value]]
– wikilinks may or may not be piped; not piped here for clarity
- #some ref value ←
- and then use the wikilink to link to a particular citation:
- "Title". Journal. 2024. ←
{{cite journal |title=Title |journal=Journal |date=2024 |ref=some ref value}}
- "Title". Journal. 2024. ←
- It is also the case that some editors create named references where
|ref=
has the same name:<ref name="some name">{{cite ... |ref=some name}}</ref>
- these types of references are mostly pointless but relatively rare.
- —Trappist the monk (talk) 15:15, 30 March 2024 (UTC)
- Thank you for the explanation. I now understand how |ref= may be used other than CITEREFanchornameYEAR or {{SfnRef}} for mostly pointless and rare reasons, and that SfnRef name was so chosen for customary emphasis on the association with sfn. That still do not answer the questions:
- 1. Why Template:SfnRef says '{{SfnRef|Surname of author|Year}}' instead of 'CITEREFAnchor_nameYear' ?
- 2. Why not create '|SfnAnchor= ' to accept anchorname(YEAR) and deprecate '|ref= ' and 'CITEREF' ?
- (Re-worded for ease of understanding. The name does not matter to me.) Yiba (talk | contribs) 16:30, 30 March 2024 (UTC)
|ref=
is used for more than just links to sfn templates, so it cannot be deprecated in the way you suggest.
The documentation for sfnref also mentions|ref=harv
a practice several years out of date, anyone can update the documents (it is only the template itself that is locked). -- LCU ActivelyDisinterested «@» °∆t° 17:04, 30 March 2024 (UTC)- Sorry, paste mistake. 1. should read:
- 1. Why Template:SfnRef says '{{SfnRef|Surname of author|Year}}' instead of '{{SfnRef|Anchor name|Year}}' ?
- Yiba (talk | contribs) 17:18, 30 March 2024 (UTC)
- I answered that already.
{{sfn}}
is a Parenthetical reference (author-date) template. Because author-date is its most common use case, the documentation for{{sfn}}
, the{{harv}}
templates, and{{sfnref}}
reflect the author-date heritage. - —Trappist the monk (talk) 18:06, 30 March 2024 (UTC)
- I answered that already.
- Sorry, paste mistake. 1. should read:
- Thank you for the explanation. I now understand how |ref= may be used other than CITEREFanchornameYEAR or {{SfnRef}} for mostly pointless and rare reasons, and that SfnRef name was so chosen for customary emphasis on the association with sfn. That still do not answer the questions:
- Using
|author=pubname
is not necessarily wrong. {{cite web |author=Fun Facts |website=FunFacts.com |title=Man bites dog}}
allowsThis is whack!{{sfn|Fun Facts}}
to point to the citation.- To answer your questions:
- 1. Template documentation does not, admittedly, cover every use case. But then the documentation, not the code, should be updated.
- 2. Adding a new parameter or deprecating old ones is a task that should not be undertaken unless you can demonstrate that it results in a major improvement. Adding anchor as a sort of synonym for ref is not that.
- As for putting "anything" in the ref parameter - that's a bit of hyperbole. "Anything" that results in a valid CITEREF would be more accurate. A title is the most common replacement for author.
{{sfn|Military Balance 2016}} points to {{cite book |title=The Military Balance 2016 |date=February 2016 |volume=116 |isbn=978-1-85743-835-2 |publisher=Routledge |ref={{sfnref|Military Balance 2016}} |author=International Institute for Strategic Studies}}
- Also, be careful when translating pages from foreign language wikis for the English wiki; they use ref= differently. Andy02124 (talk) 15:52, 30 March 2024 (UTC)
- Thank you, thank you, thank you. Now I feel someone is on the same page.
- 1. OK, I will try editing the documentations unless someone else comes up with other reasons not to, within a reasonable time.
- 2. I understand, and somewhat reluctantly agree.
- Because of how Template:SfnRef is written, especially how it appears as if SfnRef requires surname when there is no credited author/editor, etc., I thought there may be some unknown reason why SfnRef came into existence.
- Just to make sure before I start editing, am I correct in understanding that:
- a. SfnRef does not require a surname when there is no credited author/editor etc.
- b. Citing templates (cite book, journal, web etc.) do not require surname when there is no credited author/editor etc.
- There are many doc and description pages (and examples) that mislead the readers on the above b. in my opinion (as if they were written before |ref= came into being). Yiba (talk | contribs) 17:05, 30 March 2024 (UTC)
- Writing and updating documentation is rarely a task editors want to take on and editors can't be forced to edit, so documentation is always a bit lacking. This isn't an issue limited to Wikipedia but common across most projects. -- LCU ActivelyDisinterested «@» °∆t° 17:08, 30 March 2024 (UTC)
- Indeed, Indeed. Yiba (talk | contribs) 17:26, 30 March 2024 (UTC)
- a. SfnRef does not require author/contributor/editor names. Any text is allowed but author/contributor/editor names are preferred.
- b. As above, cs1|2 templates do not require author/contributor/editor names. If none are credited, do not misuse the
|author=
/|contributor=
/|editor=
parameters just to avoid the need to use a custom value in|ref=
. |ref=
has been a cs1|2 parameter since c. 2005.- —Trappist the monk (talk) 18:06, 30 March 2024 (UTC)
- Writing and updating documentation is rarely a task editors want to take on and editors can't be forced to edit, so documentation is always a bit lacking. This isn't an issue limited to Wikipedia but common across most projects. -- LCU ActivelyDisinterested «@» °∆t° 17:08, 30 March 2024 (UTC)
Using
|author=pubname
is not necessarily wrong.- But is generally not correct. Do not abuse cs1|2 parameters. If the publisher is not the author, do not say that the publisher is the author just to avoid the need to use a custom value in
|ref=
. - —Trappist the monk (talk) 18:06, 30 March 2024 (UTC)
- Thank you. I checked the example I had again and it was a case of somebody wrongly using '|author=publicationname', sorry about my mistake. My questions still stand though:
- Why are we having this discussion here and not at Template talk:SfnRef?
- —Trappist the monk (talk) 18:08, 30 March 2024 (UTC)
Yiba, the documentation for {{sfnref}} may not make clear why you'd need the template. Help:Shortened footnotes#Linking includes this list of situations:
The anchor can be created manually with {{sfnref}} or {{harvid}} in situations where the automatic anchors would create issues including:
- Multiple authors with the same last name
- No known last name for the author
- Unusual characters in the author field
- Multiple works in the same year by the same author
- Year of publication unknown
If it appears as if SfnRef requires surname when there is no credited author/editor
, this is a shortcoming in the template documentation. It will take an author, organization, title, and more. For example, this citation has an organization and effective date, neither of which would make sense for |author=
or |date=
:
Markup | Renders as |
---|---|
|
Leroy Chollet was inducted into the Canisius Hall of Fame in 1964.[1]
"Leroy Chollet". Hall of Fame. Canisius College Athletics. Retrieved March 30, 2023. |
Also, thanks to Mathglot for the ping. Also, also, Trappist the monk if you want to move the discussion and leave a link here, that seems fine. Rjjiii (talk) 20:11, 30 March 2024 (UTC)
- @Rjjiii, thanks a lot for the excellent info and the clear, simple and easy to understand example. I really appreciate the time you took in coming up with this.
- Now, someone said in Help_talk:Citation_Style_1/Archive_92/Best_practices_for_a_full_citation_with_no_author,_when_linked_by_shortened_footnotes that "Anything used in the CITEREF should either appear verbatim in the full citation or be listed in a "(Cited as Short Name)" parenthetical immediately following the full citation." and I am scratching my head. Having |ref={{Sfnref|Canisius|1964}} in the full citation is, or is not enough and something like:
- "Leroy Chollet". Hall of Fame. Canisius College Athletics. Retrieved March 30, 2023 (Cited as Canisius 1964).
{{cite web}}
: CS1 maint: postscript (link) - is needed or recommended in your view? I see his point that sometimes a word that does not appear anywhere else in the full citation like "PanthersNews" is felt by the editor to be more appropriate as the sfnref anchor name in place of "Canisius", in which cases looking up where the full citation is referenced in the article becomes difficult without the (Cited as ). Yiba (talk | contribs) 03:40, 31 March 2024 (UTC)
- Not sure why that long link red-linked, but I think you meant this Help talk page. Mathglot (talk) 03:54, 31 March 2024 (UTC)
- When dealing with short citations of works without author, I normally use
|author=Anon.
; simple. -- Michael Bednarek (talk) 04:35, 31 March 2024 (UTC)
- When dealing with short citations of works without author, I normally use
- That would be fine. As a result of the conversation you linked, I ended up doing this: Leroy Chollet#References. APA says the short citation should look something like "Canisius College Athletics, n.d." and Harvard says something like "Canisius College Athletics, no date" either of which will work with {{sfnref}}. You could also use the title instead of the organization, which may be more natural with the
{{cite xxx}}
templates. Documentation should reflect best practices, but we don't have a standard citation method across the encyclopedia (WP:CITEVAR). Rjjiii (talk) 04:39, 31 March 2024 (UTC)- I see! Your solution on that page:
- * Canisius (1964). {{cite web |ref={{Sfnref|Canisius|1964}} |blahbleh... }}
- is far cleaner than my (very ugly on the code level) example above. I like it. Thank you very much. Yiba (talk | contribs) 06:24, 31 March 2024 (UTC)
- I see! Your solution on that page:
- Not sure why that long link red-linked, but I think you meant this Help talk page. Mathglot (talk) 03:54, 31 March 2024 (UTC)
Yiba, your questions are worthy, and I appreciate you raising and discussing the finer points and adding the follow-ups to help come to a resolution. It sounds like you may have gotten the responses you needed (even if not always the hoped-for one, perhaps) so it seems like this has been very productive. It sounds like you are willing to update some of the doc based on what you have learned here, and I think that's a great idea and would help many others going forward. Besides a certain level of unwillingness on the part of some editors to work on doc as mentioned previously, sometimes even when there is a will to do so, it can be hard for editors who are too familiar with a topic to see where the pain points are for a newer editor or one encountering a doc page about some template or other item for the first time. So I value the feedback and questions of newer editors and encourage them to try their hand at updating a doc page they find confusing, incomplete, or inadequate in other ways, as they may perceive where the problems are better than more senior editors can, and I encourage you to do so.
Sidebar: as it happens, I'm one of the editors who actually likes making doc pages better, especially when I find them confusing to me personally; I just don't always have time for it. The doc for Template:Archives is the most recent example of that, and I'd very much appreciate hearing your feedback about the documentation there. (For comparison, the earlier version I found confusing is this one.) If interested, please use Template talk:Archives for feedback, not this page.
Am I correct that you feel that your questions are basically resolved? I hope to see you active in improving Wikipedia's documentation at {{SfnRef/doc}}, or any page you think needs it. If you want more eyeballs or feedback, you can leave a request at any template's Talk page; and if you have some ideas about improvement but are unsure and prefer to make a doc update proposal, you can use template {{Help me}} from a template Talk page to propose doc changes or ask for feedback on your previous changes and someone else will come by and respond. If you don't get enough feedback you can also make a feedback request at Wikipedia talk:WikiProject Templates. There is such a request now at the bottom of the page, and you could copy that one or use similar wording to draw attention to any doc page updates you are doing, or wish to do. Hope this helps, Mathglot (talk) 21:15, 30 March 2024 (UTC)
- @Mathglot, thanks a lot for your support in this process. Looking forward to working with you and others. Yiba (talk | contribs) 06:49, 31 March 2024 (UTC)
- To address something from way back up in that thread:
Using
|author=pubname
is not necessarily wrong.{{cite web|author=Fun Facts|website=FunFacts.com|title=Man bites dog}}
allows .... - But that is wrong. "Fun Facts" is not an author, but the publication name, which should be rendered
|website=Fun Facts
, unless the site literally uses FunFacts.com as its title not just its domain name (in which case "Fun Facts" is not anything, just something an editor made up for no reason). Abusing|author=
like that produces polluted metadata. The thing to do when a web article has no attributed author, and you need{{sfnp}}
or whatever to work with it, is:{{cite web|author=<--Staff writer(s); no by-line.-->|title=Man bites dog|website=FunFacts.com|url=...|ref={{sfnref|FunFacts.com|2024}}}}
. (The point of the HTML comment is so other editors understand that a known author was not accidentally omitted, and thus don't waste time by going and looking for one.) — SMcCandlish ☏ ¢ 😼 22:05, 13 May 2024 (UTC)
AFM
Need to whitelist {{Cite AFM}}
. It's generating false-positive Category:Harv and Sfn no-target errors, I guess because it is a {{Cite book}}
wrapper. — SMcCandlish ☏ ¢ 😼 23:32, 13 May 2024 (UTC)
Railway reference book templates
Hi, Could the following be added, I'm editing a series of articles using these templates and have been using local whitelists, ['CITEREFMarshall1969'] = {'Lancashire & Yorkshire Railway 1'}, ['CITEREFMarshall1970'] = {'Lancashire & Yorkshire Railway 2'}, thanks Nempnet (talk) 07:42, 15 May 2024 (UTC)
loc, at
Would be nice for conversion ease and memorability if |loc=
had an alias of |at=
to match all the CS1/CS2 templates, and the /doc pages were updated to use the latter instead of the confusingly different former (or at least list both). I'm willing to take care of the latter part if someone with more Lua skillz does the first. — SMcCandlish ☏ ¢ 😼 21:44, 12 January 2024 (UTC)
- Knock knock, anyone home? — SMcCandlish ☏ ¢ 😼 01:01, 5 February 2024 (UTC)
- Yes, please! Gawaon (talk) 16:01, 5 February 2024 (UTC)
- @SMcCandlish and Gawaon: Template:Sfn/testcases Rjjiii (talk) 04:41, 31 March 2024 (UTC)
- Thank you! But hmm, while the new test case uses "at" in the header, it still uses "loc" in the actual example. Is that a mistake or are I misunderstanding something? Gawaon (talk) 07:09, 31 March 2024 (UTC)
- Whatever the issue was, it seems resolved now. I see a test case for
|loc=
and one just below it for|at=
, with the live template not showing that new parameter working (since it's not implemented yet), but the sandbox version showing it working as-expected. — SMcCandlish ☏ ¢ 😼 02:18, 1 April 2024 (UTC)- Any news on when this will actually appear in the wild? So far it's not working outside the sandbox prototype, it seems. Gawaon (talk) 10:42, 3 May 2024 (UTC)
- There are a bunch of separate templates. Let me drop a notification at each to give folks a chance to comment if there are any issues. Rjjiii (talk) 02:36, 4 May 2024 (UTC)
- I've been waiting 6 years for this. (See prior discussion at Template talk:Sfn/Archive 3#at parameter.) Thank you! Daask (talk) 10:01, 14 May 2024 (UTC)
- @SMcCandlish: this should now work on the various templates. For {{sfnm}} and {{sfnmp}},
|xat=
works the same as|xloc=
. For the technically unrelated {{harvs}}, I added "at" as an alias for "loc", but didn't add anything for its rarely used "loc2" and so on parameters. Rjjiii (talk) 01:55, 18 May 2024 (UTC)- Huzzah! Thanks for getting that taken care of. — SMcCandlish ☏ ¢ 😼 03:23, 18 May 2024 (UTC)
- There are a bunch of separate templates. Let me drop a notification at each to give folks a chance to comment if there are any issues. Rjjiii (talk) 02:36, 4 May 2024 (UTC)
- Any news on when this will actually appear in the wild? So far it's not working outside the sandbox prototype, it seems. Gawaon (talk) 10:42, 3 May 2024 (UTC)
- Whatever the issue was, it seems resolved now. I see a test case for
- Thank you! But hmm, while the new test case uses "at" in the header, it still uses "loc" in the actual example. Is that a mistake or are I misunderstanding something? Gawaon (talk) 07:09, 31 March 2024 (UTC)
- @SMcCandlish and Gawaon: Template:Sfn/testcases Rjjiii (talk) 04:41, 31 March 2024 (UTC)