User talk:Citation bot/Archive 7
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)
{{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: [1]. 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)
- @AManWithNoPlan: maybe you could mark the threads as resolved / archive them? Headbomb {t · c · p · b} 01:08, 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: 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
- Status
- new bug
- Reported by
- Kash120 (talk) 03:53, 15 January 2018 (UTC)
- We can't proceed until
- Agreement on the best solution
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)
- {{not a bug}}. Not nearly enough information to troubleshoot this report. – Jonesey95 (talk) 03:16, 24 May 2018 (UTC)
DUPLICATE_year
- Status
- {{not a bug}}
- Reported by
- Shrike (talk) 08:53, 26 May 2018 (UTC)
- Type of bug
- Inconvenience
- What happens
- Replaced year to DUPLICATE_year
- Relevant diffs/links
- [2]
- 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 |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)
- Indeed, there are multiple discussions on the topic of these "DUPLICATE" parameters in the archives. Please review. --Izno (talk) 01:01, 7 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
vauthors
parameter 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)
- Yahoo! It worked! Marking as fixed. Martin (Smith609 – Talk) 07:12, 23 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: [3]
- also, is
|publisher=
a deprecated parameter now? --Nessie (talk) 14:48, 23 July 2018 (UTC)
- 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)
{{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=1
when 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)- 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}}
Why only one run per edit?
On occasion on an edit page, I've wanted to run the bot again after discovering a previous edit error on a reference, yet - once run - Citation bot refuses to run a second time. There must be a "once-only" run limit. It would be nice to permit the bot as many runs per edit as the editor wishes. --Zefr (talk) 04:04, 15 January 2018 (UTC)
- There is no limit. You must be doing it wrong, or your skin is messed up. Please explain in detail exactly what you mean. AManWithNoPlan (talk) 14:49, 15 January 2018 (UTC)
- Let's say a ref is added using the bot template, ref-cite journal|pmid=xxx-end ref, the bot is launched and the source details are generated by pressing the 'Citations' button. Then the editor thinks of another ref to add using the same procedure, intending to add that second ref within the same edit session before pressing 'Publish changes'. My experience over months/years of using Citation bot is that it won't run again within the first edit once the first run is done. I have to complete the first edit by 'Publish changes', then enter edit mode and run Citation bot separately again for the second ref to be completed. I don't know what is meant by "your skin is messed up." --Zefr (talk) 15:04, 15 January 2018 (UTC)
- something is wrong with your skin (the way that you have customized Wikipedia. https://en.m.wikipedia.org/wiki/Wikipedia:Skin) or your preferences that you have set. Literally no one else has reported this. How did you enable this Bot? Did you edit your common.js file or turn it on in your preferences? AManWithNoPlan (talk) 17:24, 15 January 2018 (UTC)
- Under Gadgets/Editing in my Preferences, I enabled 'Citation expander' which includes Citation bot. Under Appearance/Skin, I clicked the default, Vector. Thanks for helping to solve this, and I remain open to trying something else to make Citation bot work nominally. --Zefr (talk) 17:32, 15 January 2018 (UTC)
- Strange. So, the bot makes changes. It updates the text edit window. You make more changes and then you go to activate the Bot and what goes wrong. (Or are you clicking citations before previous Bot Call is done)? Button grey. Button does nothing, but does click. Button works and browser is waiting forever and never returns. AManWithNoPlan (talk) 01:26, 16 January 2018 (UTC)
- AManWithNoPlan: on the first run, the bot fills out the journal reference details, I click the 'Citations' box, the clockwise graphic shows as in operation, and all is filled out when completed within the text edit window. If I then decide to add a second reference using the bot template, then click 'Citations', the box shows a click, goes grey, the 'Citations' box has a blue border, and nothing happens, with no clockwise graphic and no operation completed. Going through this again with an example here: first attempt using 'cite journal|pmc=4107599'[1]; second attempt with a different reference using the same 'cite journal|pmc=5073488' format:[2]. --Zefr (talk) 16:57, 16 January 2018 (UTC)
- Strange. So, the bot makes changes. It updates the text edit window. You make more changes and then you go to activate the Bot and what goes wrong. (Or are you clicking citations before previous Bot Call is done)? Button grey. Button does nothing, but does click. Button works and browser is waiting forever and never returns. AManWithNoPlan (talk) 01:26, 16 January 2018 (UTC)
- Under Gadgets/Editing in my Preferences, I enabled 'Citation expander' which includes Citation bot. Under Appearance/Skin, I clicked the default, Vector. Thanks for helping to solve this, and I remain open to trying something else to make Citation bot work nominally. --Zefr (talk) 17:32, 15 January 2018 (UTC)
- something is wrong with your skin (the way that you have customized Wikipedia. https://en.m.wikipedia.org/wiki/Wikipedia:Skin) or your preferences that you have set. Literally no one else has reported this. How did you enable this Bot? Did you edit your common.js file or turn it on in your preferences? AManWithNoPlan (talk) 17:24, 15 January 2018 (UTC)
- Let's say a ref is added using the bot template, ref-cite journal|pmid=xxx-end ref, the bot is launched and the source details are generated by pressing the 'Citations' button. Then the editor thinks of another ref to add using the same procedure, intending to add that second ref within the same edit session before pressing 'Publish changes'. My experience over months/years of using Citation bot is that it won't run again within the first edit once the first run is done. I have to complete the first edit by 'Publish changes', then enter edit mode and run Citation bot separately again for the second ref to be completed. I don't know what is meant by "your skin is messed up." --Zefr (talk) 15:04, 15 January 2018 (UTC)
References
- ^ Falavigna, M; Lima, K. M; Giacomazzi, J; Paskulin, D. D; Hammes, L. S; Ribeiro, R. A; Rosa, D. D (2014). "Effects of lifestyle modification after breast cancer treatment: A systematic review protocol". Systematic Reviews. 3: 72. doi:10.1186/2046-4053-3-72. PMC 4107599. PMID 24997590.
{{cite journal}}
: CS1 maint: unflagged free DOI (link) - ^ Haller, D. M; Pfarrwaller, E; Cerutti, B; Gaspoz, J. M (2016). "Primary care interventions to reduce cardiovascular risk behaviours in adolescents: A protocol for a systematic review". BMJ Open. 6 (10): e011936. doi:10.1136/bmjopen-2016-011936. PMC 5073488. PMID 27798001.
- that is very weird. So, instead you just save what you have and then edit again and it works? AManWithNoPlan (talk) 01:42, 17 January 2018 (UTC)
Right, two separate edits, and two bot runs instead of all in one. --Zefr (talk) 02:48, 17 January 2018 (UTC)
This is now much better about using new data an continuing to run more checks. {{fixed}} AManWithNoPlan (talk) 23:18, 23 July 2018 (UTC)
Mangled patent citation
- Status
- new bug
- Reported by
- Mike Christie (talk - contribs - library) 03:11, 17 January 2018 (UTC)
- Type of bug
- Inconvenience: Humans must occasionally make immediate edits to clean up after the bot
- What happens
- A citation to a patent was mangled.
- What should happen
- Not sure what should happen, but not what did happen. Probably shouldn't have touched the citation.
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Ice_drilling&diff=820293619&oldid=820253807
- Replication instructions
- Not sure how to replicate it, but I imagine similar citation templates would lead to similar results.
- We can't proceed until
- Agreement on the best solution
Since this is fixed on GitHub, it’s probably time to try a new version as development version AManWithNoPlan (talk) 03:39, 17 January 2018 (UTC)
{{fixed}}
pages field only picks up first page of page range
- Status
- new bug
- Reported by
- Lingzhi ♦ (talk) 02:19, 24 February 2018 (UTC)
- What happens
- pages field only picks up first page of page range
- What should happen
- pages field should pick up first and last pages of page range
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Maudgalyayana&diff=prev&oldid=827154917
- Replication instructions
- Just run it. I seem to recall trying this bot out ages ago and declining to use it for this reason alone.
- We can't proceed until
- Agreement on the best solution
- Fix submitted. https://github.com/ms609/citation-bot/pull/411 AManWithNoPlan (talk) 18:21, 24 February 2018 (UTC)
{{fixed}}
Cite Arxiv and DOI
- Status
- new bug
- Reported by
- Mortee (talk) 08:21, 27 February 2018 (UTC)
- Type of bug
- Inconvenience
- What happens
- while changing an article with two {{cite arXiv}} templates in it, the bot fixed the second correctly but added
|doi=
to the first without changing it to {{cite journal}}, causing an error. - We can't proceed until
- Bot operator's feedback on what is feasible
- Requested action from maintainer
- assess if this is a general issue with articles with two issues on it, and if so correct the behaviour.
- But it's not a journal, so changing it to {{cite journal}} would also be an error. CERN Yellow Reports is a tech report series. I think the correct choice would be {{cite report}}. Does Citation bot even know about tech reports? —David Eppstein (talk) 08:43, 27 February 2018 (UTC)
- I would argue that the {{cite arXiv}} templates is buggy if it does not allow a DOI AManWithNoPlan (talk) 01:46, 28 February 2018 (UTC)
- The solution is to convert non-journal entries with dois to {{cite paper}}/{{cite journal}}/{{cite thesis}}/{{cite conference}}}/{{cite report}}/or whatever. The bot converts to cite journal because that's what it'll be in the vast majority of cases, if it's not, update it to the correct {{cite xxx}} instead. Cite arxiv is for preprints specifically, and should not have DOIs or other identifiers in it.
- Concerning CERN Yellow Reports specifically, using cite journal isn't wrong, in the sense that it doesn't produce an incorrectly formatted citation. Quibbles about them being monographic series vs journals is rather irrelevant. CERN describes the CERN Yellow Reports as being journals (see [4], "Journal content"). Headbomb {t · c · p · b} 02:30, 28 February 2018 (UTC)
- Bot Dev branch on GitHub now changes arXiv to journal if a doi is present. AManWithNoPlan (talk) 15:36, 28 February 2018 (UTC)
- I would argue that the {{cite arXiv}} templates is buggy if it does not allow a DOI AManWithNoPlan (talk) 01:46, 28 February 2018 (UTC)
{{fixed}}
"Pages = 1" instead of "Pages = 1-26"
- Status
- new bug
- Reported by
- Bob Webster (talk) 04:02, 23 March 2018 (UTC)
- Type of bug
- Inconvenience
- What happens
- Pages = 1
- What should happen
- Pages = 1-26
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=Paragnetina_fumosa&type=revision&diff=831961448&oldid=831961401
- Replication instructions
- doi = 10.3897/zookeys.178.2616
- We can't proceed until
- Tuesday? I'm not sure how to answer this because I don't know who fixes minor bugs.
- Requested action from maintainer
- For pages it only gives the beginning page number, in this case. I have not tested any other cases, and I'm not even sure "pages = 1" is incorrect -- my apologies if it's not a problem.
Low priority, since it has the starting page correct.
- fixed on GitHub. Need tested on Wikipedia AManWithNoPlan (talk) 04:28, 23 March 2018 (UTC)
{{fixed}}
ASIN
- Status
- new bug
- Reported by
- Georgia Army Vet Contribs Talk 20:03, 23 March 2018 (UTC)
- Type of bug
- Improvement: The bot would be much better if it checked Category:CS1 maint: ASIN uses ISBN before reverting valid edits.
- What happens
- Bot reinserted an ASIN
- Relevant diffs/links
- automated(?) edit here
- We can't proceed until
- Agreement on the best solution
- Requested action from maintainer
- Assume good faith?
ASINs that look like ISBNs have been identified as a problem item. The goal is reduce them.
- Your replacing them with a URL with an ASIN in them is not helpful. You made the page worse. You did not get rid of a ASIN (it is still there in the URL), and you replaced a unique identifier with a URL that is prone to breakage. Lastly, those ASIN are not ones that look like ISBNs, they are ISBNs. AManWithNoPlan (talk) 21:52, 23 March 2018 (UTC)
- The help text at Category:CS1 maint: ASIN uses ISBN tells editors how to deal with an ASIN that is identical to an ISBN. I have fixed the edits to this article. – Jonesey95 (talk) 22:01, 23 March 2018 (UTC)
- There are about 500 edits done by Gaarmyvet that have all made wikipedia worse because (s)he misunderstood. AManWithNoPlan (talk) 22:37, 23 March 2018 (UTC)
- Let's turn this into a good thing. It seems to me that if a citation has an ASIN that is an ISBN and it already has an ISBN, then the ASIN should be removed by bot. Thoughs? AManWithNoPlan (talk) 23:29, 23 March 2018 (UTC)
- The instructions on the category page are pretty clear:
When the value assigned to asin= parameters is a valid ISBN, asin=ISBN should be changed to isbn=ISBN. When there is an existing isbn= parameter, the asin= parameter should be removed. Associated asin-tld= parameters should be removed.
A bot that could follow those instructions could run through the category periodically. – Jonesey95 (talk) 23:59, 23 March 2018 (UTC)
- The instructions on the category page are pretty clear:
- Let's turn this into a good thing. It seems to me that if a citation has an ASIN that is an ISBN and it already has an ISBN, then the ASIN should be removed by bot. Thoughs? AManWithNoPlan (talk) 23:29, 23 March 2018 (UTC)
- There are about 500 edits done by Gaarmyvet that have all made wikipedia worse because (s)he misunderstood. AManWithNoPlan (talk) 22:37, 23 March 2018 (UTC)
- The help text at Category:CS1 maint: ASIN uses ISBN tells editors how to deal with an ASIN that is identical to an ISBN. I have fixed the edits to this article. – Jonesey95 (talk) 22:01, 23 March 2018 (UTC)
{{notabug}}
WMFlabs tool 504d
- Status
- new bug
- Reported by
- Nessie (talk) 14:49, 4 May 2018 (UTC)
- Type of bug
- Inconvenience: bot not functioning
- What happens
- On an edit page, i get a pop up "Error: Citations request failed." On the wmflabs site i get "504 Gateway Time-out nginx/1.13.6"
- What should happen
- citations should be getting updated
- Relevant diffs/links
- https://tools.wmflabs.org/citations/doibot.php
- Replication instructions
- try using the bot
- We can't proceed until
- A specific edit to the bot's code is requested below.
- Requested action from maintainer
- reboot?
{{fixed}}
hyphen endash
a cite (probably) anything converts a pages hyphen to a pages endash, there's no need to make a grand edit for correctness in the code if the output is okay.
Hyphens are automatically converted to en dashes
Dave Rave (talk) 22:32, 4 May 2018 (UTC)
{{notabug}} The more closely the data matches the display the better. AManWithNoPlan (talk) 23:12, 23 July 2018 (UTC)
Don't change urls
- Status
- new bug
- Reported by
- Francis Schonken (talk) 09:15, 5 May 2018 (UTC)
- Type of bug
- Deleterious
- What happens
- Bot changes urls so that these don't work any more
- Relevant diffs/links
- https://en.wikipedia.org/w/index.php?title=An_Wasserfl%C3%BCssen_Babylon_%28Reincken%29&type=revision&diff=839721670&oldid=839585875
- We can't proceed until
- Bot operator's feedback on what is feasible
- Requested action from maintainer
- The bot should be programmed to skip operational urls
Fixed on GitHub. Needs updated. AManWithNoPlan (talk) 13:16, 24 May 2018 (UTC)
- @AManWithNoPlan: "Fixed"??? → see below #Bot breaks URL in pages field of citation template by changing hyphen to en dash in URL the faulty code seems to continue to cause the same problems. --Francis Schonken (talk) 11:25, 21 June 2018 (UTC)
{{fixed}}
Bot breaks URL in pages field of citation template by changing hyphen to en dash in URL
- Status
- new bug
- Reported by
- Biogeographist (talk) 11:16, 21 June 2018 (UTC)
- Type of bug
- Deleterious: Human-input data is deleted or articles are otherwise significantly affected.
- What happens
- Bot changes hyphen to en dash in a URL (in this case a Google Books URL), which breaks the URL: e.g., changes this working URL to this broken URL
- What should happen
- Bot should not change hyphens in URLs in pages field
- Relevant diffs/links
- See line 43 of this diff: Special:Diff/846803192
- Replication instructions
- Put a link in pages field of a citation template (e.g. 33–40) and run the bot
- We can't proceed until
- Bot operator's feedback on what is feasible
- Requested action from maintainer
- The bot should be programmed to skip URLs
- I reported the same issue last month, see above #Don't change urls, but doesn't seem fixed yet (despite someone wrote "Fixed" above). --Francis Schonken (talk) 11:28, 21 June 2018 (UTC)
- Same in this edit. (t) Josve05a (c) 22:09, 28 June 2018 (UTC)
Until the running bot is updated it really doesn’t matter if the bugs are fixed or not. AManWithNoPlan (talk) 00:37, 29 June 2018 (UTC)
{{fixed}}
bot keep adding value of chapter while no chapter is available for the source_new_bug
- Status
- new bug
- Reported by
- Mdkbbsluanxieweiji (talk) 15:17, 29 June 2018 (UTC)
- Type of bug
- deleterious
- What happens
- bot keeps adding work name as chapter name
- What should happen
- no value for chapter
- We can't proceed until
- Input from editors
@Mdkbbsluanxieweiji: Do you have an example edit with the problem? --Izno (talk) 15:23, 29 June 2018 (UTC)
- Presumably this edit. Also presumably, that citation should have been written to reflect what it is: conference proceedings:
{{cite conference |mode=cs2 |last=Contractor |first=R.M. |title=A New Commercial Scale Process for n-Butane Oxidation to Maleic Anhydride Using a Circulating Fluidized Bed Reactor |date=1994 |book-title=New Developments in Selective Oxidation II, Proceedings of the Second World Congress and Fourth European Workshop Meeting |pages=233–242 |publisher=Elsevier |doi=10.1016/s0167-2991(08)63415-1 |isbn=9780444815521 |last2=Garnett |first2=D.I. |last3=Horowitz |first3=H.S. |last4=Bergna |first4=H.E. |last5=Patience |first5=G.S. |last6=Schwartz |first6=J.T. |last7=Sisler |first7=G.M. |editor=V. Cortés Corberán |editor2=S. Vic Bellón}}
- Contractor, R.M.; Garnett, D.I.; Horowitz, H.S.; Bergna, H.E.; Patience, G.S.; Schwartz, J.T.; Sisler, G.M. (1994), "A New Commercial Scale Process for n-Butane Oxidation to Maleic Anhydride Using a Circulating Fluidized Bed Reactor", in V. Cortés Corberán; S. Vic Bellón (eds.), New Developments in Selective Oxidation II, Proceedings of the Second World Congress and Fourth European Workshop Meeting, Elsevier, pp. 233–242, doi:10.1016/s0167-2991(08)63415-1, ISBN 9780444815521
- —Trappist the monk (talk) 15:33, 29 June 2018 (UTC)
@Izno: The edit for the Line 87 of this edit is the one I mentioned. The suggestion above works for me.Mdkbbsluanxieweiji (talk) 16:40, 2 July 2018 (UTC)
{{fixed}} seems to now work much better. AManWithNoPlan (talk) 00:00, 24 July 2018 (UTC)