Langbahn Team – Weltmeisterschaft

User talk:Citation bot/Archive 11

Archive 5Archive 9Archive 10Archive 11Archive 12Archive 13Archive 15

Convert hard spaces (various kinds) to regular spaces

This covers

Unicode

character

UTF-8

name
U+2000 e2 80 80 EN QUAD
U+2001 e2 80 81 EM QUAD
U+2002 e2 80 82 EN SPACE
U+2003 e2 80 83 EM SPACE
U+2004 e2 80 84 THREE-PER-EM SPACE
U+2005 e2 80 85 FOUR-PER-EM SPACE
U+2006 e2 80 86 SIX-PER-EM SPACE
U+2007 e2 80 87 FIGURE SPACE
U+2008 e2 80 88 PUNCTUATION SPACE
U+2009 e2 80 89 THIN SPACE
U+200A e2 80 8a HAIR SPACE

It creates diffs like this [1]. Headbomb {t · c · p · b} 12:30, 3 September 2018 (UTC)


Is it always the case that a user who enters one of these hard spaces truly wished to include a regular space? I think this is an instance where we would do well to respect manual input. I'm not aware of the bot introducing hard spaces from any of its own data sources. Martin (Smith609 – Talk) 12:03, 28 September 2018 (UTC)
See MOS/Text formatting: The only invisible characters in the editable text should be spaces and tabs. However, other invisible characters are often inserted inadvertently by pasting from a word processor.Jonesey95 (talk) 14:22, 28 September 2018 (UTC)
Any hard-coded non-regular spaces should be changed and normalized to regular spaces. If someone writes   explicitly, sure, respect that, but a hard-coded ones should be converted to normal spaces. Headbomb {t · c · p · b} 14:26, 28 September 2018 (UTC)
https://github.com/ms609/citation-bot/pull/894 AManWithNoPlan (talk) 02:52, 11 October 2018 (UTC)

{{fixed}}

Expand based upon chapter-url

@AManWithNoPlan:, to be clear, the request here is to do all the cleanup you do on |url= to |chapter-url= as well. Not just Research Gate chapter-urls. Headbomb {t · c · p · b} 23:59, 20 September 2018 (UTC)
If the citation has both, probably do chapter first since more specific? AManWithNoPlan (talk) 00:29, 21 September 2018 (UTC)
Doable, but more complicated than it looks. Will need to create do_the_url($url,$param) function that is called, where $param=FALSE for new ones. AManWithNoPlan (talk) 13:34, 21 September 2018 (UTC)
https://github.com/ms609/citation-bot/pull/882 AManWithNoPlan (talk) 02:56, 5 October 2018 (UTC)

{{fixed}}

Edit that only deletes empty parameter

Status
{{fixed}}
Reported by
Martin (Smith609 – Talk) 06:49, 29 September 2018 (UTC)
What happens
We edit a page to remove an empty url = parameter, but make no change that would be visible to the user (and leave other empty parameters untouched)
What should happen
Null changes such as this fall foul of WP bot policy
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Sandby_borg&diff=prev&oldid=861478626
We can't proceed until
Feedback from maintainers


I don't have a problem with some user-activate limited cosmetic edits. The real problem with this edit is that |url= is arguably a parameter we likely want to be used down the road, so removing it doesn't prevent bad usage/encourage standard usage. Unlike, say removing an empty |page= when |pages= is set. Headbomb {t · c · p · b} 11:18, 29 September 2018 (UTC)
https://github.com/ms609/citation-bot/pull/912 AManWithNoPlan (talk) 04:27, 10 October 2018 (UTC)

Some (specific) bibcodes still not expanded

Status
{{fixed}}
Reported by
Lithopsian (talk) 20:52, 29 September 2018 (UTC)
What happens
Run bot against, for example AM Herculis, and it consistently claims no match for three of the bibcodes (2000A&A...361..952H, 1995A&AS..114..269D, and 1977S&T....53..351L). Several others are consistently found.
What should happen
The bibcodes exist, they should be located, checked, and expanded if necessary. Presumably there is something about them, and a number of other bibcodes, that is not valid for the method the bot uses to look them up.
We can't proceed until
Feedback from maintainers


There is also a warning about arxiv text parsing in the bot output from AM Herculis. Not sure if its a bug or not. Lithopsian (talk) 20:54, 29 September 2018 (UTC)
Some more info: the problem is not specific to the bibcodes, but something related to the internal workings of the bot. See [2] for an example where bibcode 1995A&AS..114..269D was expanded without a problem. The bot wrote
> Checking AdsAbs database
   > AdsAbs search 255/50000:
       bibcode:"1995A
       AS..114..269D"
For the AM Herculis case, it wrote - oh dear, it wrote something else that I've now lost. A rerun gives:
> Expanding from BibCodes via AdsAbs API
  > AdsAbs 'big-query' request 26/1000:
      
  > Found match for bibcode 1977ApJ...216L..45K
  > Found match for bibcode 1977ApJ...212L.125T
  > Found match for bibcode 1924AN....220..249H
  ! No match for bibcode identifier: 2000A&A...361..952H; 1995A&AS..114..269D; 1977S&T....53..351L
  > Checking that DOI 10.1002/asna.19232201505 is operational... DOI ok.
Must be the & symbol AManWithNoPlan (talk) 18:23, 2 October 2018 (UTC)
The bigquery API accepts CSV-style form data in a POST request. However the bot is urlencoding it and I don't think this is correct. If so, it would explain the ampersand issue. Lithopsian (talk) 18:16, 3 October 2018 (UTC)
https://github.com/ms609/citation-bot/pull/883 AManWithNoPlan (talk) 03:16, 5 October 2018 (UTC)

Incorrectly converting to Journal

Status
{{fixed}}
Reported by
Keith D (talk) 23:52, 29 September 2018 (UTC)
What happens
The BOT is switching publisher to journal incorrectly and switching the template to {{cite newspaper}} for BBC News
What should happen
The template should be {{cite news}} and the BBC News should remain in the |publisher= field.
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Jeremy_Hunt&curid=1873613&diff=861767604&oldid=861527961
We can't proceed until
Feedback from maintainers


BBC News is reasonably/actually a |work=. --Izno (talk) 06:21, 30 September 2018 (UTC)

https://github.com/ms609/citation-bot/pull/915 AManWithNoPlan (talk) 00:35, 11 October 2018 (UTC)

JSTOR URL redirects

Status
{{fixed}}
Reported by
(tJosve05a (c) 06:46, 1 October 2018 (UTC)
What happens
https://www.jstor.org/stable/10.2307/40237667 redirects to https://www.jstor.org/stable/40237667
https://www.jstor.org/discover/10.2307/41887256?uid=2&uid=4&sid=21104309285677 redirects to https://www.jstor.org/stable/41887256
What should happen
Remove the |url= (perhaps not add the |doi= in the first place)
(Any JSTOR link shoud perhaps be removed if |jstor= is set)
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=User:Josve05a/cite-sandbox&oldid=861956218
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/888 AManWithNoPlan (talk) 03:17, 6 October 2018 (UTC)

Associated Press

Status
{{fixed}}
Reported by
(tJosve05a (c) 21:52, 3 October 2018 (UTC)
What should happen
|agency=Associated Press
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Maya_civilization&diff=prev&oldid=862359097
We can't proceed until
Feedback from maintainers


Unless ap.org is the domain in |url=, then Associated Press or AP should be |agency= and not |publisher=. (tJosve05a (c) 21:52, 3 October 2018 (UTC)

Also, remove Associated Press as author. (tJosve05a (c) 21:52, 3 October 2018 (UTC)
https://github.com/ms609/citation-bot/pull/884 AManWithNoPlan (talk) 03:33, 5 October 2018 (UTC)
not fixed. must be some other path in the code. AManWithNoPlan (talk) 03:25, 9 October 2018 (UTC)
https://github.com/ms609/citation-bot/pull/913 AManWithNoPlan (talk) 15:32, 10 October 2018 (UTC)

Clean up meta data put in title

Status
new bug
Reported by
(tJosve05a (c) 19:40, 6 October 2018 (UTC)
What happens
|title=Anti-inflammatory and analgesic effects of egg yolk: Mahmoudi M1 et.al., Eur Rev Med Pharmacol Sci. 2013 Feb;17(4):472-6
What should happen
|title=Anti-inflammatory and analgesic effects of egg yolk: A comparison between organic and machine made |journal=European Review for Medical and Pharmacological Sciences |volume=17 |issue=4 |pages=472–6
Relevant diffs/links
run bot on USA (2018-05-01). "Anti-inflammatory and analgesic effects of egg yolk: Mahmoudi M1 et.al., Eur Rev Med Pharmacol Sci. 2013 Feb;17(4):472-6". Ncbi.nlm.nih.gov. Retrieved 2018-08-27.
We can't proceed until
Feedback from maintainers


Is there anyway to detect this and have to bot "recreate" the title and remove all that metadata from the |title= when expanding? (tJosve05a (c) 19:40, 6 October 2018 (UTC)

Nope, because a lot of the times Errata and Comments look like that too. Headbomb {t · c · p · b} 22:49, 6 October 2018 (UTC)
indeed this would be an awesome feature, but very hard to do right without false positives. Also not too common. AManWithNoPlan (talk) 01:17, 7 October 2018 (UTC)
Which is why it would be awesome as a user-activated thing... **cough cough**. Headbomb {t · c · p · b} 01:20, 7 October 2018 (UTC)
sorry but i cannot hear your request over all the coughing AManWithNoPlan (talk) 02:07, 7 October 2018 (UTC)

{{wontfix}} Bring it up again if it continues to be a problem, and there are no other bugs. AManWithNoPlan (talk) 14:33, 11 October 2018 (UTC)

Invalid dates created

Status
{{fixed}}
Reported by
Keith D (talk) 14:33, 7 October 2018 (UTC)
What happens
Adds a date of |date=2014-07-01T23:50:00Z, 2014-07-01. Similar to report of User_talk:Citation_bot/Archive_10#Adds_time_element_to_ref_date that was indicated as fixed 27 September.
What should happen
Just the single date should be added without the time element |date=2014-07-01
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=World_war&diff=862813757&oldid=862011012
We can't proceed until
Feedback from maintainers


Bot uses " # # # citation_bot_placeholder_comment 15 # # # title " in edit summary

Status
{{fixed}}
Reported by
Redalert2fan (talk) 12:00, 9 October 2018 (UTC)
What happens
Bot uses " # # # citation_bot_placeholder_comment 15 # # # title " in edit summary.
What should happen
Bot should use the actual intended comment in the edit summary and not a placeholder.
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Peshawar&type=revision&diff=863211068&oldid=863210276
We can't proceed until
Feedback from maintainers


same as User_talk:Citation_bot/Archive_10#Weird_edit_summary. (tJosve05a (c) 12:17, 9 October 2018 (UTC)
That happens when there is a comment before the parameter name. parameters.php needs to put comments into the white space not the parameter name. Currently paramters with comments before the name are ignored completely. AManWithNoPlan (talk) 13:26, 9 October 2018 (UTC)
https://github.com/ms609/citation-bot/pull/909 AManWithNoPlan (talk) 16:22, 9 October 2018 (UTC)

redundant hdl url added

Status
{{fixed}}
Reported by
Headbomb {t · c · p · b} 16:53, 9 October 2018 (UTC)
What happens
Adds handle link despite having an hdl identifier set
Relevant diffs/links
[3]
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/911 AManWithNoPlan (talk) 17:33, 9 October 2018 (UTC)

Bot does not recognize 'encyclopedia=' in encyclopedia tag

Status
{{fixed}}
Reported by
-- AquaDTRS (talk) 21:34, 10 October 2018 (UTC)
What happens
The bot does not recognize the 'encyclopedia=' option in cite encyclopedia. I removed the 'journal=' option from a reference because its contents were duplicate to the contents of 'encyclopedia=', but the bot added the title of the encyclopedia back as a 'journal=' option
What should happen
The bot shouldn't have to create an additional field with a duplicate parameter
Relevant diffs/links
[4]
We can't proceed until
Feedback from maintainers


It is the wrong template, but the bot still did the wrong thing. AManWithNoPlan (talk) 21:56, 10 October 2018 (UTC)

https://github.com/ms609/citation-bot/pull/914/ AManWithNoPlan (talk) 23:49, 10 October 2018 (UTC)

Cite newspaper

Status
{{fixed}}
Reported by
(tJosve05a (c) 23:13, 3 October 2018 (UTC)
What happens
The bot converts from {{cite web}} to {{cite newspaper}}
What should happen
The bot should convert from {{cite web}} to {{cite news}}
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Mark_Hyman_(doctor)&diff=862368781&oldid=861892597
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/876 AManWithNoPlan (talk) 03:23, 4 October 2018 (UTC)

Do not change editor-first1 to editor1-first etc.

Status
{{fixed}}
Reported by
Matthiaspaul (talk) 12:21, 15 October 2018 (UTC)
What happens
editor-firstn parameter replaced by editorn-first, and editor-lastn parameter replaced by editorn-last. Might also affect other parameters following this pattern (like editor-linkn or author-first/last/linkn, but not in this example)
What should happen
These parameters should be left alone. (It is okay to insert the hyphen into parameters (editorlast -> editor-last etc.). It is also okay to expand the old parameters last and first to author-last/first or editor-last/first, when it is known, that the person was either an author or an editor.)
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Fourier_transform&action=historysubmit&type=revision&diff=855402769&oldid=854381158
We can't proceed until
Feedback from maintainers


Bot breaks template due to not recognizing |authorn-last=

Status
{{fixed}}
Reported by
(tJosve05a (c) 05:01, 2 October 2018 (UTC)
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=User%3AJosve05a%2Fcite-sandbox&diff=prev&oldid=862098771
We can't proceed until
Feedback from maintainers


Remove "subscription required" or replace with parameter

Status
new bug
Reported by
(tJosve05a (c) 17:49, 7 October 2018 (UTC)
What should happen

  • If removing |url= from a cite template, also remove {{subscription required}} if it is the only other content of the <ref></ref>.
  • If not removing |url= from a cite template, replace {{subscription required}} with |subscription=yes (from ouside the cite template to be included in the cite template) if it is the only other content of the <ref></ref>.
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Edward_Murray_%28Trinidad%29&diff=prev&oldid=862936354
We can't proceed until
Feedback from maintainers


That is actually really hard. Will have to think about. AManWithNoPlan (talk) 18:11, 7 October 2018 (UTC)
{{wontfix}} we are not setup to do that AManWithNoPlan (talk) 20:45, 16 October 2018 (UTC)

A lot of metadata from biodiversitylibrary.org is junk

Status
{{fixed}}
Reported by
(tJosve05a (c) 18:10, 12 October 2018 (UTC)
What happens
|publisher=[s.n.],
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Prunus&diff=863739577&oldid=859778742
We can't proceed until
Feedback from maintainers


Not really junk as the publisher is not specified. [s.n.] is for Sine nomine ie "without a name". Perhaps better to either omit - or include the text "Publisher not specified". - Aa77zz (talk) 18:48, 12 October 2018 (UTC)

https://github.com/ms609/citation-bot/pull/925 AManWithNoPlan (talk) 21:25, 12 October 2018 (UTC)
Also note there is a trailing comma at the end for some reason... (tJosve05a (c) 21:26, 12 October 2018 (UTC)

Bot seems to have problems with Korean


Just a note: using Wikipedia:REFLINKS these problems do not happen so it seems to be a problem with the bot. Redalert2fan (talk) 20:07, 12 October 2018 (UTC)
https://github.com/ms609/citation-bot/pull/926 AManWithNoPlan (talk) 21:24, 12 October 2018 (UTC)

Adding dates that are not English

Status
{{fixed}}
Reported by
Keith D (talk) 09:29, 13 October 2018 (UTC)
What happens
Added a date of |date=maanantai 14. heinäkuuta 2014
What should happen
Convert to appropriate English |date=14 July 2014
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Sixteen_Stone&diff=863797027&oldid=861966108
We can't proceed until
Feedback from maintainers


This will require 19 arrays. One for each month and day of the week padded with spaces. Each one will include a bunch of non-English words. Then using unicode aware case-insesitive regex search and replace would run padding punctuation and the string itself with spaces, then search and replace on arrays, then de-pad, lastly call our date handler and pray. AManWithNoPlan (talk) 13:00, 14 October 2018 (UTC)

in mean time we should look for year at end. That would catch 99% i guess. AManWithNoPlan (talk) 13:02, 14 October 2018 (UTC)
https://github.com/ms609/citation-bot/pull/931 AManWithNoPlan (talk) 21:28, 14 October 2018 (UTC)

Bot chokes on Bram van Leer

Headbomb {t · c · p · b} 22:55, 13 October 2018 (UTC)

Github code choked until I added debug printout. AManWithNoPlan (talk) 13:01, 14 October 2018 (UTC)
The bot is choking on essentially every page I try for a couple of days now. I don't see any obvious theme in the diagnostic output. Here's a couple of examples:
Lithopsian (talk) 18:46, 15 October 2018 (UTC)

{{fixed}}

If adding newspaper, remove the publisher if it is the same

Status
{{fixed}}
Reported by
(tJosve05a (c) 12:59, 14 October 2018 (UTC)
What happens
It added |newspaper=Los Angeles Times but didn't remove |publisher=Los Angeles Times
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Shiitake&diff=prev&oldid=864000314
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/933 AManWithNoPlan (talk) 17:04, 14 October 2018 (UTC)

CrossRef meta data provides invalid XML: the bot should fix it

Status
{{fixed}}
Reported by
(tJosve05a (c) 14:18, 14 October 2018 (UTC)
What happens
Bot adds |year=2017, while Crossref states[5] it is from Dec 2006
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=User%3AJosve05a%2Fcite-sandbox&diff=prev&oldid=864008373
We can't proceed until
Feedback from maintainers


In the api it states it was Published online: 30 Oct 2017, but published in 2006. (tJosve05a (c) 14:19, 14 October 2018 (UTC)
they give us two dates. Time to parse them all and pick print.
<year media_type="online">2017</year><year media_type="print">2006</year>
AManWithNoPlan (talk) 16:33, 14 October 2018 (UTC)

Honour the df=mdy-all card

Status
new bug
Reported by
Hawkeye7 (discuss) 19:37, 15 October 2018 (UTC)
What happens
Despite the presence of a df=mdy-all card, the citation Bot incorrectly added a date in YYYY-MM-DD format
What should happen
Ideally, date should be added in the required format. This may be known from the {{use}} card, or the |df= in the citation. If the Citation Bot cannot determine what format the date should be in, then it should not add it.
Relevant diffs/links
[6]
We can't proceed until
Feedback from maintainers


|df= makes whatever date is present display in the format in question--it is not a requirement on that date to be X or Y format. This is not an incorrect behavior. --Izno (talk) 19:52, 15 October 2018 (UTC)
Also, this parameter was created specifically for bots and other automated tools so that they would not have to worry about date formatting. IABot, last time I looked, even provides a blank |df= parameter for editors to use.
Trappist the monk (talk) 19:54, 15 October 2018 (UTC)
The |df= parameter does not do that - it displays wrongly, as you can see. I've added a {{nobots}} card to suppress the Citation bot. Hawkeye7 (discuss) 22:04, 15 October 2018 (UTC)
The |df= parameter does not do that - it displays wrongly, as you can see.
You are going to have to prove that. Here are the templates that you modified in your edit immediately subsequent to the bot's edit; here these templates are as the bot left them:
legend: – template has |df=mdy-all; – template does not have |df=):
The three templates where you changed |date= to |year= are excluded here as not relevant to this discussion.
Trappist the monk (talk) 22:43, 15 October 2018 (UTC)
Three of them were not archives, so there was no |df= parameter. (I've forgotten what the special meaning of |df= without a parameter is.) There was a {{Use mdy dates}} card which the Bot should have honoured. If the choice comes down to adding |df= to every citation, or a {{bots}} card to every article, then the latter wins hands down. Hawkeye7 (discuss) 01:57, 16 October 2018 (UTC)
That [three] of them were not archives does not prove your claim that the |df= parameter ... displays wrongly.
|df= has nothing to do with archives per se, just dates. When |df= is included in a cs1|2 template without a value, it has the same meaning as when the parameter is omitted entirely. Perhaps you are thinking of |dead-url= which empty means |dead-url=yes which is the default state when |dead-url= is omitted from the cs1|2 template. Because people forget this stuff, there is documentation at the template page. When you forget how a template parameter works, consult the documentation.
Trappist the monk (talk) 12:05, 16 October 2018 (UTC)
And I've spent a great deal of time updating template documentation that was missing or incorrect. In this case, the documentation doesn't say what meaning is when the |df= parameter is omitted entirely. It should default to the value of the {{use dmy dates}} or {{use mdy dates}} card, if present. The documentation implies that it does this, because it says: Use same format as other publication dates in the citations. I'm not going to update the documentation without confirmation from you. Hawkeye7 (discuss) 22:36, 16 October 2018 (UTC)
The only cs1|2 parameter that has meaning when empty or omitted is |dead-url= as I described above. cs1|2 templates cannot see what is outside of their bounding {{ and }}; for them, {{use dmy dates}} and {{use mdy dates}} do not exist. Use same format as other publication dates in the citations is a directive to the user, not an indication of what the template does.
Where does the term 'card' come from? You have used card in this discussion as a synonym for 'template' and 'parameter'.
Trappist the monk (talk) 09:12, 17 October 2018 (UTC)

Okay, I am withdrawing this. The title is wrong. Am raising two new bug reports. The bug report was wrong; I expected the Bot to use the correct date format and not rely on the df card, which is not normally present, or on its default behaviour when it is not, which is undocumented. But the CS template is correctly reformatting the date. Hawkeye7 (discuss) 22:58, 16 October 2018 (UTC)

{{notabug}} good discussion all around AManWithNoPlan (talk) 03:32, 17 October 2018 (UTC)

Changes of cite book to cite journal and book reviews

Re run of the bot on Glossary of bird terms initiated by Headbomb https://en.wikipedia.org/w/index.php?title=Glossary_of_bird_terms&diff=861412349&oldid=861412133

Two references to books with google scans were changed to cite journal. The books were Klein 1795 and Stark (& Sclater) 1900. The bot confused the books themselves with reviews of the books published in the journal Nature. Aa77zz (talk) 08:18, 27 September 2018 (UTC)

https://github.com/ms609/citation-bot/pull/942 AManWithNoPlan (talk) 17:19, 16 October 2018 (UTC)
mostly {{fixed}} AManWithNoPlan (talk) 18:03, 17 October 2018 (UTC)

URL retained on expansion

Status
new bug
Reported by
Martin (Smith609 – Talk) 16:36, 27 September 2018 (UTC)
What happens
Expanding from a canonical URL yields a DOI, making the URL redundant.
What should happen
The URL should be dropped. It's retained.
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Cloudinidae&type=revision&diff=861463732&oldid=861435217
We can't proceed until
Feedback from maintainers


Would have to input doi and follow urls and see if it kind of matched. AManWithNoPlan (talk) 01:37, 9 October 2018 (UTC)

Could also generate a list of publisher websites such as:
const PUBLISHER_WEBSITES = array('elsevier.com', 'springer.com', 'sciencedirect.com', 'tandfonline.com',
                                'taylorandfrancis.com', 'wiley.com', 'sagepub.com', 'sagepublications.com',
                                'scielo.org', 'scielo.br', 'degruyter.com', 'hindawi.com', 'inderscience.com',
                                'cambridge.org', '.oup.com', 'nature.com', 'macmillan.com', 'ieeexplore.ieee.org',
                                'worldscientific.com', 'iospress.com', 'iospress.nl', 'pnas.org');

and delete such urls if a DOI is present. AManWithNoPlan (talk) 14:39, 11 October 2018 (UTC)

https://github.com/ms609/citation-bot/pull/935 AManWithNoPlan (talk) 21:16, 14 October 2018 (UTC)
{{fixed}} AManWithNoPlan (talk) 13:57, 17 October 2018 (UTC)

If removing url, also remove website

Status
new bug
Reported by
(tJosve05a (c) 23:42, 14 October 2018 (UTC)
What happens
The bot removed the url and changed |work=www.papers.ssrn.com to |website=www.papers.ssrn.com
What should happen
Remove |website=www.papers.ssrn.com
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Steven_Drizin&diff=prev&oldid=864077782
We can't proceed until
Feedback from maintainers


{{cite web|url=https://papers.ssrn.com/sol3/papers.cfm?abstract_id=1134094 |title=The Problem of False Confessions in the Post-DNA World| work=www.papers.ssrn.com}} That is really hard to fix. That will take some thought. AManWithNoPlan (talk) 16:04, 16 October 2018 (UTC)

https://github.com/ms609/citation-bot/pull/940 and https://github.com/ms609/citation-bot/pull/939 AManWithNoPlan (talk) 16:18, 16 October 2018 (UTC)
{{fixed}} AManWithNoPlan (talk) 13:34, 17 October 2018 (UTC)

Use Tags (perhaps instead of edit summary)

In edits such as https://en.wikipedia.org/w/index.php?title=Arabs&diff=prev&oldid=857900782 we should start using Special:Tags (as ProveIt does in https://en.wikipedia.org/w/index.php?title=Radiation_Research&diff=prev&oldid=856780199) (tJosve05a (c) 19:40, 3 September 2018 (UTC)

Please give an example of what you feel would be better. AManWithNoPlan (talk) 13:26, 22 September 2018 (UTC)
The edit summary could be the same for now (unless other has better input), but implement a Special:Tag so these edits can be filtered etc. (tJosve05a (c) 14:15, 22 September 2018 (UTC)
What would be the purpose of filtering? i.e. what problem is this proposal trying to solve? We already have Special:Contributions/Citation_bot to view the bot's edits. Martin (Smith609 – Talk) 12:01, 28 September 2018 (UTC)
When it is an edit assisted with Citation bot (i.e. using my account), those do not show up on the bots contrib-page. (tJosve05a (c) 13:12, 28 September 2018 (UTC)
Three steps. A tag would need created (no idea how) The bot could then tag its own edits (useless and duplicates contributions). To make it useful another bot would then find all edits with our assisted by cite bot text in the summary and then tag it (no idea who would do that, but I would think it would not be very hard. AManWithNoPlan (talk) 03:22, 11 October 2018 (UTC)
In step 3, it should be the user when making the edit who ‘adds the tag’ automatically (see first link as how that tool automatically add the tag if their (JavaScript?)tool was used when editing. Not a bot who post-actively tags the edits, but the users themselves in real time. (tJosve05a (c) 15:08, 11 October 2018 (UTC)
Wikipedia:Tags has the info--admins can add tags on their wiki. --Izno (talk) 15:26, 11 October 2018 (UTC)
Orthogonal to tags would be for the bot to use Special:OAuth so that the edits can be attributed directly to the user who used the bot. --Izno (talk) 15:26, 11 October 2018 (UTC)
not {{fixed}} but closing discussion and making github issue since we agree. AManWithNoPlan (talk) 13:33, 18 October 2018 (UTC)
Would you mind linking that here before archiving? --Izno (talk) 15:03, 18 October 2018 (UTC)
(talk page watcher) You can find it here: https://github.com/ms609/citation-bot/issues/949 Redalert2fan (talk) 15:21, 18 October 2018 (UTC)

Question

How does one find out which editor is actually running the bot for a particular edit? I cannot believe that in a transparent and collegiate editing environment such as we (presumably) have, it is possible to edit truly anonymously via Citationbot? I note that the page reminds editors that they are responsible for every edit they make with the bot, but I do not see how that can be enforced if no-one knows who it actually is! Hopefully, I'm missing something blindingly obvious. Any thoughts? —SerialNumber54129 paranoia /cheap sh*t room 14:48, 2 October 2018 (UTC)

In most edits this is noted at the end of edit summaries. (tJosve05a (c) 15:57, 2 October 2018 (UTC)
Indeed it is; and as you can probably imagine, it is those that do not that I am interested in :) viz, they that merely say (...You can use this bot yourself. Report bugs here.|User-activated.) (undo), if yousee what I mean... —SerialNumber54129 paranoia /cheap sh*t room 16:10, 2 October 2018 (UTC)
Yeah, those are when a user runs the bot without &user=USERNAME in the URL. One could make that a prerequisite, but you can type whatever username you want...so not stopping anybody pretending to be "user foo". (tJosve05a (c) 16:25, 2 October 2018 (UTC)
While it is probably unlikely to happen, If I understand correctly from the explanation above it is also possible to put in a username of another user, which may be prone to abuse and could be seen as unintended behavior. Redalert2fan (talk) 13:35, 4 October 2018 (UTC)
Some links relevant I think. AManWithNoPlan (talk) 15:44, 11 October 2018 (UTC)
https://www.mediawiki.org/wiki/Special:OAuthListConsumers/view/369e0e1d1c504d1956b87af5942879c4
https://tools.wmflabs.org/oauth-hello-world/index.php?action=download
https://www.mediawiki.org/wiki/OAuth/For_Developers#PHP_client_without_using_any_libraries

Not {{fixed}} at this time but closing discussion and making a github issues AManWithNoPlan (talk) 13:30, 18 October 2018 (UTC)

Would you mind linking that here before archiving? --Izno (talk) 15:03, 18 October 2018 (UTC)
(talk page watcher) Seems like this is it: https://github.com/ms609/citation-bot/issues/948 Redalert2fan (talk) 15:18, 18 October 2018 (UTC)

Changing case of title is suspicious

In this edit the bot capitalized the first letter of each non-trivial word in a journal title. However, some citation styles use sentence case capitalization for titles. Also, the case in a citation is independent of how the source chooses to write the title, so grabbing it from some database is invalid. The citation style for templates does not specify whether titles should be so-called title case or sentence case. So why is the bot making this change? Jc3s5h (talk) 14:53, 15 October 2018 (UTC)

This has been the standard for over a decade -- even back when the bot ran automatically without a human requesting it. Others can chime in on this topic -- and we known that they will. AManWithNoPlan (talk) 15:53, 15 October 2018 (UTC)
See MOS:TITLECAPS. Headbomb {t · c · p · b} 19:15, 15 October 2018 (UTC)
In as much as WP:CITEVAR permits any consistent citation style, I believe that other parts of WP:MOS, including the page suggested by Headbomb, "Wikipedia:Manual of Style/Titles", does not apply to citations. I note that citation bot only operates on citation templates. In "Help:Citation Style 1", the "CS1 compliance with Wikipedia's Manual of Style" section goes out of it's way to explain that the date guidelines from "Wikipedia:Manual of Style/Dates and numbers" § Dates, months and years apply to dates in citation templates. The absence of other references to the "Manual of Style" also suggests that other aspects of citations with templates are not controlled by the "Manual of Style". Jc3s5h (talk) 21:22, 15 October 2018 (UTC)
They are. The reason why dates are singled out is because the CS1 templates will throw out errors when dates are badly presented, and the templates aren't smart enough to throw out errors when things aren't capitalized properly, so they're less of a need for explanations. MOS still applies though. Headbomb {t · c · p · b} 22:55, 15 October 2018 (UTC)

Looking at Help:CS1 more closely, I see this passage for title case:

Use title case unless the cited source covers a scientific, legal or other technical topic and sentence case is the predominant style in journals on that topic. Use either title case or sentence case consistently throughout the article.

Wikipedia:Manual of Style/Titles#Capital letters explicitly recognizes that citations may use sentence case titles if called for by the citation style used in a particular article:

WP:Citing sources § Citation style permits the use of pre-defined, off-Wikipedia citation styles within Wikipedia, and some of these expect sentence case for certain titles (usually article and chapter titles). Title case should not be imposed on such titles under such a citation style when that style is the one consistently used in an article.

So the bot should not be going around changing titles from sentence case to title case. Jc3s5h (talk) 00:21, 16 October 2018 (UTC)

That's chapter titles, not work titles. And yes the bot should change them, per longstanding consensus to do so and other bots that do similar things. Headbomb {t · c · p · b} 00:38, 16 October 2018 (UTC)
The type of work covered by the passage in Wikipedia:Manual of Style/Titles#Capital letters is journals. Journals don't have chapters, they have articles. It is common for titles of journal articles to be rendered in sentence case; the titles of the journals are typically title case. And bots designed to edit citation templates should obey the documentation for those citation templates. Jc3s5h (talk) 01:01, 16 October 2018 (UTC)
Same thing, chapter = article for journals, and bots follow both template docs and the MOS. And on Wikipedia, journal titles are capitalized in title case. See WP:JCW/Target1 for typical usage. Leaving obvious typos out, I count about 50ish cases out of 507819 citations (or <0.01%). And most of those were added by external tools by mistake. Headbomb {t · c · p · b} 01:10, 16 October 2018 (UTC)
{{notabug}} thank you head bombster AManWithNoPlan (talk) 13:16, 18 October 2018 (UTC)

Problems with twitter post / external links in title

Status
{{fixed}}
Reported by
Redalert2fan (talk) 14:08, 18 October 2018 (UTC)
What happens
Directly linked Twitter posts (/status in Twitter link) get the full tweet posted in "title=". Tweets which have an external link in them cause the "external link in title" error because of this. Images included in tweets are also posted in the "title=" parameter (pic.twitter).
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Good_Day_%28band%29&type=revision&diff=864634268&oldid=860695304 https://en.wikipedia.org/w/index.php?title=April_(girl_group)&diff=prev&oldid=864641467
We can't proceed until
Feedback from maintainers


{{cite tweet}}... (tJosve05a (c) 15:16, 18 October 2018 (UTC)
No twitter for us: https://github.com/ms609/citation-bot/pull/951 AManWithNoPlan (talk) 15:57, 18 October 2018 (UTC)
No URLs in titles: https://github.com/ms609/citation-bot/pull/950 AManWithNoPlan (talk) 15:57, 18 October 2018 (UTC)

Added foreign date

Status
{{fixed}}
Reported by
Keith D (talk) 16:35, 18 October 2018 (UTC)
What happens
Added a foreign date of |date=۱۳۸۶/۱۰/۰۴ - ۱۱:۳۰
What should happen
Convert to English or leave blank
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Fath_Safir&diff=864643784&oldid=864641644
We can't proceed until
Feedback from maintainers


this should help a lot https://github.com/ms609/citation-bot/pull/953 AManWithNoPlan (talk) 17:26, 18 October 2018 (UTC)

Dates that are newer than access dates

Status
{{fixed}}
Reported by
(tJosve05a (c) 20:11, 3 October 2018 (UTC)
What should happen
Do not add dates in |date= which are later than the date in |access-date=
We can't proceed until
Feedback from maintainers


That does point to data that has changed since being accessed. An example? AManWithNoPlan (talk) 20:18, 3 October 2018 (UTC)

When something lst was updated should not matter in most cases if they were accessed prior to the last update. What matters is when it was published. If it was published after the accessdate, then something is wrong with either the date or access-date and the bot should disengage due to GiGo causing more GiGo. (tJosve05a (c) 20:37, 3 October 2018 (UTC)
Examples from Spanish flu:

"The Nation's Health". www.flu.gov. U.S. Department of Health & Human Services. 2018-08-23. Archived from the original on 2016-10-26. Retrieved 2016-03-31. "How the US Army infected the World with Spanish Flu". Limpia por dentro. 2018-02-28. Retrieved 7 December 2017.

(tJosve05a (c) 20:37, 3 October 2018 (UTC)

In ref 1 above, it was even archived (|archive-date=)) on Wayback prior to the date. (tJosve05a (c) 20:38, 3 October 2018 (UTC)
Yeah, |date= should never be more recent than |archive-date=. See https://en.wikipedia.org/w/index.php?title=Aviation_fuel&type=revision&diff=864377933&oldid=864377553 (tJosve05a (c) 20:33, 16 October 2018 (UTC)
Occasionally a work published near the end of a year will be assigned a publication date of the next calendar year. I've only seen this with printed books; traditionally access dates are not put in a citation for a book, and also, access dates are not used when there is no URL. But there could be other kinds of work where the publisher gives a publication date later than the date the work is actually available, and is of a type where an access date would be appropriate. Jc3s5h (talk) 22:55, 16 October 2018 (UTC)
https://github.com/ms609/citation-bot/pull/955 AManWithNoPlan (talk) 04:15, 19 October 2018 (UTC)

Honour the use card in citations

Status
{{fixed}}
Reported by
Hawkeye7 (discuss) 22:52, 16 October 2018 (UTC)
What happens
Bot inserts dates in YYY-MM-DD format
What should happen
The Bot should honour the use card in the article, which lays down what date format is to be used.
Relevant diffs/links
[7]
We can't proceed until
Feedback from maintainers


Since all dates are added in add_if_new() it should not be too hard. I should note that when editing part of a page it will ignore the use template if it is not within the area being edited, but that is on user. AManWithNoPlan (talk) 03:35, 17 October 2018 (UTC)

Just by the way, the bot is not required to listen to this template; since it does not have to obeyed in references. https://en.wikipedia.org/wiki/Template:Use_mdy_dates We will try to support it, but I think this is worth noting for the talk record. AManWithNoPlan (talk) 16:32, 18 October 2018 (UTC)
https://github.com/ms609/citation-bot/pull/952 AManWithNoPlan (talk) 17:51, 18 October 2018 (UTC)

eLS (again)

Status
{{fixed}}
Reported by
(tJosve05a (c) 19:33, 17 October 2018 (UTC)
What happens
ELS
What should happen
eLS
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Chemotaxis&diff=prev&oldid=864386207
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/945 AManWithNoPlan (talk) 01:15, 18 October 2018 (UTC)

author oddities

Status
{{fixed}}
Reported by
(tJosve05a (c) 19:41, 17 October 2018 (UTC)
What happens
The bot added a |author2= but no |author1=, causing a CS1 error
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Carbapenem&diff=prev&oldid=864523972
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/947 AManWithNoPlan (talk) 03:44, 18 October 2018 (UTC)

the cause was that the first author is set, but to an empty string. AManWithNoPlan (talk) 13:17, 18 October 2018 (UTC)

chapter-format

Status
{{fixed}}
Reported by
Nessie (talk) 18:39, 19 October 2018 (UTC)
What happens
Bot changes
|url=
to
|chapter-url=
, yielding
|format= requires |url= (help).
What should happen
Bot should also change
|format=
into
|chapter-format=
Relevant diffs/links
Bourke, Richard Michael. "Edible indigenous nuts in Papua New Guinea". In Stevens, M.L.; Bourke, Richard Michael; Evans, Barry R. (eds.). South Pacific Indigenous Nuts. Proceedings of a workshop held from 31 October to 4 November 1994 at Le Lagon Resort, Port Vila, Vanuatu. Australian Centre for International Agricultural Research Proceedings. Vol. 69. Canberra: Australian Centre for International Agricultural Research. pp. 45–55. ISBN 1 86320 485 7. OCLC 38390455. Retrieved 27 September 2018. {{cite book}}: |format= requires |url= (help)
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/956 AManWithNoPlan (talk) 19:16, 19 October 2018 (UTC)

bot has to be run twice (Submitted manuscript)

Status
{{notabug}}
Reported by
(tJosve05a (c) 20:42, 20 October 2018 (UTC)
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Lithium–air_battery&diff=864972859&oldid=864956790
We can't proceed until
Feedback from maintainers


just the database not resolving one time. AManWithNoPlan (talk) 14:15, 21 October 2018 (UTC)

ISO dates with foreign character separators

Status
{{fixed}}
Reported by
Keith D (talk) 17:50, 19 October 2018 (UTC)
What happens
BOT adds a date of |date=2012年4月20日 星期五
What should happen
Add standard ISO date format |date=2012-04-20
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=LGBT_culture_in_Hong_Kong&diff=864797245&oldid=861817904
We can't proceed until
Feedback from maintainers


Playing wac-a-mole with dates https://github.com/ms609/citation-bot/pull/957 AManWithNoPlan (talk) 19:26, 19 October 2018 (UTC)

Caps bioRxiv

Status
{{fixed}}
Reported by
(tJosve05a (c) 23:33, 20 October 2018 (UTC)
What happens
|journal=BioRxiv
What should happen
|journal=bioRxiv
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Mushabian_culture&diff=864991945&oldid=860684465
We can't proceed until
Feedback from maintainers


Really should make use of {{cite biorxiv}} when possible. Headbomb {t · c · p · b} 00:48, 21 October 2018 (UTC)

Or at least convert |url= to |biorxiv= (tJosve05a (c) 00:52, 21 October 2018 (UTC)

https://github.com/ms609/citation-bot/pull/964 AManWithNoPlan (talk) 14:31, 21 October 2018 (UTC)

|title=Archived copy

Status
{{fixed}}
Reported by
(tJosve05a (c) 01:44, 21 October 2018 (UTC)
What happens
In order to do edits such as this, equate |title=Archived copy to be the same as |title= (empty)
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/966 AManWithNoPlan (talk) 20:47, 21 October 2018 (UTC)

weird dates

Status
{{fixed}}
Reported by
(tJosve05a (c) 17:07, 21 October 2018 (UTC)
What happens
The bot added |date=Date published (2018-10-21
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Musculoskeletal_disorder&diff=prev&oldid=865088959
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/957 AManWithNoPlan (talk) 20:39, 21 October 2018 (UTC)

bioone.org

Status
{{fixed}}
Reported by
(tJosve05a (c) 20:24, 21 October 2018 (UTC)
What happens
The bot added |url=http://www.bioone.org/doi/10.1643/IA02-085.1 despite |doi=10.1643/IA02-085.1 already linking to http://www.bioone.org/doi/abs/10.1643/IA02-085.1
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Lamprey&diff=prev&oldid=865111205
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/965 AManWithNoPlan (talk) 20:38, 21 October 2018 (UTC)

this happens because bioone claims to not be the primary server in the open access datbase. AManWithNoPlan (talk) 02:32, 22 October 2018 (UTC)

502 Bad Gateway

Status
{{fixed}}
Reported by
(tJosve05a (c) 22:58, 21 October 2018 (UTC)
What happens
|title=502 Bad Gateway
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Counterfeit_consumer_goods&diff=prev&oldid=865126305
We can't proceed until
Feedback from maintainers


interestingly that is the current title. once github is online i will add bad gateway to the magic list of bad title fragments. AManWithNoPlan (talk) 02:31, 22 October 2018 (UTC)

19xx is not a date

Status
{{fixed}}
Reported by
(tJosve05a (c) 22:40, 20 October 2018 (UTC)
What happens
I know it is GIGO, but |date=19xx should not be added.
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Micro_Focus&diff=864986295&oldid=862424269
We can't proceed until
Feedback from maintainers


Recognize date=24/01/2014 16:01:06

Status
{{fixed}}
Reported by
5 albert square (talk) 18:08, 21 October 2018 (UTC)
What happens
In this edit, it put that the date of the article was about two years after the accessdate?
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Lothian_Buses&diff=next&oldid=865058641
Replication instructions
In the article mentioned in the above link, Lothian Buses, I selected "edit this page" and then selected "citations" down at the bottom of the page.
We can't proceed until
Feedback from maintainers


thank you https://github.com/ms609/citation-bot/pull/957 AManWithNoPlan (talk) 20:39, 21 October 2018 (UTC)

Status
new bug
Reported by
(tJosve05a (c) 20:43, 20 October 2018 (UTC)
What happens
Bot added a dead link http://oasis.postech.ac.kr/handle/2014.oak/9965 (only leads me to a blank site)
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Lithium–air_battery&diff=864972859&oldid=864956790
We can't proceed until
Feedback from maintainers


we need to recognize that as a handle. As for link, it is sadly not dead, so detecting is hard. AManWithNoPlan (talk) 21:21, 20 October 2018 (UTC)

Is it possible to detect how big (in bytes) a page is or if there is visable content (or any content besides HTML tags) on it? (tJosve05a (c) 21:24, 20 October 2018 (UTC)
we already do that. that website lies to us. AManWithNoPlan (talk) 22:55, 20 October 2018 (UTC)
{{wontfix}} link works now too. AManWithNoPlan (talk) 19:54, 23 October 2018 (UTC)

dspace.library.uu.nl/handle

Status
{{fixed}}
Reported by
(tJosve05a (c) 09:38, 22 October 2018 (UTC)
What happens
|url=http://dspace.library.uu.nl/handle/1874/26559
What should happen
|hdl=1874/26559
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Acute_pancreatitis&diff=865184686&oldid=865184279
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/962 AManWithNoPlan (talk) 15:42, 23 October 2018 (UTC)

More biodiversitylibrary junk

Status
{{fixed}}
Reported by
(tJosve05a (c) 11:06, 23 October 2018 (UTC)
What happens
|volume=ser.6:t.4 (1884)
What should happen
Not exactly sure, but (1884) is not the volume, but the year.
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Colaspis&diff=prev&oldid=865347738
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/973 AManWithNoPlan (talk) 15:41, 23 October 2018 (UTC)

added incorrect date

Status
{{fixed}}
Reported by
Keith D (talk) 00:40, 24 October 2018 (UTC)
What happens
Added a date of |date=0001-11-30
What should happen
Add correct date as shown in reference |date=2012-06-20
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Charles_Kimbrough&diff=865433731&oldid=864725131
We can't proceed until
Feedback from maintainers


https://stackoverflow.com/questions/29917598/why-does-0000-00-00-000000-return-0001-11-30-000000 AManWithNoPlan (talk) 02:41, 24 October 2018 (UTC)

https://github.com/ms609/citation-bot/blob/GlazerMann-patch-10/expandFns.php AManWithNoPlan (talk) 02:41, 24 October 2018 (UTC)

Bug: doi-broken-date moves around

Status
new bug
Reported by
(tJosve05a (c) 18:46, 20 October 2018 (UTC)
What happens
Running the bot twice (without any code change) results in "more" edits.
What should happen
All "possible" edits should be made when running the bot. Running the bot again should result in no more change possible.
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Tower_of_Hanoi&diff=prev&oldid=864958352
We can't proceed until
Feedback from maintainers


{{notabug}} the bot updates the broken date, even if same AManWithNoPlan (talk) 03:44, 25 October 2018 (UTC)

OAbot

Has anyone looked at the source code for https://github.com/dissemin/oabot and seen if some of that code is possible of any use for this bot? Finding open access links etc. (tJosve05a (c) 16:25, 21 October 2018 (UTC)

link added to issue https://github.com/ms609/citation-bot/issues/948 AManWithNoPlan (talk) 18:36, 23 October 2018 (UTC)
not {{fixed}} not flag to archive. Thank you. AManWithNoPlan (talk) 03:19, 25 October 2018 (UTC)

Request: Strip unnecessary code in URL (which just redirects)


{{wontfix}} there are so few of this website, not worth risk of bugs. AManWithNoPlan (talk) 02:01, 25 October 2018 (UTC)

Request: Unsupported response for URL

Status
new bug
Reported by
(tJosve05a (c) 22:48, 24 October 2018 (UTC)
What happens
! Unsupported response for URL https://websites.pmc.ucsc.edu/~fnimmo/website/White_Pluto.pdf: {"url":"https://websites.pmc.ucsc.edu/~fnimmo/website/White_Pluto.pdf","session":"bZzvBT3v3FjS5bA","items":{"10.1016/j.apal.2014.04.005":"Definable functions continuous on curves in o-minimal structures","10.1016/j.icarus.2017.01.011":"Geological mapping of Sputnik Planitia on Pluto"}}
What should happen
Detect the valid doi in the unsupported response.
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=List_of_geological_features_on_Pluto&diff=prev&oldid=865598463
We can't proceed until
Feedback from maintainers


{{notabug}} it has two dois. which one should we pick. AManWithNoPlan (talk) 01:56, 25 October 2018 (UTC)

Better author cleanup

When the bot comes into across a citation like

  • {{Cite journal |last1=Todd |first1=Peter M |year=1994 |title=Music and Connectionism |journal=Acoustical Society of America Journal |volume=96 |issue=2 |pages=1218 |bibcode=1994ASAJ...96.1218T |doi=10.1121/1.410341}}

It should expand it to include the other authors

  • {{Cite journal |last1=Todd |first1=Peter M |last2=Loy |first2=D. Gareth |last3=Dipalma |first3=Louis P |last4=Hamilton |first4=David J |year=1994 |title=Music and Connectionism |journal=Acoustical Society of America Journal |volume=96 |issue=2 |pages=1218 |bibcode=1994ASAJ...96.1218T |doi=10.1121/1.410341}}

However, if |display-authors=etal is set, it shouldn't expand the authors. And if |display-authors=n is set, then it should only expand up to |lastn= and |firstn=.

Likewise, if it comes accross

{{Cite journal |last1=Todd |first1=Peter M |last2=Loy |first2=D. Gareth |last3=Dipalma |first3=Louis P |last4=Hamilton |first4=David J |last5= |first5= |last6= |first6= |last7= |first7= |year=1994 |title=Music and Connectionism |journal=Acoustical Society of America Journal |volume=96 |issue=2 |pages=1218 |bibcode=1994ASAJ...96.1218T |doi=10.1121/1.410341}}

Then it should remove all the empty |lastn=/|firstn= (or |authorn=). This would also apply to editors. Headbomb {t · c · p · b} 17:30, 16 September 2018 (UTC)

way too much whining when we do that. The actually has special code to not do this. AManWithNoPlan (talk) 13:14, 18 October 2018 (UTC)
Not if it's done the way I described above. Headbomb {t · c · p · b} 13:15, 18 October 2018 (UTC)
you would be surprised ..... AManWithNoPlan (talk) 21:23, 18 October 2018 (UTC)
Past complaints about the bot's behaviour with respect to authors was because it messed with style, and added authors when |display-authors=etal was specified, or beyond |lastn/firstn/authorn= when |display-authors=n was specified. I should know, I was one of those making those complaints. Headbomb {t · c · p · b} 21:29, 18 October 2018 (UTC)
okay. not high priority since notta bug. AManWithNoPlan (talk) 21:53, 18 October 2018 (UTC)

Is this helpful https://github.com/ms609/citation-bot/pull/954 AManWithNoPlan (talk) 00:07, 19 October 2018 (UTC)

I'd have to see it in action, because I have no idea what I'm looking at. Headbomb {t · c · p · b} 00:29, 19 October 2018 (UTC)

that reomves all blank author parameters if at least one is set. AManWithNoPlan (talk) 02:12, 19 October 2018 (UTC)

this is the current code that you do not like:

   // If we already have name parameters for author, don't add more
   if ($this->initial_author_params && in_array($param_name, FLATTENED_AUTHOR_PARAMETERS)) {
     return FALSE;
   }

we have to write quite a bit of code to deal with all the crazy existing data possibilities. pages with last1,2, and 3 and authors 4-7 all in last4 with commas AManWithNoPlan (talk) 02:12, 19 October 2018 (UTC)

{{fixed}} the easy part. If any author type parameter is set, then all the blank ones are deleted AManWithNoPlan (talk) 13:17, 25 October 2018 (UTC)

Book conversion: convert journal to series

Status
new bug
Reported by
Martin (Smith609 – Talk) 09:28, 24 September 2018 (UTC)
What happens
In the edit below, an isbn was spotted and a cite journal was translated to a cite book. The "Journal" parameter in that instance could have been converted to a "series" parameter. It's not clear whether this will always be the desired behaviour, but I'm putting it out there as a possibility; thoughts welcome.
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Cruziana&type=revision&diff=860971975&oldid=847142579
We can't proceed until
Feedback from maintainers


i have seen series with journals with books with chapters. AManWithNoPlan (talk) 02:15, 19 October 2018 (UTC)

{{wontfix}} since it is not always the case. AManWithNoPlan (talk) 13:15, 25 October 2018 (UTC)
Status
{{fixed}}
Reported by
(tJosve05a (c) 23:20, 20 October 2018 (UTC)
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Salimicrobium_salexigens&diff=prev&oldid=864990661
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/963 AManWithNoPlan (talk) 14:28, 21 October 2018 (UTC)

Caps AMC

Status
{{fixed}}
Reported by
(tJosve05a (c) 21:43, 24 October 2018 (UTC)
What happens
|journal=Communications of the Amc
What should happen
|journal=Communications of the AMC
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/979 AManWithNoPlan (talk) 02:01, 25 October 2018 (UTC)

Request: title={title}

Status
{{fixed}}
Reported by
(tJosve05a (c) 23:00, 24 October 2018 (UTC)
What should happen
Treat |title={title} the same as |title= (empty)
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Daktari_Ranch_affair&diff=865600057&oldid=865599986
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/981 AManWithNoPlan (talk) 03:15, 25 October 2018 (UTC)

Bug: Captcha in title

Status
{{fixed}}
Reported by
(tJosve05a (c) 23:45, 24 October 2018 (UTC)
What happens
|title=Captcha
What should happen
Add Captcha to the blacklist of titles
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Frisians&diff=prev&oldid=865603845
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/980 AManWithNoPlan (talk) 02:02, 25 October 2018 (UTC)

Error in shifting publisher info to author name parameter

Status
{{fixed}}
Reported by
Indy beetle (talk) 06:45, 26 October 2018 (UTC)
What happens
I cited a source, Summary of World Broadcasts: Non-Arab Africa and put under the publisher parameter "BBC Monitoring", the division of the British Broadcasting Corporation that compiled the radio transcripts and published them in the journal. The citation bot eliminated the publisher parameter and attempted to move the info to the author name parameters: as "last1 = Monitoring Service| first1 = British Broadcasting Corporation". This is quite incorrect, as BBC Monitoring should not be interpreted as an author in this case and, even if it was, it quite clearly doesn't divide according to a naming scheme for persons.
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Fall_of_Kampala&diff=865798581&oldid=865601532
We can't proceed until
Feedback from maintainers


thats mostly because the wrong citation template was used: cite journal instead of news or book. The bot is a litte over trusting of humans at times. AManWithNoPlan (talk) 17:26, 26 October 2018 (UTC)

It will work on the parts that are not related to the wrong template being used. AManWithNoPlan (talk) 17:31, 26 October 2018 (UTC)

Request: google.com.au

Status
{{fixed}}
Reported by
(tJosve05a (c) 20:31, 20 October 2018 (UTC)
What should happen
Remove |work=google.com.au from {{cite book}}
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Salami&diff=prev&oldid=864971556
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/983 AManWithNoPlan (talk) 03:29, 25 October 2018 (UTC)

Request: please replace existing URL in title

Status
{{fixed}}
Reported by
(tJosve05a (c) 21:27, 22 October 2018 (UTC)
What should happen

  • Treat <ref>[https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5474099/ https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5474099/]</ref> the same as <ref>https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5474099/</ref>
  • Treat {{cite foo|url=https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5474099/ |title=https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5474099/}} the same as {{cite foo|url=https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5474099/ |title=Empty}}
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=User%3AJosve05a%2Fcite-sandbox&diff=prev&oldid=865273531
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/978 AManWithNoPlan (talk) 03:16, 25 October 2018 (UTC)

Bug: PMC Journal Matter

Status
{{fixed}}
Reported by
(tJosve05a (c) 22:31, 22 October 2018 (UTC)
What happens
|url=https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2491514/pdf/annrcse01476-0076.pdf -> |pmc=2491514
What should happen
Do not change the PDF url (which is open source) to a mostly useless PMC link.
We can't proceed until
Feedback from maintainers


That's horrible of them. Other than checking for meta-data or scraping a webpage i cannot see any way to tell. Am i missing an obvious clue?. AManWithNoPlan (talk) 22:38, 22 October 2018 (UTC)

Not that I'm aware, I'm afraid... (tJosve05a (c) 22:41, 22 October 2018 (UTC)
crossing fingers that headers check will tell us. AManWithNoPlan (talk) 00:59, 23 October 2018 (UTC)
headers give 404 AManWithNoPlan (talk) 00:34, 24 October 2018 (UTC)
todo check for pdf. if so check https://stackoverflow.com/questions/408405/easy-way-to-test-a-url-for-404-in-php on simplified pmc link if good then drop url. id bad theb keep. AManWithNoPlan (talk) 04:28, 27 October 2018 (UTC)
https://github.com/ms609/citation-bot/pull/994 AManWithNoPlan (talk) 20:05, 27 October 2018 (UTC)

Caps EFSA

Status
{{fixed}}
Reported by
(tJosve05a (c) 06:16, 26 October 2018 (UTC)
What happens
|journal=Efsa Journal
What should happen
|journal=EFSA Journal
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Flavan-3-ol&diff=865779980&oldid=865737010
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/991 AManWithNoPlan (talk) 17:35, 26 October 2018 (UTC)

Bug: + in DOI

Status
{{fixed}}
Reported by
Headbomb {t · c · p · b} 02:06, 27 October 2018 (UTC)
What happens
changes |doi=10.1002/1097-0142(19920315)69:6+<1578::AID-CNCR2820691312>3.0.CO;2-K to |doi=10.1002/1097-0142(19920315)69:6 <1578::AID-CNCR2820691312>3.0.CO;2-K
What should happen
Leave the +
Relevant diffs/links
[8]
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/993 AManWithNoPlan (talk) 04:06, 27 October 2018 (UTC)

Bug: Crashes

Environmental impact of hydraulic fracturing in the United States
Inductive programming 

Headbomb {t · c · p · b}

https://github.com/ms609/citation-bot/pull/998 AManWithNoPlan (talk) 22:39, 29 October 2018 (UTC)
{{fixed}} AManWithNoPlan (talk) 12:33, 30 October 2018 (UTC)

Caps AAP

Status
{{fixed}}
Reported by
(tJosve05a (c) 08:53, 28 October 2018 (UTC)
What happens
|journal=Aap News
What should happen
|journal=AAP News
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Electronic_cigarette&diff=866108102&oldid=866073505
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/991 AManWithNoPlan (talk) 16:10, 28 October 2018 (UTC)

Use ISBN as actually printed on the book

Status
new bug
Reported by
Matthiaspaul (talk) 12:40, 15 October 2018 (UTC)
What happens
Valid printed ISBN-10 are replaced by calculated ISBN-13 for book published before 2000-01-01.
What should happen
In citations we should use the ISBN as printed on the book in front of us, not some ISBN found in the net, not some calculated ISBN. ISBN-13s were introduced on 2000-01-01, older books only contained an ISBN-10. Therefore the bot should not automatically replace an ISBN-10 by a calculated ISBN-13 for books published before 2000 (unless there would be a reprint edition actually using the ISBN-13). For books published after this date, it is okay to replace a ISBN-10 by a ISBN-13, but only if the ISBN-13 was found printed on the book as well. If both ISBNs are given on the book, we use the ISBN-13. While both ISBNs correlate with each other, using the "wrong" ISBN makes it difficult for humans to search for matches (not a problem for machines, which can calculate the ISBN).
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Fourier_transform&action=historysubmit&type=revision&diff=855402769&oldid=854381158
We can't proceed until
Feedback from maintainers


Older books with SBN's get listed with the equivalent ISBN. The agreement has always been strong when discussed. AManWithNoPlan (talk) 15:52, 16 October 2018 (UTC)

The agreement is to cite the actually used source per WP:SAYWHERE. There is no agreement to systematically change ISBN-10s to ISBN-13s unless the source provided an ISBN-13 as well, in particular not automatically. It wouldn't be a problem if ISBN-13s were a super-set of ISBN-10s, but the somewhat odd application of the checksum causes it to be different enough from the original number to no longer match searches - thereby making it more difficult for humans to look up and verify information. (You can't expect them to understand the inner semantics of an ISBN number or use an ISBN calculator.) This problem does not occur when SBNs are zero-expanded to ISBN-10s. --Matthiaspaul (talk) 16:04, 17 October 2018 (UTC)
During Featured Article nominations, we are always asked to change to ISBN 13, which indicates there is a consensus for that. If the bot can do this for us, it's a bonus. So this proposal needs to be made at MOS level, not here. Only if a new consensus is reached at MOS, the bot should be changed. FunkMonk (talk) 11:25, 19 October 2018 (UTC)
FAC often has separate (often-curious) requirements which are not guidelines across the board. --Izno (talk) 16:12, 19 October 2018 (UTC)
It's not necessarily a feature proposal, but more a request to refrain from doing something that's causing inconvenience to readers and editors (not to machines, because they can easily convert between the two schemes), and therefore is undesirable. WP:SAYWHERE is a guideline, and I can't find anything in the MOS which would override it.
AFAIR we also have a policy for bots not to carry out unnecessary edits, and while there are cases where switching out ISBNs is perfectly fine (within the parameters given above), systematically changing ISBN-10s into ISBN-13s (without even knowing if they can be actually found by humans printed on the book) is neither necessary nor an improvement. After all, the project is for humans, not machines.
It is not as if ISBN-10s would lack some vital information. So, if the bot cannot adhere to a ruleset similar to that suggested above, it should better just leave it alone and only add a known ISBN when a reference is lacking one (because that's an improvement). --Matthiaspaul (talk) 12:19, 20 October 2018 (UTC)
If the book is reprinted, it will have the isbn 13. Converting the isbn is like adding the area code to a phone number - sadly the last number might change or might not. ISBN organization does want people to use the 13 everywhere. AManWithNoPlan (talk) 13:24, 20 October 2018 (UTC)
Regarding "reprint edition", yes, they will very likely have ISBN-13s (however, I am also aware of a few examples, where this has not been the case). If so, and if the editor actually cites from the reprint edition, using the ISBN-13 is fine. I'm also fine with using the ISBN-13 from a reprint edition even if the editor cites from the original edition, for as long as the reprint is really a 1:1 reproduction of the original including all errata etc. - many reprints, however, have known errata corrected (sometimes even "silently"), so it is not identical and therefore the ISBN from the actually cited source should be used.
Regarding "ISBN organization", while they are not authorative for us, can you point to anything official from them saying so? Most probably, they just mean that new books should use the ISBN-13 (obvious). After all, they can't change the fact that books used shorter ISBNs for decades, and those books don't disappear or somehow magically change, so ISBN-10s will have to be supported ad infinitum. As an encyclopedia, we have the duty to not rewrite history either. --Matthiaspaul (talk) 21:53, 20 October 2018 (UTC)

{{notabug}} comment will block AManWithNoPlan (talk) 04:38, 31 October 2018 (UTC)


BBC listed as a newspaper - they are not a newspaper

Status
{{fixed}}
Reported by
5 albert square (talk) 22:01, 16 October 2018 (UTC)
What happens
When checking citations on the page shown on the link, the bot changed the template for the BBC link from website to news. However, it then listed the BBC as a newspaper and it isn't?
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Teleperformance&diff=next&oldid=864388381
We can't proceed until
Feedback from maintainers


Normally in this case we use {{cite news}} with |publisher=BBC. Hawkeye7 (discuss) 23:01, 17 October 2018 (UTC)

https://github.com/ms609/citation-bot/pull/946 AManWithNoPlan (talk) 02:18, 18 October 2018 (UTC)

Handles are not journals

Status
{{fixed}}
Reported by
Hawkeye7 (discuss) 23:00, 16 October 2018 (UTC)
What happens
Handle treated as if it were a journal, which they normally are not
What should happen
Treat as a web site
Relevant diffs/links
See below
We can't proceed until
Feedback from maintainers


PS: I don't even know what {{Cite journal|url=https://kb.osu.edu/dspace/handle/1811/50348|title=John Glenn standing beside his F-86 Sabre|journal=John Glenn Archives, the Ohio State University. Original Photo, 4 X 5 Inches|access-date=January 28, 2017|deadurl=no|archiveurl=https://web.archive.org/web/20170202120226/https://kb.osu.edu/dspace/handle/1811/50348|archivedate=February 2, 2017|df=mdy-all|year=1953}} is about. Why does it think that is a journal? Hawkeye7 (discuss) 01:57, 16 October 2018 (UTC)

almost everything with a hdl is a journal or journal like. AManWithNoPlan (talk) 02:20, 16 October 2018 (UTC)
Apparently hdls are not used for journals, but for ephemeral web sites. I'm not sure whether they should be used in cite web templates. In any case, the reviewers want access-dates so the sites can be retrieved from archive, and that requires URLs. Hawkeye7 (discuss) 11:06, 16 October 2018 (UTC)
Another example of a handle. How would the citation bot handle this? Hawkeye7 (discuss) 22:17, 16 October 2018 (UTC)
The last one is a journal. Journal was an agreed upon compromise since web is wrong AManWithNoPlan (talk) 00:29, 17 October 2018 (UTC)
No, it isn't a journal. Look again. Hawkeye7 (discuss) 05:04, 17 October 2018 (UTC)
Handles are used for all kinds of things, not just journals. --Matthiaspaul (talk) 15:31, 17 October 2018 (UTC)
{{Cite document}} is a good generic non-cite web alternative. Headbomb {t · c · p · b} 15:49, 17 October 2018 (UTC)
many of the options being discussed are actually the same template, just aliases. Since journal is not an alias, it was the choice made. AManWithNoPlan (talk) 19:53, 17 October 2018 (UTC)
I have no objections regarding the usage of {{cite document}} if it supports all provided parameters. However, {{cite journal}} is wrong, because "John Glenn Archives" is no journal. (I would probably use |work=John Glenn Archives |publisher=Ohio State University.) If the bot actually changed {{cite web}} to {{cite journal}} because of the existance of a handle, than that's wrong as well, because {{cite web}} might not have been the best possible choice, but it is not a wrong choice.
In cases where there is no 100% clear solution (or it is not known), the best solution for a bot is to just leave it alone because of the high risk of causing much damage in little time if it doesn't work properly. I mean, there certainly are clear-cut cases and it is a relief if a bot can fix them for us, however, it is counter-productive if we cannot trust in a near-perfect behaviour of a bot and have to monitor and clean up after it. I'm somewhat shocked by the large number of reported issues recently. --Matthiaspaul (talk) 21:42, 17 October 2018 (UTC)
https://github.com/ms609/citation-bot/pull/944 AManWithNoPlan (talk) 22:52, 17 October 2018 (UTC)
the number of issues is mostly feature requests and people using it a lot more. AManWithNoPlan (talk) 22:52, 17 October 2018 (UTC)

Submitted manuscript

Now that I think about it, what is even the point of adding |type=Submitted manuscript? I've seen no WP:MOS describing that this should be done, and nobody but this bot has ever added such comments about URLs. (tJosve05a (c) 00:12, 21 October 2018 (UTC)

It's pointless bloat. I remove those whenever I see them.Headbomb {t · c · p · b} 00:48, 21 October 2018 (UTC)

{{wontfix}} as my momma said, yah gotta take them good with dem bad. AManWithNoPlan (talk) 04:01, 31 October 2018 (UTC)

Request: Zenodo support

Status
new bug
Reported by
(tJosve05a (c) 16:29, 21 October 2018 (UTC)
What happens
Bot does not expand {{cite journal|url=https://zenodo.org/record/895627/files/article.pdf}}
What should happen

Relevant diffs/links

  1. https://en.wikipedia.org/w/index.php?title=User:Josve05a/cite-sandbox&oldid=865083103
  2. https://en.wikipedia.org/w/index.php?title=Mechuka&diff=prev&oldid=865087230
  3. https://en.wikipedia.org/w/index.php?title=KtbDarija&diff=865087738&oldid=865087707
We can't proceed until
Feedback from maintainers


Not a publisher: https://github.com/ms609/citation-bot/pull/999 AManWithNoPlan (talk) 03:56, 30 October 2018 (UTC)

Normalize URLs: https://github.com/ms609/citation-bot/pull/1000 AManWithNoPlan (talk) 03:56, 30 October 2018 (UTC)
{{fixed}} AManWithNoPlan (talk) 21:49, 30 October 2018 (UTC)

Publishers being deleted & specific pages being changed to page ranges...

Status
new bug
Reported by
Shearonink (talk) 21:43, 23 October 2018 (UTC)
What happens
Bot is "correcting" items or deleting items that are not in error
What should happen
Bot shouldn't be deleting the publisher, shouldn't be changing a specific page to page ranges
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=George_Washington&diff=865336527&oldid=865308831
We can't proceed until
Feedback from maintainers


Issue: Citation bot seems to be mistaking a single page as an error with the dash/etc and then changes that single page to a page range.
Issue: Citation bot is deleting the names of publishers in this article and in at least some of the cases I *know* - because I did the initial research - that the previous form of the publisher was not incorrect.
For instance:

  • journal=[[Slate (magazine)|Slate]], January 18, 2006 was changed to journal=Slate, January 18, 2006,
  • |publisher=Omohundro Institute of Early American History and Culture -> deleted,
  • |publisher=Presidential Studies Quarterly; Center for the Study of the Presidency and Congress -> deleted,
  • |publisher=Archeological Society of Virginia -> deleted

Shearonink (talk) 21:43, 23 October 2018 (UTC)

The deletion of publishers for journals is a feature AManWithNoPlan (talk) 22:27, 23 October 2018 (UTC)
Your use of |pages= is less than ideal: you should use |at= if you do not want the page numbers for the entire article. AManWithNoPlan (talk) 22:29, 23 October 2018 (UTC)
if you feel that a journal is obscure enough that people need publisher information, then the correct solution is to create a wikipage for the journal and wikilink to it and fix the problem once and for all globally. AManWithNoPlan (talk) 22:31, 23 October 2018 (UTC)
No, that's the wrong attitude. While an article about a journal is always appreciated, this is not a solution to the problem. By default, the publisher information belongs into a reference as much as the journal info. The solution is that your bot should simply refrain from performing actions, which remove info from citations humans felt useful or necessary to add in the first place. Your bot is not entitled to perform any actions overruling humans, except for correcting obvious errors. --Matthiaspaul (talk) 10:46, 24 October 2018 (UTC)
This is suboptimal. If he has a specific page, that is not only sufficient but preferred. The bot should not be making a change here. --Izno (talk) 04:17, 24 October 2018 (UTC)
Please disable the removal of publishers/publication locations in journals. I've been silently watching and I think we're at the point where if that is the way the bot should operate, that consensus should be assessed by an RFC or similar. I'm willing to walk over to WP:BOTN to see the bot blocked over this issue given how many complaints have come up here. --Izno (talk) 04:15, 24 October 2018 (UTC)
I second this, it is a bug, not a "feature". The whole idea of removing parameters with valid contents is silly, and it becomes outright dangerous if it is performed by a bot. Seeing edit summaries in articles and the wall of complaints on this page, it seems as if this bot is causing more damage to the project than doing good stuff - it is in no time destroying the work of human editors, who spent a lot of time to research proper references. In the case of rare references or less frequently visited articles, it means that it is causing damage which is likely to remain permanent. This disruption is not acceptable.
Regarding publishers, some users feel that the publisher is redundant info if it is named almost identical to the name of the journal, but other users don't agree with it. The template parameters exist not only for display purposes, but also to populate meta data, and if there really would be consensus (which I don't think it is) that the publisher name should not show up in rendered citations when it is identical to the journal, it is the citation template that should suppress it in the rendered display output, not a bot to remove the information from the reference at all. It's trying to fix a (perceived) problem at the wrong level.
--Matthiaspaul (talk) 10:46, 24 October 2018 (UTC)
(edit conflict) I don't understand why the deletion of the publisher parameter is a feature. And being "obscure" has nothing to do with it, I thought the whole point of cites was to give readers as much information about the source as possible, to make it easy for readers to verify asserted facts. Why does the bot delete the publisher? If that is a clearly-approved part of that particular citation template why does Citation bot over-write and remove editors' valid contributions? I don't understand the logic of the deletion.
The past content/edit was "page=" and the bot changed that parameter to "pages=". Template: Cite journal/Template:Cite journal#In-source locations states "page=" "The number of a single page in the source that supports the content" and doesn't say "at=" is preferred. Also, the "Templates" option in the editing window's toolbar only gives editors "page=", there is no "at=" included for "cite journal"... Maybe that's one reason why "at=" doesn't appear within these cites.
AManWithNoPlan As an aside, I was posting here because I didn't understand why something was happening, I thought it might be a bug in the bot. I understand that you might get a lot of queries about issues that possibly seem self-evident to you but people ask questions or post about a possible problem because they don't understand, because they want to know and want to learn. None of us came to Wikipedia knowing everything there is to know about it, even the most experienced editor around here was a complete Wikibaby at some point and there is so much Wikicoding and so many areas to edit in, we all continue to be Wikibabies to some degree. Shearonink (talk) 05:48, 24 October 2018 (UTC)
I appreciate your complaint. If i had a dollar for eveytime someone said that they had seen this bug for years and were only now reporting it...... AManWithNoPlan (talk) 13:13, 24 October 2018 (UTC)
What style guide out there requires/recommends putting the publisher for a journal citation? None. So that's why the bot does what it does concerning publishers in journal citations. For the other thing, that's due to parameter misuse. Put the date in |date= and the bot will behave.Headbomb {t · c · p · b} 13:21, 24 October 2018 (UTC)
What style guide out there requires/recommends putting the publisher for a journal citation? Irrelevant. If there is evidence of non-consensus regarding some action of the bot, WP:BOTPOL is clear. --Izno (talk) 13:37, 24 October 2018 (UTC)
I'd ask for consensus to include that information in the first place. No style guide out there recommends that. No mainstream professional publications includes them in citation. Not even our own Wikipedia:Citing sources#Journal articles mentions including publishers (see also CS1 documentation). The only people who want to include it are people under the misguided impression that just because a parameter exist, it must be used, and that citations need maximal information. By that logic, we'd include author emails, author addresses, ... just because this too is information. But it's not pertinent information. No one goes to a library and ask "I need Tattoli et al (2012) 'Bacterial autophagy'... I don't know the journal, but at the time, it was published by Landes Bioscience, who was acquired by Taylor & Francis." Headbomb {t · c · p · b} 14:44, 24 October 2018 (UTC)
I'd ask for consensus to include that information in the first place No, that's not how BOTPOL works. Do I actually need to recommend a block on the bot at BOTN? @AManWithNoPlan: --Izno (talk) 14:45, 24 October 2018 (UTC)
You're the one that wants to change longstanding behaviour, I'd argue the onus is on you to show that consensus changed. Headbomb {t · c · p · b} 14:53, 24 October 2018 (UTC)
As for blocking the bot, it does not make edits on its own. It is always user initiated. It is authorized to run unattended, but we do not do that at this time. AManWithNoPlan (talk) 15:22, 24 October 2018 (UTC)
That doesn't answer the question. Will you disable the specific functionality related to removal or will I need to go to BOTN? --Izno (talk) 16:00, 24 October 2018 (UTC)
Still irrelevant. "Longstanding behavior" is actually "Headbomb made this request solo within the past month or 3" and since that time several people have objected to it. That means it clearly does not have consensus at this time. BOTPOL is clear on the point. --Izno (talk) 16:00, 24 October 2018 (UTC)
I did not make that request, and, as AManWithNoPlan said, the bot is user-activated. Whoever activates it is responsible for its edits. If they want to have a special snowflake article that violates every style manual out there, that's on them. Headbomb {t · c · p · b} 16:31, 24 October 2018 (UTC)
this feature has been around for almost a decade (possibly longer), not several months. AManWithNoPlan (talk) 16:52, 24 October 2018 (UTC)
It is only now that I have seen this bot removing publisher information and doing all kind of other questionable things, and I'm around for much longer than a decade. So, either its behaviour has changed or it is used much more than in the past, or it is now used by people, who do use it to get rid of publisher info because that's their preferred style. Either case, fact is that there are now several complaints regarding the removal of publisher information on this page, indicating that this behaviour is not wanted. Therefore, remove this behaviour. --Matthiaspaul (talk) 22:39, 24 October 2018 (UTC)
scholarly journals do NOT include the publisher of journals in their footnotes. Style manuals like the CHICAGO MANUAL do not include recommend publishers for journals. One big problem is that publishers change very often and the current publisher had nothing to do with the article in question. Rjensen (talk) 00:13, 25 October 2018 (UTC)
Who cares about Chicago style? We are Wikipedia and have our own style(s), which allow such info to be included because it is useful to build the web (inside and outside of WP) and helps further research and reverse lookup. We are electronic, we are machine readable, space is no issue.
While it is true that publishers often change, even this is important information for historical research. There have been several cases already where knowing a publisher helped me to locate historical journal articles I would not have been able to identify without this information because of abbreviations and liberal spelling changes. And since we cannot predict the future, what might seem redundant info now might help future readers in a couple of decades to locate present sources. So, by default, publisher info is definitely useful and must not be removed.
Nobody can force you to add it if you just don't want to include it, but it is nothing but hybris to remove publisher info added by another editor because you don't find it useful. The other editor obviously did.
--Matthiaspaul (talk) 04:49, 25 October 2018 (UTC)
the publisher of a journal article is not useful info in any way for Wiki readers or editors and no one here has claimed it to be useful. When it comes to books the publisher is useful and important information because the publisher makes the decision on the publication and content of the book. In Scholarly journals, on the other hand, the publisher only handles subscriptions, printing, and mailing and online distribution of current issues. They were in no way responsible for issues before they became publisher and it is seriously misleading to suggest that to readers. Editorial decisions about the content are not made by the publisher but by an entirely separate organization called the editorial board of the Journal. Rjensen (talk) 05:11, 25 October 2018 (UTC)
If a journal is obscure enough that you need publisher information to find it then please create a page for that journal and help the world. The wiki style guides state even ISBNs are of questionable usefulness, so there certainly presidence for not adding every citation parameter. AManWithNoPlan (talk) 13:29, 25 October 2018 (UTC)
It is shocking to see that someone operating a bot has this attitude to problem solving - you are thereby serving your bot, but not the project.
Not every editor citing from a journal source is prepared to create an article about the journal, and why should s/he, anyway? As much as I appreciate it when someone writes an article, it is not necessary. --Matthiaspaul (talk) 21:32, 25 October 2018 (UTC)
It happens that I am one of those editors who find them useful for research, including the research necessary to further improve Wikipedia. I even gave examples. You will simply have to accept that different people have different expectations and needs. If you remove (correct) publisher info added by other editors, this is disruptive.
There is one exception: If the publisher name is identical to the journal name, this looks a bit odd in a citation (although it is technically correct and not redundant). Only in this case the publisher info can be suppressed, but this is something that should happen in the code of the citation template, not by removing the parameter value itself (and thereby losing the information that they are identical). --Matthiaspaul (talk) 21:32, 25 October 2018 (UTC)

The real solution is wikilinking to page about the journal. The publisher is relevent to the journal itself, not the page it is referenced on. AManWithNoPlan (talk) 02:10, 26 October 2018 (UTC)

Didn't really want to get involved here, but I think it is quite clear there is disagreement over the cite bot's ability to alter publisher info and it should be suspended pending further discussion. I don't think wikilinking every journal name is the solution, especially when there are journals that have no apparent notability. As for the comments about the limited usefulness of ISBNs (as if to say one style guide comment represents full consensus on a matter), I'd like to point out that every time I've brought an article through FA or A-class review (at the MilHist project) I've always been asked to provide a number identifier for books and journals. I would also like to note that the citation bot is removing publication location info too, and in my experience my peers have also preferred it when I include this info. -Indy beetle (talk) 07:01, 26 October 2018 (UTC)
Solution: Don't use the bot if you want to have an article that violates every style guide out there. The bot only removes locations for journals, since that too is useless. It leaves them where style guides recommends them (e.g. books)Headbomb {t · c · p · b} 11:12, 26 October 2018 (UTC)
Solution failure! I'm not initiating the bot, some other editor is and I'm getting tired of reverting them.--Sturmvogel 66 (talk) 00:40, 28 October 2018 (UTC)
Then talk to that editor and gain consensus for having non-standard citations that violate style guides. Or use {{nobots}} or equivalent.Headbomb {t · c · p · b} 01:15, 28 October 2018 (UTC)
Yes, I just discovered that bit of code, but I shouldn't have to be using it.--Sturmvogel 66 (talk) 02:06, 28 October 2018 (UTC)
And linking the publisher makes no difference; it still gets deleted. [9]--Sturmvogel 66 (talk) 12:28, 28 October 2018 (UTC)
Because it's still a {{cite journal}}, and that information is still useless for journals. What people said was to wikilink the journal (i.e. Warship International) to have readers find information about the publication if they want to know who the publisher is. Alternatively, you could {{nobots}} or {{cite journal<!-- Deny Citation Bot-->|...}}, or use {{cite magazine}} to cite it as magazine. Headbomb {t · c · p · b} 12:46, 28 October 2018 (UTC)
My mistake.--Sturmvogel 66 (talk) 16:47, 28 October 2018 (UTC)
"It is shocking to see that someone operating a bot...." odd comment considering that the operator is not involved in this conversation. AManWithNoPlan (talk) 01:31, 28 October 2018 (UTC)
"And linking the publisher makes no difference; it still gets deleted" that was never suggested by anyone that i saw. Linking thr journal was. AManWithNoPlan (talk) 16:16, 28 October 2018 (UTC)

{{notabug}} standard blocks work.

Request: via=PubMed

Status
{{fixed}}
Reported by
(tJosve05a (c) 09:21, 28 October 2018 (UTC)
What should happen
Remove |via=PubMed if no URL exists (even if a |pmid= exists)
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Poison_control_center&diff=next&oldid=866110444
We can't proceed until
Feedback from maintainers


If |pmid= exists and |url= points to the same page, then |url= along with |via=PubMed should be deleted. Boghog (talk) 09:41, 28 October 2018 (UTC)
So, the point is: if there is no url then remove via. AManWithNoPlan (talk) 16:01, 28 October 2018 (UTC)
There are two points. In addition to removing via if url is empty, also remove via (and the url) if the url points to the same page as pmid. Those are not the same thing. Is citation bot already doing the later? Boghog (talk) 16:38, 28 October 2018 (UTC)
It has been doing part two for years. If you have examples of it mot doingthat the please let us know. AManWithNoPlan (talk) 16:49, 28 October 2018 (UTC)
The bot used to not remove via=, thus it looks like a lot of PubMed and PubMed Central Vias need removed. AManWithNoPlan (talk) 18:00, 28 October 2018 (UTC)
https://github.com/ms609/citation-bot/pull/995 AManWithNoPlan (talk) 18:22, 28 October 2018 (UTC)
Also, JSTOR please https://en.wikipedia.org/w/index.php?title=Ingria&diff=866458590&oldid=866458289 (tJosve05a (c) 13:24, 30 October 2018 (UTC)

Bug: Bot chokes/crashes

Running https://tools.wmflabs.org/citations/process_page.php?edit=toolbar&slow=1&user=USERNAME&page=Polyphenol causes the bot to choke/stop mid-way.Polyphenol (tJosve05a (c) 12:52, 30 October 2018 (UTC)

https://github.com/ms609/citation-bot/pull/1002 AManWithNoPlan (talk) 16:24, 30 October 2018 (UTC)

{{fixed}}

NIAAA Publications

Status
new bug
Reported by
(tJosve05a (c) 15:17, 30 October 2018 (UTC)
What happens
Bot chnages |title=Archived copy to |title=NIAAA Publications
What should happen
Blacklist NIAAA Publications as a title
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Alcoholism&diff=prev&oldid=866473489
We can't proceed until
Feedback from maintainers


{{wontfix}} Not that common (tJosve05a (c) 15:34, 30 October 2018 (UTC)

Request: Drop non-USA Amazon ASIN that match ISBN

Status
{{fixed}}
Reported by
(tJosve05a (c) 18:41, 20 October 2018 (UTC)
What should happen
If |isbn= exists, do not convert amazon.co.uk URLs to ASIN.
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Molecular_dynamics&diff=prev&oldid=864957338
We can't proceed until
Feedback from maintainers


The second thing that's wrong in that diff is that the bot should use |asin=. --Izno (talk) 20:34, 20 October 2018 (UTC)
No, not always. |asin= always link to Amazon.com, not Amazon.co.uk. They may differ and sometimes do not carry the same titles, which might make a former .co.uk link to a |asin= become a dead link. (tJosve05a (c) 20:37, 20 October 2018 (UTC)
If you must link to amazon and you must link to the uk amazon then you should use |asin= and set |asin-tld=co.uk. But, in this:
{{Cite book|title=Molecular Modelling: Principles and Applications|last=Leach|first=Dr Andrew|date=30 January 2001|publisher=Prentice Hall|isbn=9780582382107|edition= 2nd|location=Harlow|language=English|id= {{ASIN|0582382106|country=uk}}}}
we have |isbn=9780582382107 which links to Special:BookSources where there are links to all of the amazon tlds and which holds the first 9 digits of the value in {{asin}} so {{asin}} can and should be deleted (we are not here to feed prospective customers to amazon or to any other book monger).
Also, |first=Dr Andrew should be |first=Andrew.
Trappist the monk (talk) 00:20, 25 October 2018 (UTC)
https://github.com/ms609/citation-bot/pull/1003 AManWithNoPlan (talk) 22:03, 30 October 2018 (UTC)

Request: Don't add DOI if broken

Status
new bug
Reported by
MeegsC (talk) 13:35, 22 October 2018 (UTC)
What happens
Bot adds broken DOI to article
What should happen
don't add a DOI if it doesn't work!
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Harrison_B._Tordoff&type=revision&diff=820824185&oldid=810037154
We can't proceed until
Feedback from maintainers


I keep removing this DOI (since a free PDF version is available and linked) and Citation Bot keeps putting it back. I first reported the broken DOI to the publisher in 2016; clearly, they're not going to fix it! MeegsC (talk) 13:35, 22 October 2018 (UTC)

See this. The fix is to put |doi=<!-- Deny CitationBot--> or similar. Headbomb {t · c · p · b} 13:40, 22 October 2018 (UTC)
And did you report the error from this page, or from the Tordoff article? Because you need to report the error from the publisher page. Headbomb {t · c · p · b} 13:41, 22 October 2018 (UTC)
https://github.com/ms609/citation-bot/pull/972 AManWithNoPlan (talk) 22:19, 22 October 2018 (UTC)
{{wontfix}} 99% of the time the doi soon activates. Just use comment to block. Also, despite being broken the doi is still usable using google. AManWithNoPlan (talk) 13:08, 31 October 2018 (UTC)

Decode HTML characters

Status
{{fixed}}
Reported by
(tJosve05a (c) 22:52, 30 October 2018 (UTC)
What happens
|title=A Criticism of the IASP&#39;s Definition of Pain
What should happen
|title=A Criticism of the IASP's Definition of Pain
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Pain_in_animals&diff=prev&oldid=866534418
We can't proceed until
Feedback from maintainers


wikify_external_text() missed that. Odd. AManWithNoPlan (talk) 23:06, 30 October 2018 (UTC)

https://github.com/ms609/citation-bot/pull/1004 apostrophe was never done. only quotes. AManWithNoPlan (talk) 04:17, 31 October 2018 (UTC)

Request: Don't add web.archive.org in |url=

Status
dates {{fixed}}
Reported by
(tJosve05a (c) 17:48, 8 October 2018 (UTC)
What happens
The bot tries to change:
  • <ref>[https://web.archive.org/web/20060503182230/http://www.britannica.com/eb/article-9015241]</ref>
    to
    <ref>{{cite web | url=https://web.archive.org/web/20060503182230/http://www.britannica.com/eb/article-9015241 | title=Bell Laboratories --� Encyclop�dia Britannica| date=2006-05-03}}</ref>

and

  • <ref>[https://web.archive.org/web/19970116221538/http://www.bell-labs.com/project/dali/]</ref>
    to
    <ref>{{cite web | url=https://web.archive.org/web/19970116221538/http://www.bell-labs.com/project/dali/ | title=The Dali Home Page| date=1997-01-16}}</ref>
What should happen
If the URL is https://web.archive.org/web/, add it in |archvie-url= and ad the original URL as the URL, etc.
We can't proceed until
Feedback from maintainers


Also, the dates should be added as |archive-date= and not as |date=. (tJosve05a (c) 17:49, 8 October 2018 (UTC)
Archive.org is the most common, but there is also webarchive.org and archive.is and others -- see WP:WEBARCHIVES for domain name particulars. Also they should have |dead-url=yes -- GreenC 19:36, 8 October 2018 (UTC)
No need to add |dead-url=yes because it does nothing; yes is the default state when |dead-url= is empty or omitted.
Trappist the monk (talk) 02:53, 9 October 2018 (UTC)
Isn't there another bot that cleans this up for us? AManWithNoPlan (talk) 17:41, 14 October 2018 (UTC)
{{wontfix}} at this time. I think there are other bots that handle all these various issues right now. AManWithNoPlan (talk)
@AManWithNoPlan: No bot corrects |date=1997-01-16 to |archive-date=1997-01-16, so we should at least not add |date= for such URLs. (tJosve05a (c) 14:39, 1 November 2018 (UTC)
Agreed the date is wrong and non-fixable by bot. IABot and WaybackMedic will do the rest but no guarantees if or when they get to it, they don't seek them out, it's incidental. It is involved to get it right due to the many archive services and URL patterns to extract the source URL and identify an archive URL. Should have a standard library for web archives, I have one but it's in a language no one else on Wikipedia uses. Some day I should learn PHP to port it for wider use. -- GreenC 14:44, 1 November 2018 (UTC)
It was said ---- No bot corrects |date=1997-01-16 to |archive-date=1997-01-16, so we should at least not add |date= for such URLs.---- I am curious your rational. In this case, the date and archive-date should be the same. It is the date that the URL is from. AManWithNoPlan (talk) 21:21, 1 November 2018 (UTC)
|date= is the date of publication of the source document, not the date it was archived at archive.org (not the same thing). Looking at the bottom of the page https://web.archive.org/web/19970116221538/http://www.bell-labs.com/project/dali/ one can see the correct date of publication if November 13, 1996. However determining this is beyond the scope of any bot. -- GreenC 21:26, 1 November 2018 (UTC)
Think "a book published on March 1912, but added on Google Books in 2017". In |date= we would add "March 1912" not "2017". Same with archvie dates. Just because archive.org archived it a specific date, that is not the date the document/page/nnewsarticle was published. (tJosve05a (c) 21:35, 1 November 2018 (UTC)

https://github.com/ms609/citation-bot/pull/1007 AManWithNoPlan (talk) 00:27, 2 November 2018 (UTC)

Request: Encyclopedia

Status
{{fixed}}
Reported by
(tJosve05a (c) 17:08, 20 October 2018 (UTC)
What happens
Ullmann's Encyclopedia of Industrial Chemistry in both |title= and |encyclopedia=
What should happen
Remove/forget |title= in {{cite encyclopedia}} if it is the same as in |encyclopedia=
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Shea_butter&diff=prev&oldid=864946581
We can't proceed until
Feedback from maintainers


What to do: https://en.wikipedia.org/w/index.php?title=Shea_butter&diff=864947033&oldid=864946581 (tJosve05a (c) 17:10, 20 October 2018 (UTC)

probably should have dropped blank editorn stuff instead of fixing too. AManWithNoPlan (talk) 17:29, 20 October 2018 (UTC)
https://github.com/ms609/citation-bot/pull/1010 AManWithNoPlan (talk) 14:12, 1 November 2018 (UTC)

bug: NCBI bookshelf

Status
{{fixed}}
Reported by
(tJosve05a (c) 22:28, 20 October 2018 (UTC)
What should happen

  • Either, Avoid adding |journal= when it is (almost) the same as the |title=
  • Or, Don't add |journal= to |cite book= (if it has title, chapter, and/or edition)
Relevant diffs/links
https://en.wikipedia.org/w/index.php?title=Picrotoxin&diff=864985213&oldid=864985007
We can't proceed until
Feedback from maintainers


https://github.com/ms609/citation-bot/pull/1008 AManWithNoPlan (talk) 00:01, 1 November 2018 (UTC)

upgrade: complex by-lines confusion

Status
mostly {{fixed}}
Reported by
Dmoore5556 (talk) 23:49, 28 October 2018 (UTC)
What happens
updating a citation on page 2018 World Series from here, thought author name was "Hunter Felt at Fenway Park" (last1=Park, first1=Hunter Felt at Fenway)
What should happen
only "Hunter Felt" is the author's name
We can't proceed until
Feedback from maintainers


Park, Hunter Felt at Fenway (2018-10-25). "David Price and bullpen star as Red Sox take 2-0 World Series lead over Dodgers". The Guardian. AManWithNoPlan (talk) 03:44, 29 October 2018 (UTC)

Not sure how to fix that. Not sure if there is any way for a non-human to understand that AManWithNoPlan (talk) 03:46, 29 October 2018 (UTC)
<p class="byline" data-link-name="byline" data-component="meta-byline"><span itemscope="" itemtype="http://schema.org/Person" itemprop="author">
<a rel="author" class="tone-colour" itemprop="sameAs" data-link-name="auto tag link" href="https://www.theguardian.com/profile/hunter-felt"><span itemprop="name">Hunter Felt</span></a></span> at Fenway Park</p>

Perhaps check for

<p itemprop="author"

or

<a rel="author"

(tJosve05a (c) 12:58, 30 October 2018 (UTC)

I should note that the above HTML is irrelevant since the code in question uses meta-data and that is sadly "byline":"Hunter Felt at Fenway Park". AManWithNoPlan (talk) 16:25, 30 October 2018 (UTC)
Perhaps if four or more spaces, do not split into first and last AManWithNoPlan (talk) 00:55, 1 November 2018 (UTC)
https://github.com/ms609/citation-bot/pull/1009 AManWithNoPlan (talk) 02:19, 1 November 2018 (UTC)
Status
{{fixed}}
Reported by
(tJosve05a (c) 23:17, 31 October 2018 (UTC)
What happens
{{cite web |title=Estados de acordo com a percentagem dos negros em 2009. |url=https://pt.wikipedia.org/wiki/Afro-brasileiros#/media/File:Pretos_no_Brasil_2009.png |website=Wikipedia |accessdate=10/28/2018|date=2018-10-18 }}
What should happen
{{cite web |title=Estados de acordo com a percentagem dos negros em 2009. |url=https://pt.wikipedia.org/wiki/Afro-brasileiros#/media/File:Pretos_no_Brasil_2009.png |website=Wikipedia |accessdate=10/28/2018}}
We can't proceed until
Feedback from maintainers


Do not add |date= to Wikipeida links, since, as we know, Wikipeid may be updated dayily. What counts is the |accessdate=. (tJosve05a (c) 23:17, 31 October 2018 (UTC)

https://github.com/ms609/citation-bot/pull/1007 AManWithNoPlan (talk) 23:28, 31 October 2018 (UTC)
A, why are we citing Wikipedia, and B, why is the correct fix not to point to a permanent version of the page instead, if there is some specific reason to cite Wikipedia? Citation bot shouldn't make a specific change regarding Wikipedia. --Izno (talk) 23:38, 31 October 2018 (UTC)
A & B: Ask the writers of the articles with Wikipedia references (there are a lot). The bot doe snot touch most references, however these are formatted as a cite template without dates, and that is a common parameter whcih should always otherwise be added, however, in this case it will not work. (tJosve05a (c) 23:40, 31 October 2018 (UTC)
The bot cannot fix that type of a problem. We do what we can do. AManWithNoPlan (talk) 23:54, 31 October 2018 (UTC)


Note that there is a URL inside the URL...(tJosve05a (c) 23:09, 1 November 2018 (UTC)
What kind of idiot sets that for their paper!!!! AManWithNoPlan (talk) 23:51, 1 November 2018 (UTC)
https://github.com/ms609/citation-bot/pull/1015 AManWithNoPlan (talk) 03:06, 2 November 2018 (UTC)