User talk:Citation bot
You may want to increment {{Archive basics}} to |counter= 39
as User talk:Citation bot/Archive 38 is larger than the recommended 150Kb.
|
||||
This page has archives. Sections older than 90000 days may be automatically archived by ClueBot III when more than 4 sections are present. |
Note that the bot's maintainer and assistants (Thing 1 and Thing 2), can go weeks without logging in to Wikipedia. The code is open source and interested parties are invited to assist with the operation and extension of the bot.
Before reporting a bug, please note: Addition of DUPLICATE_xxx=
to citation templates by this bot is a feature. When there are two identical parameters in a citation template, the bot renames one to DUPLICATE_xxx=
. The bot is pointing out the problem with the template. The solution is to choose one of the two parameters and remove the other one, or to convert it to an appropriate parameter. A 503 error means that the bot is overloaded and you should try again later – wait at least 15 minutes and then complain here.
Please click here to report an error.
Or, for a faster response from the maintainers, submit a pull request with appropriate code fix on GitHub, if you can write the needed code.
Feature requests
- Implement support to expand from https://doi.org/10.1093/ww/9780199540884.013.U192476 to
{{Who's Who}}
Example: https://en.wikipedia.org/w/index.php?title=Friern_Hospital&diff=prev&oldid=1167644213 - Implement support to convert cite web to {{BioRef}} and {{GBIF}}
- Use https://www.crossref.org/blog/news-crossref-and-retraction-watch/
- https://www.ncbi.nlm.nih.gov/books/NBK25497/ set NLM_APIKEY and NLM_EMAIL
- journal/publisher that only differ by 'and' and '&' should be treated as identical https://en.wikipedia.org/w/index.php?title=Congenital_cartilaginous_rest_of_the_neck&diff=prev&oldid=1199200383
- Free archive.org links such as curl -sH "Accept: application/json" "https://scholar.archive.org/search?q=doi:10.1080/14786449908621245" | jq -r .results[0].fulltext.access_url
Changing every citation of a publisher's webpage to Cite book
I have remained silent on this issue even though it has irritated me for a while now. And now that there is discussion above about the widespread useless cosmetic edits this bot continues to waste everyone's time with, I'll raise it: Why must every citation of a publisher's webpage be changed to to Cite book? I can only speak for myself, but every time I cite such book webpages I am not citing the book itself. I am specifically referencing the information published on the webpage. So of course I do not want the citation to be changed to Cite book with a bunch of parameters of the book itself (ISBN, date, etc) added. So I inevitably stop the bot or replace the reference with a third-party source. I realise the defense will be "It doesn't hurt" or that some users are actually citing the book. And I realise this is not the most pressing issue, but why must the bot come to its own conclusion of the editor's intent? I see another user complained of this issue last year. Οἶδα (talk) 22:25, 27 September 2023 (UTC)
- This may be the kind of situation where it's safest to explicitly tell citation bot not to muck with the citation. It's hard to automatically judge whether the human editor actually wanted "cite web" or "cite book". (There are many examples of people using "cite web" to cite resources that should actually be books, journal articles, etc.) –jacobolus (t) 01:38, 28 September 2023 (UTC)
- I understand. But it still feels like an another unnecessary task for this bot to insert itself into every article it can possibly find. For example, this edit is completely useless and actually corrupts my intention of the citation. Call me crazy but I don't want or need a bot telling me what I am citing (and actively altering my citations accordingly). Οἶδα (talk) 21:32, 13 October 2023 (UTC)
- When I've quoted publisher blurbs in the past, I usually set
|type=publisher's blurb
for clarity. In the specific case you've linked just above, another option would be not to cite the publisher's landing page at all, and add the book to a "Selected works" subsection or something. Indeed, the altered citation is sequential to another one, and so seems a bit superfluous. Or, alternatively, use "Citation bot bypass" somewhere in your citation as suggested by jacobolus above.Given the overall lazy referencing culture of less experienced editors, it's likely that in the majority of cases, people who drop a link to a publisher landing page are probably trying to cite the book itself, so this behaviour of assuming that's the case is net beneficial. Folly Mox (talk) 22:13, 13 October 2023 (UTC)- I cannot personally maintain that the majority of users citing a publisher's webpage are lazily intending to cite the book itself. My experience suggests otherwise which is why I have taken issue, but I realise my editing purview might be skewed. However, if that is observably true then I will resign to accepting this as a forgivable externality. Οἶδα (talk) 06:35, 14 October 2023 (UTC)
- In fairness to your point, I haven't looked into the data about how frequently this sort of change is appropriate; it could be the case that my own perspective is the skewed one. Folly Mox (talk) 08:32, 14 October 2023 (UTC)
- I cannot personally maintain that the majority of users citing a publisher's webpage are lazily intending to cite the book itself. My experience suggests otherwise which is why I have taken issue, but I realise my editing purview might be skewed. However, if that is observably true then I will resign to accepting this as a forgivable externality. Οἶδα (talk) 06:35, 14 October 2023 (UTC)
- When I've quoted publisher blurbs in the past, I usually set
- I understand. But it still feels like an another unnecessary task for this bot to insert itself into every article it can possibly find. For example, this edit is completely useless and actually corrupts my intention of the citation. Call me crazy but I don't want or need a bot telling me what I am citing (and actively altering my citations accordingly). Οἶδα (talk) 21:32, 13 October 2023 (UTC)
- I couldn't find a list of tasks that the bot has been approved for (other than the very first approval) nor a thorough description of all of its mystical activities. I was surprised to find it would change "Cite web" to "Cite book" (for unclear reasons). The only cure, if the bot is unchanged, seems to be the
<!-- Citation bot bypass-->
mechanism documented at User:Citation_bot#Stopping_the_bot_from_editing - R. S. Shaw (talk) 04:12, 6 December 2023 (UTC)
Causing template errors
- Status
- new bug
- Reported by
- MisterTech (talk) 11:35, 1 November 2023 (UTC)
- What happens
- Citation bot is changing journal templates to book templates, leaving the journal parameter intact which results in a template error.
- What should happen
- Citation bot should also change the journal parameter to a title parameter
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Draft%3AData_spaces&diff=1182601603&oldid=1181737145
- We can't proceed until
- Feedback from maintainers
- I don't know that that's the solution ({{cite journal}} almost always already contains
|title=
), but despite being a sometimes commenter on this talk page, I actually came here now to report the same error at Special:Diff/1183763093. Maybe Citation bot should check for|periodical=
and its aliases before changing the type of citation template wrapper. I've been working on Category:CS1 errors: periodical ignored (23,762), and I'm never going to be able to keep up with Citation bot creating this error. Folly Mox (talk) 13:16, 7 November 2023 (UTC)- In both cases, it is a bit of problem with the wrong template and information being entered by a human being. I will see what more can be done. The bot did shrink Category:CS1 errors: periodical ignored (23,762) by tens of thousands a while back, but it seems to have hit a steady-state with the bot both fixing and adding members to this category. AManWithNoPlan (talk) 15:49, 7 November 2023 (UTC)
- Special:Diff/1186701879 is another example, a few minutes ago, of Citation bot creating template errors by changing citation wrapper template without appropriate reparameterisation of values already present. For clarity, the existing citation ({{cite web}} to a publisher landing page for a book) wasn't great, but this behaviour is not desirable: altering the template called without checking whether it contains unsupported parameters.For changing {{cite web}} to {{cite book}} where
|website=
is present, I can't think of a case where it would be an error to reparameterise|website=
to|via=
, unless|via=
is already present. Folly Mox (talk) 00:09, 25 November 2023 (UTC)- I've begun reverting Citation bot whenever it produces this error, which seems to account for between 1% and 2% of its recent edits. I know I take a critical tone here frequently (still traumatised by ReferenceExpander), but Citation bot does a lot of really good work. I do appreciate it and the maintainers.Also I'm aware that the whole reason this type of edit causes a template error in the first place is the underdiscussed and unnecessary removal of support for the
|work=
parameter from {{cite book}} without adequate preparation time.I do plan to start contacting editors who frequently run Citation bot, introduce this error, and then never check the output or help fix it, as required by the guidance at the top of Citation bot's userpage. I know the responsibility does not fall solely on the maintainers. Folly Mox (talk) 18:21, 25 November 2023 (UTC)- Books series occupy a space somewhere between books and journals. Similar to journals, books series are published on a regular (or at least semi-regular) basis with volume numbers. To at least some editors, book series look like journals, so I think it should not be suprising that they sometimes use the {{cite journal}} template for book series. And it is not just editors. Automated tools like WP:RefToolbar will generate at least a partial citation to the chapter selecting "cite journal" and specifying a DOI. In contrast RefToolbar "cite book" option does not even support chapters. Citeoid in VisualEditor will also generate a "cite journal" template including the chapter as the title if the DOI is entered. Wikipedia template filling tool will also generate cite journal templates for chapters in book series. I would argue that using {{cite journal}} for chapters in book series, is not wrong. Furthermore this usage does not throw any error messages. Converting journals to books without reparameterization is throwing errors. IMHO, Citation Bot should not convert these templates unless it also adjusts the parameters. I think the principle of first, do no harm applies here. Boghog (talk) 12:21, 1 January 2024 (UTC)
- I've run across a number of cases that fall into this genre, most recently this one. Here, the book series is Journal of Neural Transmission. Supplementum at Springer; others I can remember off the top of my head are Methods in Enzymology and Progress in Drug Research, both at Elsevier.It seems to me that if Citation bot is both 1. altering the template type to {{cite book}} while 2. getting valid data for a parameter named
journal
(as can be seen in the linked diff: it expands the abbreviated form), then the bot should be reparameterising|journal=
to|series=
if|series=
is not set.I've stated before that Citation bot needs to have more awareness of what parameters are present in the citation it's editing when it changes the template type, but it also occurs to me that it's way too aggressive at changing templates to {{cite book}} whenever it finds an isbn. A lot of the errors stem from editors citing webpages with bibliographic information (like library records, publisher landing pages, or book retailers) in order to establish the existence of a book, which is not great practice and has been discussed on this talkpage before. But many other errors come from the fact that conference proceedings and journal issues can also have isbns, and those require different parameters and are created using different templates by other citation tools.In my journey through Special:RandomInCategory/CS1 errors: periodical ignored, my rough estimate is that 50% of these errors (±10%) are introduced by Citation bot. Folly Mox (talk) 11:42, 5 January 2024 (UTC)
- I've run across a number of cases that fall into this genre, most recently this one. Here, the book series is Journal of Neural Transmission. Supplementum at Springer; others I can remember off the top of my head are Methods in Enzymology and Progress in Drug Research, both at Elsevier.It seems to me that if Citation bot is both 1. altering the template type to {{cite book}} while 2. getting valid data for a parameter named
- Books series occupy a space somewhere between books and journals. Similar to journals, books series are published on a regular (or at least semi-regular) basis with volume numbers. To at least some editors, book series look like journals, so I think it should not be suprising that they sometimes use the {{cite journal}} template for book series. And it is not just editors. Automated tools like WP:RefToolbar will generate at least a partial citation to the chapter selecting "cite journal" and specifying a DOI. In contrast RefToolbar "cite book" option does not even support chapters. Citeoid in VisualEditor will also generate a "cite journal" template including the chapter as the title if the DOI is entered. Wikipedia template filling tool will also generate cite journal templates for chapters in book series. I would argue that using {{cite journal}} for chapters in book series, is not wrong. Furthermore this usage does not throw any error messages. Converting journals to books without reparameterization is throwing errors. IMHO, Citation Bot should not convert these templates unless it also adjusts the parameters. I think the principle of first, do no harm applies here. Boghog (talk) 12:21, 1 January 2024 (UTC)
- I've begun reverting Citation bot whenever it produces this error, which seems to account for between 1% and 2% of its recent edits. I know I take a critical tone here frequently (still traumatised by ReferenceExpander), but Citation bot does a lot of really good work. I do appreciate it and the maintainers.Also I'm aware that the whole reason this type of edit causes a template error in the first place is the underdiscussed and unnecessary removal of support for the
- Special:Diff/1186701879 is another example, a few minutes ago, of Citation bot creating template errors by changing citation wrapper template without appropriate reparameterisation of values already present. For clarity, the existing citation ({{cite web}} to a publisher landing page for a book) wasn't great, but this behaviour is not desirable: altering the template called without checking whether it contains unsupported parameters.For changing {{cite web}} to {{cite book}} where
- In both cases, it is a bit of problem with the wrong template and information being entered by a human being. I will see what more can be done. The bot did shrink Category:CS1 errors: periodical ignored (23,762) by tens of thousands a while back, but it seems to have hit a steady-state with the bot both fixing and adding members to this category. AManWithNoPlan (talk) 15:49, 7 November 2023 (UTC)
A class of new(?) errors
A user brought to my attention a possibly new type of error by the bot which causes "}}: |website= ignored" and "|journal= ignored" messages. I'm not clear on what's going on, so here are the diffs they found: 1, 2, 3, 4, 5. Abductive (reasoning) 22:19, 25 November 2023 (UTC)
- It is often GIGO. The bot adds corrected parameters and leave some bad stuff behind. AManWithNoPlan (talk) 22:03, 27 November 2023 (UTC)
- I will look into trying to reduce this. I know that the bot fixed many more of these than it creates. AManWithNoPlan (talk) 14:22, 29 November 2023 (UTC)
- Thank you for your work on this. It's probably difficult when almost all the engagement on this talkpage is complaints. I believe you when you say Citation bot has fixed this class of error more often than it has introduced it, and I appreciate that. Folly Mox (talk) 12:58, 1 December 2023 (UTC)
- This has already improved a lot over where it was last week! Folly Mox (talk) 11:36, 3 December 2023 (UTC)
- This bug seems eradicated for many of the more common cases, but I did find another example today, at Special:Diff/1189067865. My fix looked like this. Folly Mox (talk) 19:51, 9 December 2023 (UTC)
- Ran into a few more GIGO style manifestations of this bug today, but also a bunch of conference proceedings hosted by Springer, all of which caused this same error: Special:Diff/1189110528, Special:Diff/1189117384, and Special:Diff/1189119689 (the last of which alone caused five errors). Folly Mox (talk) 03:37, 10 December 2023 (UTC)
- This bug seems eradicated for many of the more common cases, but I did find another example today, at Special:Diff/1189067865. My fix looked like this. Folly Mox (talk) 19:51, 9 December 2023 (UTC)
- I will look into trying to reduce this. I know that the bot fixed many more of these than it creates. AManWithNoPlan (talk) 14:22, 29 November 2023 (UTC)
Suggestion: IF [changed "cite web" to "cite book"] AND ["|website=" exists] THEN [change "website=" to "via="] - - this would preserve useful info. Cheers Protalina (talk) 15:31, 24 February 2024 (UTC)
Washington Post (again)
- Status
- new bug
- Reported by
- SounderBruce 01:41, 23 January 2024 (UTC)
- What happens
- The bot changes
|work=The Washington Post
to|newspaper=The Washington Post
, but only for this newspaper in particular. It's pointless and clogs watchlists. A fix for this was requested before but never seems to have been implemented. - Relevant diffs/links
- Example diff
- We can't proceed until
- Feedback from maintainers
Why is Citation Bot removing a page # from a cite's URL
On Charles Clinton, Citation bot removes "?seq=9" from this URL. That bit of code give the Page # within the larger cite, so why does Citation bot remove it? It makes sense to me to leave that bit of code in there but the bot doesn't seem to think so. It's removed it twice, once here and once here, so maybe I'm wrong... Would appreciate some clarification. Thanks, Shearonink (talk) 03:36, 4 March 2024 (UTC)
- Also, if by some chance I am correct, is there any way to stop people from running the Bot needlessly on this supposed issue? Thanks, Shearonink (talk) 03:37, 4 March 2024 (UTC)
- The landing page is the same in either case. Headbomb {t · c · p · b} 04:09, 4 March 2024 (UTC)
- It isn't the same for me... The one without the ?seq lands me on the main page, the URL with the ?seq=9" lands me on the exact page with the quoted text... Shearonink (talk) 04:55, 4 March 2024 (UTC)
- Yes, I also see the preview page showing page 9 of 17 with the ?seq parameter. —David Eppstein (talk) 08:06, 4 March 2024 (UTC)
- Oh good David Eppstein it isn't just me... The ?seq code might be taking us & other registered editors to the exact page because we have a JSTOR account through the WP Library I guess... But even if people don't have a JSTOR account the *code* should be left there, otherwise the URL seems useless. I like to give readers the option of going down the rabbithole of verifiability if they want to. Why is WP giving readers an URL that is to the entire book or article as the Citation bot default when the bot is run on the article? Shearonink (talk) 15:49, 4 March 2024 (UTC)
- Actually currently JSTOR thinks it is providing me access through UT Dallas, I guess because I was there for a conference last summer. But yes, this should be left in place, like the pg= parameter of Google Books links, for the same reason. —David Eppstein (talk) 17:27, 4 March 2024 (UTC)
- Oh good David Eppstein it isn't just me... The ?seq code might be taking us & other registered editors to the exact page because we have a JSTOR account through the WP Library I guess... But even if people don't have a JSTOR account the *code* should be left there, otherwise the URL seems useless. I like to give readers the option of going down the rabbithole of verifiability if they want to. Why is WP giving readers an URL that is to the entire book or article as the Citation bot default when the bot is run on the article? Shearonink (talk) 15:49, 4 March 2024 (UTC)
- Yes, I also see the preview page showing page 9 of 17 with the ?seq parameter. —David Eppstein (talk) 08:06, 4 March 2024 (UTC)
- It isn't the same for me... The one without the ?seq lands me on the main page, the URL with the ?seq=9" lands me on the exact page with the quoted text... Shearonink (talk) 04:55, 4 March 2024 (UTC)
CS1 errors from partial journal-to-book conversion
- Status
- new bug
- Reported by
- —David Eppstein (talk) 23:34, 5 March 2024 (UTC)
- What happens
- When citation bot finds a cite journal template pointing to a book in the Lecture Notes in Computer Science series, with
|journal=
giving the book title and|series=
pointing to LNCS, it converts it into cite book (correct!) but fails to change|title=
to|contribution=
and|journal=
to|title=
, leaving the reference in a broken state. - What should happen
- The bot should never change working-but-erroneous citations into not-even-working citations; that is going the wrong direction. If it cannot do this conversion properly it should not be doing it at all.
- Relevant diffs/links
- Special:Diff/1211730231
- We can't proceed until
- Feedback from maintainers
- This bug is still ongoing and still leading to new CS1 errors in articles. Example: Special:Diff/1213121977, creating a {{cite book}} with a
|journal=
parameter and triggering a CS1 error. —David Eppstein (talk) 20:24, 12 March 2024 (UTC)
Bot converts new Google Books URLs to the old format
- Status
- new bug
- Reported by
- Paul_012 (talk) 09:02, 11 March 2024 (UTC)
- What happens
- As raised by Salpynx above under #New Google books URLs, the bot converts Google Books URLs under the new format (e.g. https://www.google.com/books/edition/Encyclopedia_of_Music_in_the_20th_Centur/m8W2AgAAQBAJ?gbpv=1&pg=PA379) to the old format, which is now called "classic Google Books" (https://books.google.com/books?id=m8W2AgAAQBAJ&pg=PA379).
- What should happen
- Since it appears that the old format may be in the process of being phased out, the bot should probably not make such conversions, and just tidy up the URLs under the new format instead.
- Relevant diffs/links
- Special:Diff/1210636446, Special:Diff/1213075921
- We can't proceed until
- Feedback from maintainers
Previous note:
This is more of a FYI / request for clarification than a bug report, although there might be a problem with these edits. Bot edit: Special:Diff/1210636446 changed a number of URLs I added manually using the recent new Google books URLs back to the "Classic" Google books version. Working with the new URL format was a bit of pain, especially getting a page number link to function, and I'm not even sure it is an improvement, but it looks like Google is trying to move to the new format? On all the old style links page I see a link to "try the new Google books". The new style URL looks like this: https://www.google.com/books/edition/Encyclopedia_of_Music_in_the_20th_Centur/m8W2AgAAQBAJ?gbpv=1&pg=PA379 , the Classic style the bot is converting to is: https://books.google.com/books?id=m8W2AgAAQBAJ&pg=PA379 Is this still correct behavior? My feeling is that this wasn't a helpful edit, but I'm worried that neither URL format is necessarily stable now if Google are in the process of changing or deprecating their Books URLs. What format should Wikipedia use? Is there a better place to ask this question? Salpynx (talk) 19:31, 27 February 2024 (UTC)
- A better new url would be https://www.google.com/books/edition/_/m8W2AgAAQBAJ?gbpv=1&pg=PA379 since that chunk of text has no effect. AManWithNoPlan (talk) 14:11, 28 February 2024 (UTC)
I will work on reworking the code to make "new" URLs. I will have to do it as a pull request to work out the kinks, and it will take time. AManWithNoPlan (talk) 15:10, 15 March 2024 (UTC)
journal = Meth. Enzymol. + series = Methods in Enzymology
- What should happen
- [1]
- We can't proceed until
- Feedback from maintainers
Another example: diff which throws a Cite journal requires |journal= error. If a {{cite journal}} has both |journal=
and |series=
with identical or similar values, then |series=
should be dropped, not |journal=
. Boghog (talk) 11:16, 26 March 2024 (UTC)
- Here Methods in Enzymology is a book series, not a journal, so that's the fix that should be done here. Headbomb {t · c · p · b} 19:53, 27 March 2024 (UTC)
CS1 error when Citation bot changes publisher parameter to work for cite book template
- Status
- new bug
- Reported by
- Stefen Towers among the rest! Gab • Gruntwerk 22:46, 24 March 2024 (UTC)
- What happens
- publisher parameter to cite book template is replaced by Citation bot with work, which displays as a CS1 error
- What should happen
- Citation bot should leave it alone (I think)
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Harold_Stassen&diff=prev&oldid=1215401261
- We can't proceed until
- Feedback from maintainers
CITEVAR and manually formatted references
I asked this in the discussion of an earlier bug but it was archived without providing an answer. Can you please explain
- How is it not a violation of WP:CITEVAR for Citation bot to convert manually-formatted references into templates, as it is doing e.g. at Special:Diff/1216926071? A human might do this but a bot automatically doing it is completely something else, especially in cases such as here where it does not even improve the consistency of formatting (the article is still a mix of CS1, CS2, and manually-formatted references).
- For those of us who might deliberately format references manually because we don't want bots messing with our citations, or we made a deliberate decision that the citation templates were inadequate for some specific citation, do we now have to start explicitly locking the bots out of articles altogether?
- Where is this included in the BAG-approved tasks for this bot?
- I find the bot's edit summary "Changed bare reference" to be significantly misleading. This is not a bare-url reference. It is a well-formatted reference that happens to be manually formatted. Where is there any guideline or policy suggesting that such references are a problem that needs to be fixed?
—David Eppstein (talk) 20:29, 2 April 2024 (UTC)
- There's already citation templates on that page. No CITEVAR violation happened. Headbomb {t · c · p · b} 23:09, 2 April 2024 (UTC)
- I mix manually formatted citations and template-formatted citations on pages all the time, deliberately. I would be extremely annoyed if a bot took it upon itself to change that deliberate decision. —David Eppstein (talk) 23:17, 2 April 2024 (UTC)
- It should however, preserve the editors. Headbomb {t · c · p · b} 23:11, 2 April 2024 (UTC)
date/year are the same
- What should happen
- [2]
- We can't proceed until
- Feedback from maintainers
adding journal to cite book
- Status
- new bug
- Reported by
- Spinixster (trout me!) 02:50, 3 April 2024 (UTC)
- What happens
- this
- What should happen
- not that, since it generates an error. I've undone the edit.
- We can't proceed until
- Feedback from maintainers
I think a template change to Template:Cite journal would be better. Spinixster (trout me!) 02:50, 3 April 2024 (UTC)
- The fix [3]. This is a book series, but individual books are untitled. Headbomb {t · c · p · b} 06:50, 3 April 2024 (UTC)
Link in title
- Status
- new bug
- Reported by
- Spinixster (trout me!) 02:53, 8 April 2024 (UTC)
- What happens
- When there is a wikilink in the title in italics, Citation bot fixes it like this.
- What should happen
- This is redundant. The bot can put the wikilink in title-link instead like so.
- We can't proceed until
- Feedback from maintainers
It's not really a bug, but I think it's a worthy addition to the bot. Spinixster (trout me!) 02:53, 8 April 2024 (UTC)
Doctoral thesis. Doctoral thesis.
- Status
- new bug
- Reported by
- —David Eppstein (talk) 06:28, 9 April 2024 (UTC)
- What happens
- Special:Diff/1218002845 changes a {{cite book}} that reads
Demaine, E. D. (2001). Folding and Unfolding. Doctoral Thesis (PDF) (Doctoral Thesis). University of Waterloo, Canada
into a {{cite thesis}} that readsDemaine, E. D. (2001). Folding and Unfolding. Doctoral Thesis (PDF) (Doctoral Thesis). University of Waterloo, Canada
. The change to template type may be correct, but the repeated words may not be. The repeated words may not be. Please please, when making changes to improve metadata, do not do not make the visible data worse. That is the wrong wrong tradeoff to be making. Meanwhile, when adding "type=", the word "thesis" should be lowercase (look! an actual easy to fix bug!) and the bot didn't even notice that the url should really be an hdl, nor properly split the author name into first and last. - We can't proceed until
- Feedback from maintainers
An option to provide my own AdsAbs API key to https://citations.toolforge.org
I see that AdsAbs API limits the number of requests for the bot at https://citations.toolforge.org with 25000 per day which is saturated by the end of the day. I could wish to supply my own AdsAbs API key to for the requests I made to not spend the amount of requests that can be made by the other users, and, if it is already overwhelmed by the time I make my request, the bot will be able to use the API with my key.
The env.php file contains @putenv('PHP_ADSABSAPIKEY=xxxxx'); but we should probably change it to
if (!getenv('PHP_ADSABSAPIKEY')) { @putenv('PHP_ADSABSAPIKEY=xxxxx'); // https://ui.adsabs.harvard.edu/help/api/ }
so that we could supply the API key parameter to https://citations.toolforge.org such as via a hidden form parameter that will go to this environment variable; still, we should make due sanitization of characters by only allowing hexadecimal characters and by length checking to avoid various threats such as injections. Maxim Masiutin (talk) 10:07, 22 April 2024 (UTC)
Unlinking journal parameter
Hello,
According to the documentation at Template:Cite journal:
- work (required by {{cite journal}} and {{cite magazine}}): Name of the work containing the source; may be wikilinked if relevant.
However, it seems citation bot unlinks the journal= parameter (by default?). Is this intentional? Should the documentation be updated if wikilinking journals is discouraged? Or should citation bot be updated to honor an existing wikilink, if any? (Example diff. There's some other questionable changes in there but that's probably from bad input data and harder to deal with.). SnowFire (talk) 21:16, 22 April 2024 (UTC)
- Caused by the (JTS) being present for no reason. The bot expects
|journal=[[Foo|Everything]]
, not|journal=[[Foo|Something]], something else
. 21:29, 22 April 2024 (UTC) Headbomb {t · c · p · b} 21:29, 22 April 2024 (UTC)- If this is intentional, then I feel like the documentation should be updated that this field needs to have only a single link. I don't really see the problem with the other approach, but I respect that maybe it's needed for bots / microformats rather than humans. (I saw quite a number of short references to "JTS" hence putting the acronym gloss in there, so it's not like a totally irrelevant piece of information to have somewhere.) SnowFire (talk) 21:46, 22 April 2024 (UTC)
Capitalizing "dan" in Indonesian journal name
- Status
- new bug
- Reported by
- OIM20 (talk) 20:16, 27 April 2024 (UTC)
- What happens
- capitalization of "dan" in Indonesian journal title
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Pati_Regency&diff=1221052722&oldid=1220827268
- Replication instructions
- Run the bot, if cbignore (placed after, as I didn't realize it would do this) is removed.
- We can't proceed until
- Feedback from maintainers
This isn't so much a bug, I don't expect, as just the assumption that the lowercase "dan" would be the shift key not being held. In this instance, the title of the journal is in Indonesian (it's an Indonesian journal being cited): Jurnal Kependidikan dan Kemasyarakatan, which is "Journal of Society and Education".
The article is in English, so the language=id parameter was not included in the citation. I added the cbignore template to that single citation to keep the problem from recurring, loathe as I am to do so because bots search databases and find other means of accessing an article than the means I found, which may be useful in the future should a doi become broken.
Regardless of whether this is considered a "bug", I wanted those developing the bot to be aware of the instance. OIM20 (talk) 20:16, 27 April 2024 (UTC)
- The cbignore template does nothing to citation bot. While the name would lead someone to think so, it is not our template. I have added " dan Kemasyarakatan ", " dan Bisnis ", and " dan Sastra " to the list of "special non-english" phrases. AManWithNoPlan (talk) 22:13, 27 April 2024 (UTC)
- In case it was not obvious: thank you for reporting this. The more we know, then better we can do. AManWithNoPlan (talk) 22:15, 27 April 2024 (UTC)
- Thanks for the clarification on the bot and yw! :) OIM20 (talk) 14:05, 28 April 2024 (UTC)
- In case it was not obvious: thank you for reporting this. The more we know, then better we can do. AManWithNoPlan (talk) 22:15, 27 April 2024 (UTC)
Fix incorrect citation parameter
- Status
- new bug
- Reported by
- Demetrios1993 (talk) 03:45, 28 April 2024 (UTC)
- What happens
- The bot changed
|pp=
to|pages=
, but the respective citations refer to a single page number. - What should happen
- When a single page number is cited, the bot should ideally change it to
|p=
or|page=
. - Relevant diffs/links
- Diff
- We can't proceed until
- Feedback from maintainers
I will look into changing |pages=
to |page=
when it is only digits. AManWithNoPlan (talk) 16:38, 28 April 2024 (UTC)
Edit to Easter Rising
This edit added "doi-broken" tags to two links, but when I clicked on the doi links they took me straight to the web pages. Scolaire (talk) 16:47, 28 April 2024 (UTC)
- They are definitely broken over here. Headbomb {t · c · p · b} 18:44, 28 April 2024 (UTC)
- Works for me. AManWithNoPlan (talk) 02:09, 29 April 2024 (UTC)
- I also tested it and for me, neither link works (actually neither the urls in the citations, nor the doi links). The reason is that the entire digital.ucd.ie domain is restricted. Rontombontom (talk) 08:40, 29 April 2024 (UTC)
- Nor for me. http://digital.ucd.ie/view/ucdlib:38376 returns
- Not Found. The requested URL was not found on this server. Apache/2.4.29 (Ubuntu) Server at digital.ucd.ie Port 80
- No ifs, no buts. 𝕁𝕄𝔽 (talk) 09:21, 29 April 2024 (UTC)
- Upon looking at it further, I think the mistake was to provide |url tags where the doi already does the link, and the |url tags had non-permanent links. (That, and the second reference was cite web instead of cite book.) I edited the page, please check is it works now for you too. Rontombontom (talk) 12:19, 29 April 2024 (UTC)
- Nor for me. http://digital.ucd.ie/view/ucdlib:38376 returns
- I also tested it and for me, neither link works (actually neither the urls in the citations, nor the doi links). The reason is that the entire digital.ucd.ie domain is restricted. Rontombontom (talk) 08:40, 29 April 2024 (UTC)
- Works for me. AManWithNoPlan (talk) 02:09, 29 April 2024 (UTC)
Edit to Near-Earth object
This edit added a journal tag to a book citation (which then got the "|journal ignored" error message), duplicating the title tag. And the edit comment linked to Category:Articles containing potentially dated statements from April 2024, which doesn't make any sense. Rontombontom (talk) 18:13, 28 April 2024 (UTC)
- I changed cite book to cite conference, maybe that won't trip up the bot? Rontombontom (talk) 12:31, 29 April 2024 (UTC)