User talk:Dalba

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Failed URLs.[edit]

Thank you for creating Citer! Here are a few URLs that fail without giving a helpful message.

Additionally, this is an English-language article which comes up with language = de in the generated cite.

Additionally, Substack citations have the website as "Substack", when, for example, it should be "The Discourse Lounge" for this link.

Grendelkhan (talk) 02:06, 2 January 2022 (UTC)Reply[reply]

Hi Grendelkhan,
  • lamag: fixed
  • wsj: worked for me, but it took several tries. Not sure what is happening here. The WSJ server is responding with 403 (Forbidden) status code when called from Toolforge server, but works on my PC. Could be a temporary issue or maybe they have blocked Toolforge's IP address. I may have to look into this later.
  • cnbc: I just improved the language detection algorithm.
  • darrellowens.substack.com: It's complicated, but in short, citer can't find the proper site name by looking into usual places in this case, then, as a last resort, it tries to guess the name using the URL (domain name) and the home page title. Of-course it has failed here, but works on some other websites. I may change or remove this algorithm in the future if more cases like this show up. Dalba 15:25, 2 January 2022 (UTC)Reply[reply]
@Dalba: Citer fails for the https version of this URL. It works for the non-https version.
--Whywhenwhohow (talk) 03:04, 3 January 2022 (UTC)Reply[reply]
Fixed. Dalba 04:29, 3 January 2022 (UTC)Reply[reply]

┌─────────────────────────────────┘
@Dalba: Thank you for fixing. Citer appears to be having trouble with other archive.org URLs that use https.

It displays the message

HTTP error:

One or more of the web resources required to create this citation are not accessible at this moment.

Is it a timing issue where Citer doesn't wait long enough for the results? --Whywhenwhohow (talk) 05:12, 3 January 2022 (UTC)Reply[reply]

@Whywhenwhohow I just tested and citer was a able to generate a citation for all of the URLs you just mentioned, which makes me wonder, are you using https://citer.toolforge.org/ or some other URL to access citer? Dalba 09:33, 4 January 2022 (UTC)Reply[reply]
I am using https://citer.toolforge.org/ but the results for URLs from archive.org frequently fail. Sometimes it displays that "HTTP error" message immediately and other times it generates a citation. I just tried a different archive.org URL and it failed immediately. I tried
--Whywhenwhohow (talk) 23:24, 4 January 2022 (UTC)Reply[reply]

┌─────────────────────────────────┘
Citer provides the wrong title, date, and language for this CDC press release.[1]

--Whywhenwhohow (talk) 05:40, 6 January 2022 (UTC)Reply[reply]

References

  1. "CDC Newsroom". CDC (in Spanish). 1 January 2016. Retrieved 6 January 2022. 

Date for archive page[edit]

Citer appears to use the date of the archive for the date in the citation instead of the date of the archived page. For example, for the URL https://web.archive.org/web/20121101092633/https://www.fda.gov/NewsEvents/Newsroom/PressAnnouncements/ucm307549.htm it uses November 1, 2012, instead of June 8, 2012.[1] For that URL is uses website fda.gov instead of U.S. Food and Drug Administration. --Whywhenwhohow (talk) 22:31, 3 January 2022 (UTC)Reply[reply]

References

  1. "FDA approves Perjeta for type of late-stage breast cancer". fda.gov. 1 November 2012. Archived from the original on 1 November 2012. Retrieved 3 January 2022. 
FixedDalba 13:15, 27 August 2022 (UTC)Reply[reply]

Citation spacing and parameters[edit]

Current version: | issn= | pmid= |pmc= | doi= | pages=

I would like it changed to remove the spaces inside the citations and move a few of the parameters like this:

Proposed version: |pages|issn=|doi=|pmc=|pmid=

The named reference only needs to include the last names and year of publication without additional spaces inside the named rereference. QuackGuru (talk) 03:07, 27 April 2022 (UTC)Reply[reply]

I disagree with the above, as spaces are useful for allowing the citations to wrap on the screen, making reading and editing easier. When there are no spaces, it causes the citations to occupy way more lines than necessary. I hate seeing citations with no spaces! Laterthanyouthink (talk) 02:53, 17 May 2022 (UTC)Reply[reply]
When there are no spaces, it causes the citations to occupy less space. When there are spaces it makes it more difficult to edit because the citations look like sentences. I think editors should be given an option. The proposed version above occupies less space. QuackGuru (talk) 15:37, 17 May 2022 (UTC)Reply[reply]
Hi! Thanks for the feedback and sorry for my the late response. Although I see that some users might prefer other kinds spacing, but I don't think I'll be adding a setting for this feature in the app because it is a rarely requested feature (actually, this is the first time someone has asked for it) and the added complication is perhaps not worth. Dalba 09:18, 4 June 2022 (UTC)Reply[reply]

Incorrect {{citer}} code generated for URL[edit]

The URL https://www.utas.edu.au/library/companion_to_tasmanian_history/B/Black%20Convicts.htm returns this reference:

<ref name="University of Tasmania University of Tasmania">{{cite web | title=Black Convicts | website=University of Tasmania | University of Tasmania | url=https://www.utas.edu.au/library/companion_to_tasmanian_history/B/Black%20Convicts.htm | access-date=2022-06-13}}</ref>

which has two stray references to "University of Tasmania" as well as probably one other bug.

Thanks for citer!

DanShearer (talk) 21:05, 13 June 2022 (UTC)Reply[reply]

Fixed Thanks! Dalba 09:22, 26 August 2022 (UTC)Reply[reply]

Incorrect date generated for URL[edit]

I enter this URL into citer, and it offers mostly correct code, but generates the date | date=1917-06-30. Access date is correct. Turtlens (talk) 19:26, 21 August 2022 (UTC)Reply[reply]

https://www.cs.rutgers.edu/people/professors/details/emeritus/endre-szemeredi Turtlens (talk) 19:27, 21 August 2022 (UTC)Reply[reply]
I can restrict citer's date detection algorithm for more accuracy, but that will also make it leave the date field empty on many other sites which have dates correctly detected. It's a compromise between false positives and false negatives. My experience is that current situation is acceptable, but I may reconsider if get more reports like this. Thanks. Dalba 09:36, 26 August 2022 (UTC)Reply[reply]
The url which failed was
https://abelprize.no/abel-prize-laureates/2012
Result generated
[1]
  1. "2012: Endre Szemerédi". The Abel Prize. 1917-06-30. Retrieved 2022-08-27. 
  2. Sorry for my incorrect post. 99.192.36.54 05:33, 27 August 2022 (UTC)Reply[reply]
    Fixed Dalba 13:03, 27 August 2022 (UTC)Reply[reply]

    Citer not working?[edit]

    trying to generate a citation for this link https://pubmed.ncbi.nlm.nih.gov/32687126/ Citer doesn't seem to be working at this time. 2601:5CE:4380:B530:0:0:0:4B7E 01:00, 27 August 2022 (UTC)Reply[reply]

    Fixed Dalba 13:02, 27 August 2022 (UTC)Reply[reply]
    Thank you. 2601:5CE:4380:B530:0:0:0:4B7E 18:32, 27 August 2022 (UTC)Reply[reply]
    I'm trying to generate a citation for this link: https://almodarresi.com/en/books/pdf/TheLawsofIslam.pdf?noamp=available but the citer doesn't seem to be working at this time.-2401:4900:2711:B1D8:479D:3693:F220:4BFD 09:48, 20 September 2022 (UTC)Reply[reply]
    The server is responding with 404 error code for that URL (not found):
    $ curl -I https://almodarresi.com/en/books/pdf/TheLawsofIslam.pdf?noamp=availabe
    HTTP/2 404
    expires: Wed, 11 Jan 1984 05:00:00 GMT
    cache-control: no-cache, must-revalidate, max-age=0
    link: <https://almodarresi.com/wp-json/>; rel="https://api.w.org/"
    host-header: c2hhcmVkLmJsdWVob3N0LmNvbQ==
    x-endurance-cache-level: 2
    x-nginx-cache: WordPress
    content-type: text/html; charset=UTF-8
    date: Sun, 16 Oct 2022 14:43:25 GMT
    server: Apache
    
    Dalba 14:46, 16 October 2022 (UTC)Reply[reply]

    harv errors[edit]

    Hi, thanks for creating this tool: I find it immensely useful. However, the shortened refs it has generated for me in the last couple of hours have been giving harv errors; which I find baffling, as I cannot see any errors in the syntax. See for instance Almeida et al, in this revision [1]. Thanks in advance for any assistance. Vanamonde93 (talk) 05:06, 16 October 2022 (UTC)Reply[reply]

    PS: I would appreciate a ping as and when you can get to this; as I'm primarily active on en.wiki, I may miss a response otherwise. Vanamonde93 (talk) 05:07, 16 October 2022 (UTC)Reply[reply]
    A followup; I believe the issue in some cases is fixed by manually adding the year to the shortened citation; it appears that while citer is able to extract the date, it isn't incorporating the year into the shortened (sfn) template. If this is true, perhaps it's an easy fix? Vanamonde93 (talk) 17:23, 16 October 2022 (UTC)Reply[reply]
    Fixed Dalba 02:50, 17 October 2022 (UTC)Reply[reply]

    web resources not available - AWM[edit]

    Entering the URL https://awm-math.org/awards/awm-birman-research-prize/ generates an error:

    HTTP error: One or more of the web resources required to create this citation are not accessible at this moment.

    I can certainly browse to the URL. The shorter URL https://awm-math.org/ has the same issue. Turtlens (talk) 16:09, 29 November 2022 (UTC)Reply[reply]

    Fixed Thanks for reporting the issue. The website uses old SSL methods that are disallowed by recent versions of openssl library and that was causing communication issues. I've changed citer's configuration to allow them. Dalba 15:01, 30 November 2022 (UTC)Reply[reply]

    Thanks. I'll try and report the issue to AWM so they can update their SSL library usage. — The preceding unsigned comment was added by Turtlens (talk)

    In case they need more technical details, this is the error being received on a Debian buster machine:
    $ curl https://awm-math.org/
    curl: (35) error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small
    
    Dalba 14:16, 1 December 2022 (UTC)Reply[reply]

    Error??[edit]

    Citer is great. I use it a lot. However, I think this is an error - the book is not Italian.

    76.14.122.5 19:36, 13 December 2022 (UTC)Reply[reply]

    Thank you! You're right. The detected language is incorrect. Citer currently uses the book title to guess the language of the book and in this case it has been wrong. Maybe I should disable this feature for English version since most book sources used in English Wikipedia are in English and it won't matter much if the language parameter is not specified for the few others. I'll keep this in mind and will probably change it in the future if I see more requests like this. ‍Dalba 06:06, 26 January 2023 (UTC)Reply[reply]

    Citer for etwiki[edit]

    Hey! Citer is working amazingly well. Thank you for putting in the effort to create it!

    I was wondering if there would be an option to add wiki specific output format in the near future? Currently Citer is outputting English Wikipedia template syntax (Cite web, Cite journal etc with English parameters). In Estonian Wikipedia for example all the most used citation templates have been translated and have fields mapped to Citoid fields. Basically all English Wikipedia citation template parameters have corresponding parameters in Estonian. Or would this be too complicated to add? Of course we have Citoid configured and working in Visual Editor, but I assume some users would prefer to keep using the wikitext editor and Citer tool for automatic citations. Thanks, Kaniivel (talk) 08:55, 2 January 2023 (UTC)Reply[reply]

    Hi, Kaniivel! Thanks for the feedback. Theoretically, if only template name and parameters need translation, it should not be that hard to implement. But is usually more than that; for example different languages use different punctuation or require special formatting for author names, dates, etc. Unfortunately, I don't think I'll be able to dedicate enough time to come up with robust solution for this in the near future. Dalba 05:58, 26 January 2023 (UTC)Reply[reply]