User talk:Citation bot/Archive 7
From Wikipedia, the free encyclopedia
| This is an archive of past discussions with User:Citation bot. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
| Archive 1 | ← | Archive 5 | Archive 6 | Archive 7 | Archive 8 | Archive 9 | Archive 10 |
Change ISBNs to ISBN 13?
Since this is now a requirement, would it be possible to make this bot change ISBNs to ISBN 13 when expanding citations? FunkMonk (talk) 21:52, 29 September 2017 (UTC)
- https://github.com/ms609/citation-bot/pull/205 Patch to add it. AManWithNoPlan (talk) 20:33, 3 October 2017 (UTC)
- {{resolved}} merged into Dev branch AManWithNoPlan (talk) 18:30, 6 October 2017 (UTC)
Spaces missing
- Status
- {{notabug}}
- Reported by
- — kashmiri TALK 07:36, 9 October 2017 (UTC)
- Type of bug
- Inconvenience
- What happens
- Actual: space missing from titles:
of a small-moleculeSMN2splicing modifier - What should happen
- Expected: space correctly rendered:
of a small-molecule SMN2 splicing modifier - Replication instructions
- Add <ref>{{cite journal | doi=10.1093/hmg/ddw062 }}</ref> to an article and process it with the bot. You will see spaces missing around the SMN2 italicised word in the article title.
- We can't proceed until
- Bot operator's feedback on what is feasible
Unfortunately, this is not a bug. This is GIGO. You can see the source of this information at Crossref, where the spaces are simply missing. The solution is to get the information fixed at Crossref. – Jonesey95 (talk) 12:40, 9 October 2017 (UTC)
- CrossRef loses italics almost all the time. AManWithNoPlan (talk) 13:18, 9 October 2017 (UTC)
Text replaced comment in doi= field
- Status
- {{fixed}}
- Reported by
- – Jonesey95 (talk) 12:55, 9 October 2017 (UTC)
- Type of bug
- Inconvenience: Humans must occasionally make immediate edits to clean up after the bot
- What happens
- The bot replaced a comment in a
|doi=field with "#+#+#+Citation+bot+:+comment+placeholder+2+#+#+#" - What should happen
- The bot should ignore comments
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Sparrow&type=revision&diff=804428335&oldid=804077349
- We can't proceed until
- "Operator"
I believe that the comment-related bugs have mostly been squashed, but this one happened on October 8, so it looks like it's in the current code (I think that long ago, the bot used to put a version number in its edit summary, which helped determine if the bug was current). – Jonesey95 (talk) 12:55, 9 October 2017 (UTC)
- this bug is fixed on the Dev branch. Dev branch should be moved to production after a little more testing. This does point to a different bug which is that the Bot marks comments as dead DOIs. AManWithNoPlan (talk) 13:16, 9 October 2017 (UTC)
- https://github.com/ms609/citation-bot/pull/226 AManWithNoPlan (talk) 14:40, 9 October 2017 (UTC)
{{resolved}} with this pull request AManWithNoPlan (talk) 02:31, 16 October 2017 (UTC)
Bot work continues in September 2017
Kaldari, AManWithNoPlan, and Smith609 are working hard on github to get a new version out very soon.
- Kaldari Post a message after updating -dev source. AManWithNoPlan (talk) 17:32, 6 September 2017 (UTC)
- @AManWithNoPlan: The dev version of citation bot is now completely updated and functioning: . Please test it and let me know if there are any issues. Kaldari (talk) 18:30, 6 September 2017 (UTC)
Fixed: comments, nowiki respected, other choices for |page=, losing jstor URL because of extraneous jstor=, Hearst Magazines is not an author, half dead doi - dx.doi.org works, but cross ref does not, Arxiv new style, Arxiv PDF links - do not add pdf to eprint value, Bibcodes that end with dot, plants.jstor.org is not jstor.org, Time Inc is not an author, the link that the done window gives you now works.
Not fixed: TitleCase for Journal names pulled from PubMed, ZooKeys special case, escaping wiki control characters within titles, unknown is not a journal title, changing dash to longer dash in URLs within pages.
AManWithNoPlan (talk) 23:48, 6 September 2017 (UTC)
- ZooKeys pull request made by my buddy. AManWithNoPlan (talk) 23:56, 6 September 2017 (UTC)
- BinCode pull request made by my buddy. Still left: TitleCase for Journal names pulled from PubMed, escaping wiki control characters within titles, changing dash to longer dash in URLs within pages. AManWithNoPlan (talk) 00:52, 7 September 2017 (UTC)
- Will do. Still some left. AManWithNoPlan (talk) 02:15, 7 September 2017 (UTC)
- probably good time to toss new code to non-development side AManWithNoPlan (talk) 02:41, 7 September 2017 (UTC)
- @AManWithNoPlan: I've updated the production code. Please test. Kaldari (talk) 16:58, 7 September 2017 (UTC)
- @Kaldari: can you also update the dev version and apply this patch to it. https://github.com/ms609/citation-bot/pull/124 It seems that this change did not work and we lost first1= AManWithNoPlan (talk) 17:51, 7 September 2017 (UTC)
- @Kaldari: and apply it to the non-dev version too. AManWithNoPlan (talk) 17:53, 7 September 2017 (UTC)
- @AManWithNoPlan: Done. Kaldari (talk) 18:19, 7 September 2017 (UTC)
- @Kaldari: I am not sure why, but the current bot version does not set
|first1=for pubmed stuff. AManWithNoPlan (talk) 18:52, 7 September 2017 (UTC)- @AManWithNoPlan: OK, I've rolled back the production Citations bot to the last known working version (7c625ba... Merge pull request #108 from kaldari/master). Can you test against that and see if the bug is fixed? Kaldari (talk) 19:26, 7 September 2017 (UTC)
- @Kaldari: I am not sure why, but the current bot version does not set
- @AManWithNoPlan: Done. Kaldari (talk) 18:19, 7 September 2017 (UTC)
- @Kaldari: and apply it to the non-dev version too. AManWithNoPlan (talk) 17:53, 7 September 2017 (UTC)
- @Kaldari: can you also update the dev version and apply this patch to it. https://github.com/ms609/citation-bot/pull/124 It seems that this change did not work and we lost first1= AManWithNoPlan (talk) 17:51, 7 September 2017 (UTC)
- @AManWithNoPlan: I've updated the production code. Please test. Kaldari (talk) 16:58, 7 September 2017 (UTC)
- probably good time to toss new code to non-development side AManWithNoPlan (talk) 02:41, 7 September 2017 (UTC)
@Kaldari: {{cite journal|pmid=12858711}} expands correctly with that version. I just removed the one pull request and added another. AManWithNoPlan (talk) 19:43, 7 September 2017 (UTC)
- Please update the dev version to the current code, but with this patch https://github.com/ms609/citation-bot/pull/125 applied. Please test on {{cite journal|pmid=12858711}} and if that fixes it, then update production too please. AManWithNoPlan (talk) 19:45, 7 September 2017 (UTC)
- @AManWithNoPlan: I've updated citations-dev (including pull request 125). Please test it out and let me know if you want me to update production as well. Kaldari (talk) 22:20, 9 September 2017 (UTC)
- @Kaldari:. It works and does not lose first1=. Go for it!! AManWithNoPlan (talk) 22:39, 9 September 2017 (UTC)
- @AManWithNoPlan: Done! Kaldari (talk) 22:44, 9 September 2017 (UTC)
- @Kaldari:. It works and does not lose first1=. Go for it!! AManWithNoPlan (talk) 22:39, 9 September 2017 (UTC)
- @AManWithNoPlan: I've updated citations-dev (including pull request 125). Please test it out and let me know if you want me to update production as well. Kaldari (talk) 22:20, 9 September 2017 (UTC)
@Kaldari:. Can you update the dev version with the github dev version. It has some patches that should be tested before we push it to master branch. AManWithNoPlan (talk) 03:18, 11 September 2017 (UTC)
- @AManWithNoPlan: Done. Kaldari (talk) 04:06, 11 September 2017 (UTC)
- @Kaldari:. Can you update the non-dev version with the wiki dev version. The dev version on wiki is working well. AManWithNoPlan (talk) 00:59, 13 September 2017 (UTC)
- @AManWithNoPlan: Production has now been updated to commit 606c9e42 (Merge pull request #140 from GlazerMann/patch-8). Kaldari (talk) 01:07, 14 September 2017 (UTC)
- @Kaldari:. Can you update the dev version with the github dev version. It has some patches that should be tested before we push it to master branch. AManWithNoPlan (talk) 13:50, 15 September 2017 (UTC)
- @AManWithNoPlan: Done. BTW, maybe we should start doing this over email or IRC instead of talk page posts :) Kaldari (talk) 17:42, 15 September 2017 (UTC)
- @Kaldari:. Can you update the dev version with the github dev version. It has some patches that should be tested before we push it to master branch. AManWithNoPlan (talk) 13:50, 15 September 2017 (UTC)
- @AManWithNoPlan: Production has now been updated to commit 606c9e42 (Merge pull request #140 from GlazerMann/patch-8). Kaldari (talk) 01:07, 14 September 2017 (UTC)
- @Kaldari:. Can you update the non-dev version with the wiki dev version. The dev version on wiki is working well. AManWithNoPlan (talk) 00:59, 13 September 2017 (UTC)
@Kaldari: Talk page has the advantage of people knowing what is going on. I should note that the dev version does not work. :-( There has been a lot of work done there and not all by me. Probably need to do a binary. Search to find the deadly pull. AManWithNoPlan (talk) 18:12, 15 September 2017 (UTC)
- @Kaldari: Please update the Dev version on wiki with dev version on github. AManWithNoPlan (talk) 17:14, 20 September 2017 (UTC)
- @AManWithNoPlan: It's updated, but it doesn't work: PHP Fatal error: Arrays are not allowed as constants in /mnt/nfs/labstore-secondary-tools-project/citations-dev/public_html/constants.php on line 116. Kaldari (talk) 21:24, 20 September 2017 (UTC)
- @Kaldari: What version of PHP is the tool server running? Older version do not allow const arrays. AManWithNoPlan (talk) 23:46, 20 September 2017 (UTC)
- @AManWithNoPlan: 5.5.9. Kaldari (talk) 23:51, 20 September 2017 (UTC)
- @Kaldari: https://github.com/ms609/citation-bot/pull/170 AManWithNoPlan (talk) 23:54, 20 September 2017 (UTC)
- @Kaldari: any hope of using a newer version--option at this maybe https://toolsadmin.wikimedia.org/tools/id/citations-dev/maintainers/ Martin wants it. AManWithNoPlan (talk) 00:09, 22 September 2017 (UTC)
- @Kaldari: https://github.com/ms609/citation-bot/pull/170 AManWithNoPlan (talk) 23:54, 20 September 2017 (UTC)
- @AManWithNoPlan: I know you can run PHP 5.6 (instead of 5.5.9) by using Kubernetes, but I don't know of any way to run PHP 7 on Tool Forge. Kaldari (talk) 19:26, 26 September 2017 (UTC)
Kaldari:. Could you try that for dev? AManWithNoPlan (talk) 19:53, 26 September 2017 (UTC)
- @AManWithNoPlan: 5.5.9. Kaldari (talk) 23:51, 20 September 2017 (UTC)
- @Kaldari: What version of PHP is the tool server running? Older version do not allow const arrays. AManWithNoPlan (talk) 23:46, 20 September 2017 (UTC)
- @AManWithNoPlan: It's updated, but it doesn't work: PHP Fatal error: Arrays are not allowed as constants in /mnt/nfs/labstore-secondary-tools-project/citations-dev/public_html/constants.php on line 116. Kaldari (talk) 21:24, 20 September 2017 (UTC)
{{fixed}} Flagging for automatic archiving.
Documentation is wrong
- Status
- {{Resolved}}
- Reported by
- Anomalocaris (talk) 23:53, 30 October 2017 (UTC)
- What happens
- Nothing
- What should happen
- The bot should do something
- We can't proceed until
- Input from editors
- Requested action from maintainer
- Help me discover what I'm doing wrong
- In "preferences" tab "Gadgets" under "Editing" I checked the second box, "Citation expander".
- I edit articles with incomplete refs, e.g.
<ref>{{cite news |url=https://www.nytimes.com/2016/11/23/well/move/born-to-move.html}}</ref>. I've tried it with and without the<ref>tags, with and without the brackets. - I click on the Citations button. It goes straight to the Show changes page without making any changes.
- My skin was MonoBook, so I changed it to Vector, but that didn't make any difference.
—Anomalocaris (talk) 23:53, 30 October 2017 (UTC)
- this bot does nothing with {{cite news}}. You want reFill https://en.wikipedia.org/wiki/User:Zhaofeng_Li/reFill AManWithNoPlan (talk) 23:58, 30 October 2017 (UTC)
- According to the documention at User:Citation bot/use, "Now you can type or paste in only the ISBN.... The only requirement is to use templates for citations: {{cite book}}...." So I tried
<ref>{{cite book |isbn=1118152182}}</ref>, clicked the Citations button and it didn't expand the reference. —Anomalocaris (talk) 01:42, 31 October 2017 (UTC)- Check the documentation again. It no longer says that. That was blocked years ago. AManWithNoPlan (talk) 02:18, 31 October 2017 (UTC)
- AManWithNoPlan: Thank you for fixing User:Citation bot/use to remove the mention of ISBN. I edited it further to clarify what it can do, and I invite you to take a look and make sure my change is correct. Anomalocaris (talk) 02:31, 31 October 2017 (UTC)
- Thank you. I cleaned up some more. AManWithNoPlan (talk) 02:41, 31 October 2017 (UTC)
- The ISBN feature got removed because the number of queries is limited. 500 queries per day limit. And each book is a separate query. If the bot adds this back, it would only be for cite book templates with nothing else present. AManWithNoPlan (talk) 02:51, 31 October 2017 (UTC)
- AManWithNoPlan: Thank you for cleaning up User:Citation bot/use. Now, hopefully, naive users will understand correctly what it can and cannot do, and not expect it to enhance bare URL links, among other things. —Anomalocaris (talk) 02:54, 31 October 2017 (UTC)
- ISBN support is coming soon. https://github.com/ms609/citation-bot/pull/265 AManWithNoPlan (talk) 19:46, 31 October 2017 (UTC)
- Thank you. I cleaned up some more. AManWithNoPlan (talk) 02:41, 31 October 2017 (UTC)
- AManWithNoPlan: Thank you for fixing User:Citation bot/use to remove the mention of ISBN. I edited it further to clarify what it can do, and I invite you to take a look and make sure my change is correct. Anomalocaris (talk) 02:31, 31 October 2017 (UTC)
- Check the documentation again. It no longer says that. That was blocked years ago. AManWithNoPlan (talk) 02:18, 31 October 2017 (UTC)
- According to the documention at User:Citation bot/use, "Now you can type or paste in only the ISBN.... The only requirement is to use templates for citations: {{cite book}}...." So I tried
Bot work continues in October 2017
@Kaldari: Any hope of updating Dev Version?? AManWithNoPlan (talk) 03:19, 2 October 2017 (UTC)
- @AManWithNoPlan: Updated to master (commit 42328d7c Merge pull request #202). Kaldari (talk) 17:27, 2 October 2017 (UTC)
- one bug in Dev branch. Incorrectly looks for title italic AManWithNoPlan (talk) 02:36, 5 October 2017 (UTC)
- @AManWithNoPlan: Dev updated to 72b28c75 (Merge pull request #228 from GlazerMann/patch-21). Kaldari (talk) 07:11, 13 October 2017 (UTC)
- one bug in Dev branch. Incorrectly looks for title italic AManWithNoPlan (talk) 02:36, 5 October 2017 (UTC)
- @AManWithNoPlan: Looks like it's outputting some debugging info: https://tools.wmflabs.org/citations-dev/doibot.php?edit=toolbar&slow=1&user=Kaldari&page=PP-90M1. Seems to be coming from Template.php. Also a stubbed credentials/mysql.login file needs to be added to the repo. See Travis failure at https://github.com/ms609/citation-bot/pull/229. Kaldari (talk) 07:59, 13 October 2017 (UTC)
- @Kaldari: and @Smith609:: We have bugs on the wiki version, but none that we know of in the github version. How about we try out the github development version on the wiki development tool. AManWithNoPlan (talk) 14:04, 18 October 2017 (UTC)
- @AManWithNoPlan: I updated the dev project to the latest release branch. It looks like it needs new credential files though. Can you email me what should be in the credential files? Kaldari (talk) 15:59, 18 October 2017 (UTC)
- @Kaldari: and @Smith609:; I do not have those files or information 🤔. AManWithNoPlan (talk) 16:30, 18 October 2017 (UTC)
- @AManWithNoPlan: OK, I think the dev installation is working as expected now. Let me know if you want me to update the production version as well. Kaldari (talk) 05:30, 20 October 2017 (UTC)
- Seems to work. Gadget API is broken. https://github.com/ms609/citation-bot/pull/251 AManWithNoPlan (talk) 15:53, 20 October 2017 (UTC)
- Flag this to archive. {{fixed}}
- Seems to work. Gadget API is broken. https://github.com/ms609/citation-bot/pull/251 AManWithNoPlan (talk) 15:53, 20 October 2017 (UTC)
- @AManWithNoPlan: OK, I think the dev installation is working as expected now. Let me know if you want me to update the production version as well. Kaldari (talk) 05:30, 20 October 2017 (UTC)
- @Kaldari: and @Smith609:; I do not have those files or information 🤔. AManWithNoPlan (talk) 16:30, 18 October 2017 (UTC)
- @AManWithNoPlan: I updated the dev project to the latest release branch. It looks like it needs new credential files though. Can you email me what should be in the credential files? Kaldari (talk) 15:59, 18 October 2017 (UTC)
- @Kaldari: and @Smith609:: We have bugs on the wiki version, but none that we know of in the github version. How about we try out the github development version on the wiki development tool. AManWithNoPlan (talk) 14:04, 18 October 2017 (UTC)
- @AManWithNoPlan: Looks like it's outputting some debugging info: https://tools.wmflabs.org/citations-dev/doibot.php?edit=toolbar&slow=1&user=Kaldari&page=PP-90M1. Seems to be coming from Template.php. Also a stubbed credentials/mysql.login file needs to be added to the repo. See Travis failure at https://github.com/ms609/citation-bot/pull/229. Kaldari (talk) 07:59, 13 October 2017 (UTC)
Loss of Data
Your bot has caused me to lose edits over the last 30 minutes - please get it to check whether a page is actively being used before it launches into its own editing.....Paul venter (talk) 12:22, 5 December 2017 (UTC)
- There’s no way to know if a page is being edited; so, what you suggest is impossible. Also, you could have saved your changes anyway. AManWithNoPlan (talk) 15:11, 5 December 2017 (UTC)
- {{notabug}}
15 January
recetly an admin wikipedia removed content and vaild sources from Shilpa Anand. Please rollback those content and sources.
This is not relevant here. Discuss on that pages talk page. AManWithNoPlan (talk) 14:50, 15 January 2018 (UTC)
{{notabug}}
Untitled_new_bug
- Status
- new bug
- Reported by
- Curiocurio talk) contribs) 17:19, 23 May 2018 (UTC)
- We can't proceed until
- Agreement on the best solution
Hello. Cancel, the bot indicated a duplicate date but showed a citation error. Curiocurio talk) contribs) 17:19, 23 May 2018 (UTC)
DUPLICATE_year
Not a bug. The purpose is to draw your attention to the two parameters of the same name. There are two |year= parameters in that citation – one must go. MediaWiki is telling you the same thing by emitting this error message when you preview the page:
- Warning: User:Shrike/Arthur Menachem Hantke is calling Template:Cite book with more than one value for the "year" parameter. Only the last value provided will be used. (Help)
—Trappist the monk (talk) 09:50, 26 May 2018 (UTC)
Bot Pages need cleaned up
- Status
- Not really a bug
- Reported by
- AManWithNoPlan (talk) 14:55, 19 October 2017 (UTC)
- Type of bug
- Improvement
- We can't proceed until
- A specific edit to the bot's code is requested below.
- Requested action from maintainer
- Flag pages with delete template
These outdated pages need flagged for deletion:
https://en.wikipedia.org/w/index.php?title=User_talk:Citation_bot/bugs&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/bugs/Archive_1&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/testcase/1&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/testcase/1/&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/testcase/2&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/testcase/2/&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/testcase/3&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/testcase/3/&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/testcase/4&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/testcase/4/&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/testcase/5&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/testcase/5/&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/testcase/6&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/testcase/7&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/parameters&redirect=no
https://en.wikipedia.org/w/index.php?title=User_talk:Citation_bot/parameters&redirect=no
https://en.wikipedia.org/w/index.php?title=User:Citation_bot/capitalisation_exclusions&redirect=no
https://en.wikipedia.org/w/index.php?title=User_talk:Citation_bot/Archive_index&redirect=no
@Kaldari: can you delete all these. AManWithNoPlan (talk) 13:53, 28 October 2017 (UTC)
- Some of the pages have incoming links. Is there any harm in letting those continue to exist as redirects? – Jonesey95 (talk) 15:21, 22 November 2017 (UTC)
- I see NO problem in that. Good catch. All of the other ones have no real incoming links and should go away. I have removed the bugs page from the list. AManWithNoPlan (talk) 17:04, 22 November 2017 (UTC)
DUPLICATE parameters
- Status
- {{not a bug}}
- Reported by
- Mjs1991 (talk) 22:17, 6 June 2018 (UTC)
- Type of bug
- Inconvenience
- What happens
- Bot added "Duplicate_first" in the cite web template, causing an error
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Something%27s_Changing&diff=844674962&oldid=844484843
- We can't proceed until
- Agreement on the best solution
Not a bug. The purpose is to draw your attention to the two parameters of the same name. There are two |first= parameters in that citation – one must go. MediaWiki is telling you the same thing by emitting this error message when you preview the page:
- Warning: Something's Changing is calling Template:Cite book with more than one value for the "first" parameter. Only the last value provided will be used. (Help)
—Trappist the monk (talk) 22:24, 6 June 2018 (UTC)
Duplicate publisher parameter
{{notabug}}
I am totally confused by this edit. What is the purpose of adding Duplicate_publisher parameter? How can the error that it produces be resolved (without the bot coming back and adding it back)?
Thanks!–CaroleHenson (talk) 01:44, 2 July 2018 (UTC)
- Never mind, figured it out.–CaroleHenson (talk) 01:47, 2 July 2018 (UTC)
Hyphenated page numbers
- Status
- {{not a bug}}
- Reported by
- Imzadi 1979 → 01:34, 3 July 2018 (UTC)
- Type of bug
- Cosmetic: The bot modifies appearance (e.g. capitalization) but not content
- What happens
- Bot changed the hyphens in hyphenated page numbers into dashes, incorrectly implying page ranges
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=U.S._Route_113&type=revision&diff=848603699&oldid=846061717
- We can't proceed until
- Bot operator's feedback on what is feasible
- Requested action from maintainer
- Stop making this change in an automated fashion.
- This is not a bug bot. Citation templates automatically convert hyphens to dashes as well. If you don't want hyphens to display as dashes, use {{hyphen}}, as explained in Help:CS1#Pages. Headbomb {t · c · p · b} 01:47, 3 July 2018 (UTC)
- I say that's a bug in both respects; if I want a hyphen, I should be able to type "-", not "{{hyphen}}". Imzadi 1979 → 02:42, 3 July 2018 (UTC)
- Except 99+% of the time, people type hyphens when endashes should be used. The automatic replacement fixes more errors than it breaks. Using {{hyphen}} is explicit those are to be hyphen, will make them display as hyphen rather than endashes, and every bot and AWB will leave them as hyphen. Headbomb {t · c · p · b} 02:53, 3 July 2018 (UTC)
- Imzadi1979: This limitation of citation templates is not exclusive to Citation Bot. If you look at citation 187 in the version of the article with hyphens, you can see that the citation template converted "S-2" to "S–2", etc. The documentation for the Cite Journal template explains two workarounds. – Jonesey95 (talk) 04:38, 3 July 2018 (UTC)
- Except 99+% of the time, people type hyphens when endashes should be used. The automatic replacement fixes more errors than it breaks. Using {{hyphen}} is explicit those are to be hyphen, will make them display as hyphen rather than endashes, and every bot and AWB will leave them as hyphen. Headbomb {t · c · p · b} 02:53, 3 July 2018 (UTC)
Duplicate_title
Changing the parameter (|title= ) to (|DUPLICATE_title= ) is no help Stop this Bot Gene Wilson (talk) 02:51, 6 July 2018 (UTC)
- Status
- {{not a bug}}
- Reported by
- Gene Wilson (talk) 02:51, 6 July 2018 (UTC)
- We can't proceed until
- Agreement on the best solution
This is a feature. When there are two identical parameters in a citation template, the bot renames one to DUPLICATE_xxx. It is pointing out the problem with the template. The solution is to choose one of the two parameters and remove the other one, or to convert it to an appropriate parameter. – Jonesey95 (talk) 03:28, 6 July 2018 (UTC)
improperly adds |chapter= to cite journal
- Status
- {{fixed}}
- Reported by
- Trappist the monk (talk) 21:47, 13 May 2018 (UTC)
- What happens
- improperly adds
|chapter=to{{cite journal}}which does not support that parameter or its aliases - Relevant diffs/links
- this edit
- We can't proceed until
- Agreement on the best solution
- If you follow the doi you will see that the citation really is to a chapter in a book. The error is that citation bot leaves it as {{cite journal}} rather than switching to a template that allows chapter parameters. The correct citation would be
- {{cite book|last1=Raynaud|first1=J.P.|title=Drug Design, Volume 8|last2=Ojasoo|first2=T.|last3=Bouton|first3=M.M.|last4=Philibert|first4=D.|year=1979|pages=169–214|doi=10.1016/B978-0-12-060308-4.50010-X|url=https://books.google.com/books?id=bhAlBQAAQBAJ&pg=PA169|isbn=9781483216102|chapter=Receptor Binding as a Tool in the Development of New Bioactive Steroids|series=Medicinal Chemistry: A Series of Monographs, Volume 11, Part H|editor-first=E. J.|editor-last=Ariëns|publisher=Academic Press}}
- Raynaud, J.P.; Ojasoo, T.; Bouton, M.M.; Philibert, D. (1979). "Receptor Binding as a Tool in the Development of New Bioactive Steroids". In Ariëns, E. J. (ed.). Drug Design, Volume 8. Medicinal Chemistry: A Series of Monographs, Volume 11, Part H. Academic Press. pp. 169–214. doi:10.1016/B978-0-12-060308-4.50010-X. ISBN 9781483216102.
- (Don't ask me why it says Volume 8 in one place and Volume 11 in the other, but I think maybe it means it's the 8th "Drug Design" volume and the 11th total volume in the series?) —David Eppstein (talk) 22:18, 13 May 2018 (UTC)
- fixed on GitHub. Needs updated. AManWithNoPlan (talk) 13:17, 24 May 2018 (UTC)
- Fix confirmed, though I note that the
vauthorsparameter is being replaced byauthors... is this desired behaviour? Martin (Smith609 – Talk) 07:20, 23 July 2018 (UTC)
- Fix confirmed, though I note that the
- fixed on GitHub. Needs updated. AManWithNoPlan (talk) 13:17, 24 May 2018 (UTC)
Author failure bracket parse
- Status
- {{fixed}}
- Reported by
- Widefox; talk 14:18, 8 July 2018 (UTC)
- Type of bug
- Improvement
- What happens
- bracket filled as surname instead of name due to "(sir)" in author data
- What should happen
- author1=Trench first1=Frederick William
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Thames_Embankment&diff=797474976&oldid=775708996
- We can't proceed until
- Bot operator's feedback on what is feasible
It may true that something is amiss in the bot with regard to brackets. As an editorial aside, pre- and post-nominals, honorifics, and the like, do not belong in the cs1|2 name-list parameters. Where they exist in cs1|2 templates, they should be removed.
—Trappist the monk (talk) 14:42, 8 July 2018 (UTC)
- https://github.com/ms609/citation-bot/pull/409 Really need to get this on the Wikipedia dev cite. AManWithNoPlan (talk) 03:50, 9 July 2018 (UTC)
login failure
- Status
- {{fixed}}
- Reported by
- Nessie (talk) 19:18, 22 July 2018 (UTC)
- Type of bug
- Inconvenience
- What happens
- Bot does not function:
Welcome to Citation Bot Please wait while the Citation bot processes the page you requested.
Establishing connection to Wikipedia servers with username Citation_bot... Could not log in to Wikipedia servers. Edits will not be committed.
- Relevant diffs/links
- https://tools.wmflabs.org/citations/doibot.php
- We can't proceed until
- Bot operator's feedback on what is feasible
Hopefully fixed right now. If not, try citations-dev (and let me know!) Martin (Smith609 – Talk) 07:10, 23 July 2018 (UTC)
- It's fixed for the one-page-at-a-time form, but doing a category is maybe working? it doesn't throw an error, but it doesn't say it finishes either:
- Also not working from the edit dialog Citations button, although it works from the Expand Citations link. Lithopsian (talk) 14:57, 23 July 2018 (UTC)
Bot still changing PLOS ONE to Plos One in Wikilinked names
- Status
- new bug
- Reported by
- Nessie (talk) 18:22, 25 October 2017 (UTC)
- Type of bug
- Cosmetic
- What happens
- Citation Bot changes PLOS ONE to Plos One
- What should happen
- Bot should change to PLOS One
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Littoraria_irrorata&diff=prev&oldid=807065478
- Replication instructions
- run citation bot on a page with a citation containing PLOS ONE
- We can't proceed until
- Agreement on the best solution
- Requested action from maintainer
- Code written
That is because the journal name is [[PLOS ONE]] and not PLOS ONE. We will look into adding code to check for wikilinked journal titles. AManWithNoPlan (talk) 19:55, 25 October 2017 (UTC)
- https://github.com/ms609/citation-bot/pull/259 AManWithNoPlan (talk) 20:40, 25 October 2017 (UTC)
{{fixed}} WikiLinked names are no longer fixed. AManWithNoPlan (talk) 23:37, 23 July 2018 (UTC)
Adds year even if date
- Status
- new bug
- Reported by
- Trappist the monk (talk) 10:48, 26 October 2017 (UTC)
- Type of bug
- Inconvenience: Humans must occasionally make immediate edits to clean up after the bot
- What happens
- Bot inappropriately adds
|year=when the cs1 - Relevant diffs/links
- here
- Replication instructions
- don't know, I'm not a user of this bot though the edit summary makes it look like the bot is making these edits autonomously
- We can't proceed until
- New bug-free version to be installed
Same as this bug report which has been marked as resolved. Clearly not.
—Trappist the monk (talk) 10:48, 26 October 2017 (UTC)
- It really would be good to get these bug fixes out onto Wikipedia. AManWithNoPlan (talk) 13:21, 26 October 2017 (UTC)
- Current un-merged so-called bugs are at https://github.com/ms609/citation-bot/pulls Two are internal coding things that are simply making code cleaner. One is for the fact that the gadget API is broken in Development version. One is the above bug that journals with funky spelling lose it when wiki-linked. AManWithNoPlan (talk) 13:27, 26 October 2017 (UTC)
{{fixed}}
|display-authors= value same as number of authors listed in template
- Status
- new bug
- Reported by
- Trappist the monk (talk) 22:53, 26 October 2017 (UTC)
- Type of bug
- Inconvenience: Humans must occasionally make immediate edits to clean up after the bot
- What happens
- bot adds
|display-authors=1when only one author is listed - Relevant diffs/links
- diff
- Replication instructions
- don't know, I don't use this bot
- We can't proceed until
- Agreement on the best solution
cs1|2 adds citations to Category:CS1 maint: display-authors when |display-authors= is a assigned a value that is greater than or equal to the number of authors listed by |last= and |first= or |authorn= because setting |display-authors= to such a value is meaningless. Granted, in this particular case, the original: |first1=Paul De Vos ... [et al.], is just garbage. Still, the bot should not be using a numeric value when all listed authors are to be displayed. In this case, the correct thing for the bot to have done would have been to set |display-authors=etal.
This same applies to |display-editors= and the editor parameters.
—Trappist the monk (talk) 22:53, 26 October 2017 (UTC)
- Fixed in development version already. AManWithNoPlan (talk) 23:53, 26 October 2017 (UTC)
- congratulations to smith on totally fixing this bug before it was reported AManWithNoPlan (talk) 00:25, 27 October 2017 (UTC)
{{fixed}}
mml tags
- Status
- new bug
- Reported by
- Lithopsian (talk) 15:18, 27 October 2017 (UTC)
- Type of bug
- Inconvenience: Humans must occasionally make immediate edits to clean up after the bot
- What happens
- This is rare, but for example in sigma Cassiopeiae journal titles become mangled with a huge stream of xml. The journal in this case is here. It only seems to happen with a doi in the template. I['ll add a diff from my sandbox showing the citation bot expansion.
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=User:Lithopsian/sandbox&diff=807374717&oldid=807374663
- We can't proceed until
- Agreement on the best solution
Fixed in development version. Thanks to Smith for fixing this. I know I did not. This is an example of how the code coverage tool pointed out untested code. AManWithNoPlan (talk) 15:32, 27 October 2017 (UTC)
{{fixed}}
Wrecks patent citation
- Status
- new bug
- Reported by
- Glrx (talk) 20:09, 29 October 2017 (UTC)
- Type of bug
- Deleterious
- What happens
- patent citation has inventors turned into editors; also volume in another citation deleted
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Window_function&diff=806166293&oldid=804493441
- We can't proceed until
- Agreement on the best solution
I would add that the bot should never duplicate |url= into a redundant identifier as it did in this same edit, adding |doi=10.1007/. If the bot is going to do this, it should delete the value in |url=.
—Trappist the monk (talk) 20:29, 29 October 2017 (UTC)
- Patent problem fixed in Development branch. Looking into DOI AManWithNoPlan (talk) 22:15, 29 October 2017 (UTC)
- DOI fix submitted https://github.com/ms609/citation-bot/pull/261 AManWithNoPlan (talk) 01:28, 30 October 2017 (UTC)
{{fixed}}
Incorrect author in Google Books citations
- Status
- new bug
- Reported by
- snapsnap (talk) 07:02, 5 November 2017 (UTC)
- Type of bug
- Inconvenience
- What happens
- Citation bots incorrectly adds "Nielsen Business Media, Inc" as the author to Billboard citations (via Google Books). Nielsen Business Media is actually the publisher, though the publisher parameter should not be included for major publications, per WP:CS1.
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Millionaire_(Kelis_song)&diff=797346022&oldid=762391040
- Replication instructions
- Not sure
- We can't proceed until
- A specific edit to the bot's code is requested below.
https://github.com/ms609/citation-bot/pull/280
https://github.com/ms609/citation-bot/pull/279
{{fixed}}
Bot adds pages= even when page= is present
- Status
- new bug
- Reported by
- – Jonesey95 (talk) 15:32, 12 November 2017 (UTC)
- Type of bug
- Inconvenience: Humans must occasionally make immediate edits to clean up after the bot
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Abiogenesis&diff=prev&oldid=807497221 (performed on October 28, 2017)
- Replication instructions
- Copy page version above to sandbox, then run the bot.
- We can't proceed until
- "Operator" if waiting for bot operator's feedback on what is feasible
"|page=922" was converted to "|pages=920–6 |page=922", which results in a Category:Pages with citations having redundant parameters error. Here is a simplified example showing that the current bot code still has this error. – Jonesey95 (talk) 15:32, 12 November 2017 (UTC)
{{fixed}}
Creates invalid cite date format
- Status
- new bug
- Reported by
- Keith D (talk) 12:20, 16 November 2017 (UTC)
- Type of bug
- Inconvenience
- What happens
- The bot adds dates that do not follow the MOS for date formats and causes a cite date error to given.
|date=2017-01 - What should happen
- should change date to a valid format according to the MOS.
|date=January 2017 - Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Peugeot&diff=810559010&oldid=810479364
- We can't proceed until
- Agreement on the best solution
Fix submitted https://github.com/ms609/citation-bot/pull/319 AManWithNoPlan (talk) 16:49, 16 November 2017 (UTC)
{{fixed}}
Journal citations and run duration
- Status
- persistent bugs
- Reported by
- Zefr (talk) 21:00, 21 November 2017 (UTC)
- Type of bug
- Cosmetic: The bot modifies appearance (capitalization) but not content of journal names via PubMed value.
Inconvenience: bot run time has been slow over the past weeks
- What should happen
- All names in journal should be capped; run time to complete PubMed bot has been slow, up to 3-4 min
- Relevant diffs/links
- no links displayed
- Replication instructions
- fine-tuning
- We can't proceed until
- Agreement on the best solution
- Zefr, please provide a link to a sample edit that illustrates the problem. – Jonesey95 (talk) 15:20, 22 November 2017 (UTC)
- Jonesey95: If you run citation bot on pmid 28120229, you'll see what I mean by non-capitalizing the journal name. In this case, it also produced a redundant chapter title (to the existing title), requiring a further edit. Both the non-capitalizing and redundant title creation are common occurrences, in my experience. On the other issue I mentioned - long run times - I can't provide a sample edit link, but it occurred again today. I don't know if this is a local issue for my wireless connection or an inherent problem others experience. Thanks for the repair(s), if possible. --Zefr (talk) 16:26, 25 November 2017 (UTC)
- That is a really hard problem to fix. The PMID give information, and then the DOI gives better information recognizing it as a book, but that sets different template paramaters. The newest development version on GitHub will yield this -- which is a little better: Elsohly, M. A; Radwan, M. M; Gul, W; Chandra, S; Galal, A (2017). "Phytochemistry of Cannabis sativa L". Progress in the Chemistry of Organic Natural Products. Progress in the Chemistry of Organic Natural Products. 103: 1–36. doi:10.1007/978-3-319-45541-9_1. ISBN 978-3-319-45539-6. PMID 28120229.
{{cite journal}}:|chapter=ignored (help) AManWithNoPlan (talk) 16:35, 25 November 2017 (UTC)- AManWithNoPlan: Thanks, although there are numerous other examples from the bot running on PMID that I can add with future editing; Cochrane references as another example where 1) it doesn't provide the correct title (Pharmacotherapies for sleep disturbances in Alzheimer's disease), and 2) it doesn't capitalize parts of the journal name. --Zefr (talk) 17:07, 25 November 2017 (UTC) McCleery, J; Cohen, D. A; Sharpley, A. L (2014). "Cochrane Database of Systematic Reviews". The Cochrane database of systematic reviews (3): CD009178. doi:10.1002/14651858.CD009178.pub2. PMID 24659320.
{{cite journal}}:|chapter=ignored (help)CS1 maint: article number as page number (link)- The version on GitHub now applies some capitalization rules to journal titles. Some style guides require lower case titles 🙄, including the PMID one. I have added a pull request that attempts to deal with duplicate title=chapter. https://github.com/ms609/citation-bot/pull/349. AManWithNoPlan (talk) 17:48, 25 November 2017 (UTC)
- AManWithNoPlan: Thanks, although there are numerous other examples from the bot running on PMID that I can add with future editing; Cochrane references as another example where 1) it doesn't provide the correct title (Pharmacotherapies for sleep disturbances in Alzheimer's disease), and 2) it doesn't capitalize parts of the journal name. --Zefr (talk) 17:07, 25 November 2017 (UTC) McCleery, J; Cohen, D. A; Sharpley, A. L (2014). "Cochrane Database of Systematic Reviews". The Cochrane database of systematic reviews (3): CD009178. doi:10.1002/14651858.CD009178.pub2. PMID 24659320.
- That is a really hard problem to fix. The PMID give information, and then the DOI gives better information recognizing it as a book, but that sets different template paramaters. The newest development version on GitHub will yield this -- which is a little better: Elsohly, M. A; Radwan, M. M; Gul, W; Chandra, S; Galal, A (2017). "Phytochemistry of Cannabis sativa L". Progress in the Chemistry of Organic Natural Products. Progress in the Chemistry of Organic Natural Products. 103: 1–36. doi:10.1007/978-3-319-45541-9_1. ISBN 978-3-319-45539-6. PMID 28120229.
- Jonesey95: If you run citation bot on pmid 28120229, you'll see what I mean by non-capitalizing the journal name. In this case, it also produced a redundant chapter title (to the existing title), requiring a further edit. Both the non-capitalizing and redundant title creation are common occurrences, in my experience. On the other issue I mentioned - long run times - I can't provide a sample edit link, but it occurred again today. I don't know if this is a local issue for my wireless connection or an inherent problem others experience. Thanks for the repair(s), if possible. --Zefr (talk) 16:26, 25 November 2017 (UTC)
{{fixed}}
Bot changes "pages" parameter to improper values
- Status
- new bug
- Reported by
- User-duck (talk) 21:42, 30 November 2017 (UTC)
- Type of bug
- Inconvenience: Humans must occasionally make immediate edits to clean up after the bot
- What happens
- "pages" parameter set to improper values. Basically garbage in / garbage out. I cleaned up these references once. In the references for this journal, the "pages" text often contains the number of pages. It sometimes contains other info. Also, I believe volume=1711 (or 1710) is wrong.
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=%CA%BBOumuamua&type=revision&diff=812728128&oldid=812711140
- Replication instructions
- It will probably happen if I correct the "pages" values. I just don't know when.
- We can't proceed until
- A specific edit to the bot's code is requested below.
- Requested action from maintainer
- Check data for valid format before using. Using improperly formatted data is a feature for humans.
Garbage data is hard to deal with. But eventually this code should be deployed. https://github.com/ms609/citation-bot/pull/366 AManWithNoPlan (talk) 23:06, 30 November 2017 (UTC)
{{fixed}}
Minor copy edits for beginning of output on Welcome to Citation Bot page
Hello! Thanks for everyone's hard work. This isn't a functional problem, but I'd like to suggest the slightest amount of copy edits to the template for this type of page. I'm not suggesting changing the feel of the text (e.g., by putting subjects in the sentences—heh!), just a quick tidy.
Currently the text reads:
Establishing connection to Wikipedia servers with username Citation_bot...Using account Citation bot.
Fetching parameter list ... done.Activated by Geekdiva
Please consider changing the bolded items below as discussed in the enumerated list (the bolding is just to make the problem areas stand out here and not to be added to the text template):
Establishing connection to Wikipedia servers with username Citation_bot...Using account Citation_bot.
Fetching parameter list... Done. Activated by Geekdiva.
- The account's name is of course Citation_bot, but its second mention did not have the underscore.
- Remove the space between "list" and "..." to match the first ellipse's formatting.
- Capitalize the D in "done" since it's a short sentence.
- Add a space after "Done."
- Add a period after "Geekdiva"—of course, in practice that'd be whatever username is there.
- (Hm. What do you call that area where the using user's name will be filled in: the text template's username parameter, placeholder, field, or something else? Is "text template" accurate when discussing bot output? TIA for helping me communicate this kind of thing better in the future!)
I hope this is the right place to ask! BTW, I'm interested in making some tiny tweaks to User:Citation_bot/use and perhaps suggest some larger ones, but I haven't been bold enough in that direction yet. Heh! Plus, I got to keep in mind that my real-life limitations might not let me find my way back to doing that, so... Reality suuuuuuuuhcks. Thanks! —Geekdiva (talk) 01:58, 9 December 2017 (UTC)
- All these suggestions are already implemented in the current development branch of the source code. It is on GitHub, but not deployed here yet. I guess great minds think alike AManWithNoPlan (talk) 03:45, 9 December 2017 (UTC)
To editor AManWithNoPlan: I belatedly and completely agree with you! —Geekdiva (talk) 00:14, 3 April 2018 (UTC)
{{fixed}}
Misidentification of year as issue
- Status
- new bug
- Reported by
- Martin (Smith609 – Talk) 11:01, 13 December 2017 (UTC)
- Type of bug
- Inconvenience
- What happens
- Citation copied in from Google Scholar in MLA format has its year identified as an issue.
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Neritimorpha&diff=prev&oldid=815200451
- We can't proceed until
- Bot operator's feedback on what is feasible
- Requested action from maintainer
- Amend Regexp that spots issue number. Suggest replacing `\d+` with `[03-9]?\d{1, 3}`, as some journals (e.g. Nature) do have 4-digit issue numbers.
MLA and other such unformatted formats are always going to be imperfect. Good catch. AManWithNoPlan (talk) 14:11, 13 December 2017 (UTC). Also known as Thing 2.
{{fixed}}
Failing to expand abbrevs if auth present
- Status
- new bug
- Reported by
- Martin (Smith609 – Talk) 13:47, 10 January 2018 (UTC)
- Type of bug
- Improvement
- What happens
- Bot does not correct parameter spelling, giving message "initial authors exist, not correcting <param name='' />",
- What should happen
- pp should be corrected to pages, vol to volume, etc
- Relevant diffs/links
- https://tools.wmflabs.org/citations/doibot.php?edit=toolbar&slow=1&user=Smith609&page=Alisina
- Replication instructions
- Run bot on this revision: https://en.wikipedia.org/w/index.php?title=Alisina&oldid=819637790
- We can't proceed until
- Bot operator's feedback on what is feasible
You already fixed this in development branch. https://github.com/ms609/citation-bot/commit/16cf4183b16f4d35c2f190e624449abf644c74f9 AManWithNoPlan (talk) 15:18, 10 January 2018 (UTC)
{{fixed}}