User:DOI bot/fixed bugs

This is a list of bugs which have been fixed, to the best of my knowledge. If the bug has reoccurred AFTER the date listed here, please add a comment to the relevant bug on this page. Thanks!

Editing existing author fields

 * Example: Line 679
 * Status: Fixed 12:42, 31 May 2008 (UTC)

Link problem

 * Example: The link on Zelia Nuttall no longer works.  A correct link is located just below the non-functional PDF corrected by the bot.  I don't know if this is a bot problem, or if the original link was no good.Pustelnik (talk) 23:40, 27 May 2008 (UTC)
 * Status: The link was broken to begin with - the bot did not edit it.  If the format had not been specified, the bot would have flagged it as a deadlink - perhaps it should have done so anyway. I'll implement this when I get the chance. Smith609  Talk  07:15, 28 May 2008 (UTC)

Two passes required when DOI urlencoded

 * Example: paleoclimatology
 * Status: Fixed? 20:31, 24 May 2008 (UTC)

Editing existing fields

 * Example: http://en.wikipedia.org/w/index.php?title=David_Mertz&diff=prev&oldid=214420385
 * Status: 14:15, 23 May 2008 (UTC)

Plusses added to author names

 * Example: http://en.wikipedia.org/w/index.php?title=David_Mertz&diff=prev&oldid=214420385
 * Status: Publisher error. Workaround implemented 14:04, 23 May 2008 (UTC)

Problem with id={template|id=}

 * Example: Practical number. For example, | id =
 * Status: 10:51, 23 May 2008 (UTC)

Bot replaces doi: with doi= outwith citation templates

 * Example: Dwarf elephant
 * Status: 10:51, 23 May 2008 (UTC)

Failure to detect id={DOI}, and pages glitch

 * Example: {cite journal |author=Rouquette J, Haines J, Bornand V, Pintard M, Papet Ph, Bousquet C, Konczewicz L, Gorelli FA,Hull S |title=Pressure tuning of the morphotropic phase boundary in piezoelectric lead zirconate titanate |journal=Phys Rev B |volume=70 |issue=014108 |year=2004 |id= |doi=10.1103/PhysRevB.70.014108 |pages=014108}
 * Priority: Mid-high
 * Status: 17:17, 22 May 2008 (UTC). In this citation, the user had erroneously entered the page number in place of the volume.

Adding year parameter where there's already a "date"

 * Example: Cambrian explosion
 * Priority: High
 * Status: 14:40, 17 May 2008 (UTC)

Bot adds first author only (not coauthors)

 * Example: on Smith's Cloud ASHill (talk &#124; contribs) 21:50, 13 May 2008 (UTC)
 * Priority: Mid
 * Status:Investigating.
 * - but may cause collateral damage! 18:30, 16 May 2008 (UTC)

URL Encoding in DOI

 * Example: @ Rhynie chert
 * Priority: Mid
 * Status: 16:20, 16 May 2008 (UTC)
 * Status: Comments in DOI are urlencoded! -- 14:19, 17 May 2008 (UTC)

Confused by italics tags

 * Example: at Rhynie chert, in Title: Palaeoecology and palaeophytogeography of the Rhynie chert plants: evidence from integrated analysis of &lt;i&gt;in situ&lt;/i&gt; and dispersed spores
 * Priority: Mid
 * Status: 16:15, 16 May 2008 (UTC)

Bot doesn't spot errors in publisher's database

 * example: Included "From the cover" as part of the article title
 * Priority: Low
 * Status: 16:18, 16 May 2008 (UTC)

Double pipes

 * Example:Two pipes left at end of citation:
 * Priority: Lowest
 * Status:
 * Status:

Bot truncating end of page

 * Example: Apoplast
 * Priority: Extremenly urgent
 * Status:

Nested comment bug

 * Example: Cambrian explosion
 * Status:

Percent encoding bug

 * Example: Any DOI containing [<>]
 * Priority: High
 * Status:

Format detection

 * Example
 * Priority:mid
 * Status:

Spacing at end of citation

 * Example: The bot's not sure how to space the closing braces, making it edit citations unnecessarily.
 * Priority: Very high
 * Status:

Addition of author when last and first are already set

 * Example: Morphometrics
 * Priority: High
 * Status: 16:19, 16 May 2008 (UTC)

Editing a comment which isn't in a ref tag

 * Example:
 * Status: Already fixed - see bug report above

Link error when DOI contains [<]>

 * Example:
 * Status : Changes to cite journal mean that DOIs containing the symbols[>]< should no longer be percent-encoded, as this one was - the doilabel parameter has been reinstated instead. The bot was re-trained accordingly when the change was made, and will fix all affected dois the next time it encounters the page in question.  I've just set it onto the article you mentioned; feel free to use it yourself on any other affected articles you come across, because it will probably be around a month before the bot gets through its backlog and starts again. 07:31, 27 May 2008 (UTC)

Removal of templates whose names begin with "cite journal"

 * Example
 * Status: Under investigation. 09:19, 27 May 2008 (UTC) 14:01, 27 May 2008 (UTC)

Bot removed dash from article page range

 * Example
 * Status: Intentional edit - it actually replaced the hyphen with an ndash, as per the Wikipedia house style. It is possible that your browser lacks support for these characters?

Wrong }} braces removed

 * Example: http://en.wikipedia.org/w/index.php?title=Linux_adoption&diff=215320154&oldid=prev
 * Status: 12:30, 31 May 2008 (UTC)

Infrastructure
hi, i have been using the bot for clearing the backlog for sometime now. however it seems there is some error today with it and it has stopped functioning. the error message is as under; Warning: Invalid argument supplied for foreach in /home/verisimilus/public_html/Bot/DOI_bot/doibot.php on line 578. hope you can fix it. Cheers. Tarun2k (talk) 16:07, 30 May 2008 (UTC)

Finished!


 * Hi - I had to take the bot offline for unsupervised editing, because it has a couple of unresolved bugs (above); it is still working "on demand" for individual pages. Thanks for helping with the backlog, though!  I'll drop you a line when it's next up and running (probably around 2-3 days, when I next get a spare hour to fix it!) Smith609  Talk  17:52, 30 May 2008 (UTC)


 * The bot is now back online. Smith609  Talk  14:21, 31 May 2008 (UTC)


 * it surely seems to be working fine for me (and by the time I write, its is already being run on my system) but just out of curiosity, why is it based on yahoo platform and not on google? Tarun2k (talk) 17:52, 31 May 2008 (UTC)


 * Google's results are MUCH more useful to the bot, but unfortunately they recently redesigned their API interface to make it essentially useless to bots such as this one. Their terms and conditions forbid using their standard interface to "scrape" citation details.  It's a great pity, but there you go... Smith609  Talk  06:19, 1 June 2008 (UTC)


 * Oh alright, I was not aware of that. But in any case its a great bot that you have made. I am new to wikipedia, yet find the useful of this mechanism in insert missing references as amazing. Btw, I hope you are aware that the bot is not functioning again, giving the following message Thanks for using this bot. Please be aware that there are one or two tiny bugs that are yet to be fixed, so the bot will run in 'manual mode' only. Do carefully check that any edits it makes do not cause unintended consequences. and creates a wiki link Processing page 'Bot cannot work on backlog while outstanding bugs are being fixed' 19:38:41. No changes required -> no edit made.  Tarun2k (talk) 19:42, 1 June 2008 (UTC)

The arXiv does not require subscription
I just saw DOI bot add a "subscription required" note to an arXiv citation at Andreev reflection ([ diff]). Surely that's broken? —Ilmari Karonen (talk) 18:56, 31 May 2008 (UTC)

Similar problem at Ideal leadership ([ diff]), Leadership Capital ([ diff]), Leadership conditions ([ diff]), Leadershipmetrics ([ diff]) and Anti-leadership ([ diff]), in all cases involving the URL http://leadership.wharton.upenn.edu/digest/07-02.shtml. Yes, there's a "subscribe" link at the top (which is what I'm guessing the bot is basing its heuristic on), but the full text seems to be available without subscription. —Ilmari Karonen (talk) 19:23, 31 May 2008 (UTC)

Also, here's a Zen koan for you: is it an "abstract page" if there is no abstract, like at http://www3.interscience.wiley.com/journal/112367144/abstract?CRETRY=1&SRETRY=0 (see Ethisterone, [ diff])? —Ilmari Karonen (talk) 19:45, 31 May 2008 (UTC)


 * Actually, what is "abstract page" in the format parameter supposed to mean? Is it a trivial note that this is not a direct link to the full text, or is it supposed to mean that full text is not available at all?  If the former, I'm not sure what the point is; if the latter, I've found several incorrect taggings, including some more arXiv links (e.g. Eris (dwarf planet), [ diff]).  —Ilmari Karonen (talk) 20:01, 31 May 2008 (UTC)

...and, going through the bot's contribs, [ here's another problematic edit]. Sure, the template syntax was broken to begin with, but surely in this case the "fix" only made things worse. I realize one can't realistically check for every possible kind of mangled syntax, but surely some precautions could be added. Maybe avoid removing broken parameters if they contain the only URL in the citation in question? Ideally, such cases should somehow be flagged for manual attention. —Ilmari Karonen (talk) 19:05, 31 May 2008 (UTC)

...and [ what's the deal with the "???"] here? —Ilmari Karonen (talk) 20:10, 31 May 2008 (UTC)


 * Thanks for your diligence here! I've paused the bot until I get the chance to look into all of these, I'll give you an update when I get the chance. Smith609  Talk  06:17, 1 June 2008 (UTC)


 * No problem. I don't see any of these as major issues, except maybe the incorrect "subscription only" tags, and all it'd take to fix those (assuming they're just inevitable false positives and not symptoms of a deeper problem) is a simple list of sites that shouldn't be thus tagged.  I just figured that, since I was reviewing the bot's contribs anyway, I might as well report every problem I found.  —Ilmari Karonen (talk) 21:03, 1 June 2008 (UTC)