User talk:Dalba

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

A suggestion[edit]

Hi, I've used Citer for years now, a huge help. I didn't realize, however, that it could handle Google Books URLs - never guessed that that's what you meant in "URL/DOI/ISBN". This didn't matter while there was a toolforge tool for Google Books but it's gone. Maybe provide some sort of hint in the tool itself? Chiswick Chap (talk) 16:02, 15 November 2021 (UTC)[reply]

Hi, Chiswick Chap! Thanks for your suggestion. Actually there is a hint in the footer message mentioning Google Books. I don't want to make the button's text too long, not sure how I can improve this. Dalba 11:15, 1 January 2022 (UTC)[reply]

Citer date bug[edit]

The citer template has an edge case bug for dates on the first day of the month. It uses the previous month in the date. For example, for the URL, with the date format 1 January 2020, it generates output containing the date 1 December 2021 instead of 1 January 2022. (It happens on the first of any month -- the year change is unrelated). --Whywhenwhohow (talk) 02:47, 1 January 2022 (UTC)[reply]

Each click of a date format at the top of the page changes the month to an earlier month.
  • Click January 1, 2020 gets November 1, 2021
  • Click Jan 1, 2020 gets Oct 1, 2021
  • Click 1 January 2020 gets 1 September 2021
  • Click 1 Jan 2020 gets 1 Aug 2021
--Whywhenwhohow (talk) 07:28, 1 January 2022 (UTC)[reply]
@Whywhenwhohow, you're right. There was a timezone conversion bug. I think I've fixed it with the latest update. Thanks for reporting the issue. Dalba 11:29, 1 January 2022 (UTC)[reply]
It looks like there is still a bug. Using the 2020-01-01 format for the URL above displays December 31 instead of January 1. Then clicking any other date format changes the displayed date to December 30. --Whywhenwhohow (talk) 19:01, 1 January 2022 (UTC)[reply]
@Whywhenwhohow, I cannot reproduce the issue anymore. Try clearing your browser's cache or if possible on another computer. Dalba 15:39, 2 January 2022 (UTC)[reply]

It exhibits the same behavior elsewhere. It decrements the date and the access-date.

Start with date format "2020-01-01" for the BBC URL and see date=2022-01-01[1]

Click date format "1 January 2020" (or any other date format) and see date=31 December 2021[2]

Click date format "2020-01-01" and see date=2021-12-31[3]

Click date format "1 January 2020" (or any other date format) and see date=30 December 2021[4]

Click date format "2020-01-01" and see date=2021-12-30[5]

Click date format "1 January 2020" (or any other date format) and see date=29 December 2021[6]


  1. "Betty White: Biden leads tributes for Golden Girls actress". BBC News. 2022-01-01. Retrieved 2022-01-02. 
  2. "Betty White: Biden leads tributes for Golden Girls actress". BBC News. 31 December 2021. Retrieved 1 January 2022. 
  3. "Betty White: Biden leads tributes for Golden Girls actress". BBC News. 2021-12-31. Retrieved 2022-01-01. 
  4. "Betty White: Biden leads tributes for Golden Girls actress". BBC News. 30 December 2021. Retrieved 31 December 2021. 
  5. "Betty White: Biden leads tributes for Golden Girls actress". BBC News. 2021-12-30. Retrieved 2021-12-31. 
  6. "Betty White: Biden leads tributes for Golden Girls actress". BBC News. 29 December 2021. Retrieved 30 December 2021. 
I see what you mean, Whywhenwhohow, but unfortunately I can not reproduce. On my machine the converted dates all keep pointing to January 1st.
Which browser are you using? Have you tried latest version of Firefox? (I'm not suggesting that you should change your browser, just want to figure out if it is browser-related.)
Also, if you don't mind sharing, what timezone is your computer set on? Is it Greenwich Mean Time/Pacific Standard Time/etc? Dalba 04:43, 3 January 2022 (UTC)[reply]
It happens in Chrome and Firefox using EST. Can you try it on a mobile device and see how it behaves there? --Whywhenwhohow (talk) 07:57, 3 January 2022 (UTC)[reply]
@Whywhenwhohow, thanks. I was able to reproduce and debug the issue in EST timezone and came up with a fix. I've updated citer. Dalba 08:39, 7 January 2022 (UTC)[reply]
Thank you. Whywhenwhohow (talk) 19:39, 8 January 2022 (UTC)[reply]

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]

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.
  • 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]
@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]
Fixed. Dalba 04:29, 3 January 2022 (UTC)[reply]

@Dalba: Thank you for fixing. Citer appears to be having trouble with other 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]

@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 or some other URL to access citer? Dalba 09:33, 4 January 2022 (UTC)[reply]
I am using but the results for URLs from frequently fail. Sometimes it displays that "HTTP error" message immediately and other times it generates a citation. I just tried a different URL and it failed immediately. I tried
--Whywhenwhohow (talk) 23:24, 4 January 2022 (UTC)[reply]

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

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


  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 it uses November 1, 2012, instead of June 8, 2012.[1] For that URL is uses website instead of U.S. Food and Drug Administration. --Whywhenwhohow (talk) 22:31, 3 January 2022 (UTC)[reply]


  1. "FDA approves Perjeta for type of late-stage breast cancer". 1 November 2012. Archived from the original on 1 November 2012. Retrieved 3 January 2022. 

Citer doesn't recognize url[edit]

For some reason, it's only the AKC urls - I've tried clearing cache, reloading, using Chrome & Safari. Nada. Atsme📞📧 14:16, 20 April 2022 (UTC)[reply]

The size of the web page was unusually large. Citer refuses to process large documents to avoid any malicious requests and/or wasting processing time. Anyway, the previous size limit seemed to be too small, I've increased it to 10MB. That fixed the problem for this case. The size limit may still be too restrictive for some webpages. I may reconsider the size in the future. Thanks for reporting the issue. Dalba 06:03, 21 April 2022 (UTC)[reply]
They have recently added video, which may contribute to the larger size? More resources are adding various types of media so it's probably time to increase the size limit for those of us who are highly dependent on your wonderful tool. Atsme📞📧 12:37, 21 April 2022 (UTC)[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]

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]
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]

Inexplicably setting language to Chinese[edit]

I have found since yesterday that Citer seems to be interpreting all Australian ABC articles as lang=zh, e.g. - is this something to do with the ABC website, and/or is this something you can fix, please? Laterthanyouthink (talk) 02:53, 17 May 2022 (UTC)[reply]