The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Withdrawn by operator.

Operator: Hersfold (talk · contribs)

Automatic or Manually assisted: Manual login, Automatic editing with supervision. In case of problems, a log is saved locally on my computer during each run.

Programming language(s): Java, with User:MER-C/Wiki.java

Source code available: Yes, at User:HersfoldCiteBot/Source. Details of changes between versions available at User:HersfoldCiteBot/Version.

Function overview: Correcting basic but common errors in ((cite web)) templates.

Links to relevant discussions (where appropriate): Request on WP:BOTREQ (permalink). Task should be non-controversial.

Edit period(s): No more than daily, more likely once every week or so.

Estimated number of pages affected: As of the time I write this there are 28 articles in Category:Articles with broken citations; I'd guess the bot would make edits to about 25 articles per run at the most.

Exclusion compliant (Y/N): No, however it seems unnecessary given that only 14 articles contain the no bots template.

Already has a bot flag (Y/N): No.

Function details: This bot will go through Category:Articles with broken citations and correct common errors in ((cite web)) templates; currently, missing |title= parameters, missing |archivedate= parameters when an |archiveurl= parameter is present, and missing |accessdate= parameters. If the bot attempts to correct one of these errors and finds it is not able to for some reason, it will report areas needing manual attention to User:HersfoldCiteBot/Citation errors needing manual review.

Discussion[edit]

A sample "Citation errors needing manual review" page is available here. Hersfold (t/a/c) 06:11, 10 September 2010 (UTC)[reply]

It would be interesting to know how many citations you encounter with |archiveurl= or |archivedate= missing. —  HELLKNOWZ  ▎TALK 08:51, 10 September 2010 (UTC)[reply]
Also, I think "<!-- Title generated by HersfoldCiteBot, please report errors to [[User talk:Hersfold]] -->" is a bit too long for an auto-generated message if you will use it for live edits. Can you use "<!-- Bot generated title -->" for greater compatibility with tools that may look for this. —  HELLKNOWZ  ▎TALK 08:59, 10 September 2010 (UTC)[reply]
For your first question/statement, are you asking for the bot to keep statistics? Just so you know, it doesn't currently look for a missing archiveurl paramter, only a missing archivedate if archiveurl is present.
I can make the change to the shorter comments before trial runs. Hersfold (t/a/c) 17:12, 10 September 2010 (UTC)[reply]
I only mentioned keeping statistics, since it would be interesting to see. You don't actually need to do so unless you want to. As to shortening comment — great. —  HELLKNOWZ  ▎TALK 18:58, 10 September 2010 (UTC)[reply]

I've made the changes in the code as requested in version 1.1.0b, specifically:

Any other comments or suggestions (especially from BAG members, who don't seem to have commented yet) are welcome. Hersfold (t/a/c) 23:39, 16 September 2010 (UTC)[reply]

Just a side note; I'd be keen to incorporate these functionalities (when operational) into Citation bot, if this is feasible or beneficial. Martin (Smith609 – Talk) 16:27, 20 September 2010 (UTC)[reply]
You're welcome to the source code - it's not in PHP, but it should still help. Hersfold (t/a/c) 18:01, 20 September 2010 (UTC)[reply]

((BAG assistance needed)) - it's been nine days now, wondering if I can start trials? Hersfold (t/a/c) 15:20, 19 September 2010 (UTC)[reply]

Approved for trial (75 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Sorry for the delay. Feel free to proceed with a trial (without the controversial |accessdate= code) whenever you're ready. - EdoDodo talk 17:41, 23 September 2010 (UTC)[reply]
Thank you. I'll post the bot's logs once the trial is done. Hersfold (t/a/c) 22:07, 23 September 2010 (UTC)[reply]
I've done one trial, but the bot didn't make any edits; there's an issue, likely with the bot framework, that prevents the bot from noticing the error messages the citation templates generate, and thus preventing it from realizing something needs to be fixed. I've put the log up here, not that it's much to look at. Since the bot failed to make any edits, I'm going to try to fix this and then run it again. Hersfold (t/a/c) 23:18, 23 September 2010 (UTC)[reply]
That problem was fixed, however a number of other problems have popped up that will take me more time to review and correct. Hersfold (t/a/c) 00:29, 24 September 2010 (UTC)[reply]
It would be nice if your edit summary linked to the task description. —  HELLKNOWZ  ▎TALK 00:37, 24 September 2010 (UTC)[reply]
I'll add that to the growing list of stuff to fix, although I would note that the bot's userpage contains the task description, so a second link to the same page seems kinda redundant. Hersfold (t/a/c) 00:41, 24 September 2010 (UTC)[reply]
I hope you don't think of me as picking on your bot, I support your work. I'm just noting that most bots leave a link to task description unless it is self-explanatory or straightforward. —  HELLKNOWZ  ▎TALK 00:49, 24 September 2010 (UTC)[reply]
Not at all, I appreciate the feedback, I just feel as though this is one of the more straightforward ones. But I can add a link in the next revision. Which, on a side note, will probably take a while to come out as there are a lot of little problems to be fixed. Hersfold (t/a/c) 00:58, 24 September 2010 (UTC)[reply]
I'll be attempting another trial run shortly, the bot has been updated to (hopefully) fix the problems noted in the previous run. Hersfold (t/a/c) 00:11, 29 September 2010 (UTC)[reply]
It failed. Again. Log is available, I'll fix it soon, same as always. :-( Hersfold (t/a/c) 00:34, 29 September 2010 (UTC)[reply]
Just as an update, I haven't forgotten about this; the past week has been extremely busy for me and I haven't had the time to focus on this at all. I'll post back here once things lighten up and I'm able to fix the errors noticed in the last run. Hersfold (t/a/c) 21:28, 7 October 2010 (UTC)[reply]
((OperatorAssistanceNeeded|D)) Any progress? Anomie 01:05, 11 November 2010 (UTC)[reply]
I've not put any effort into this since my last post. This semester is extremely busy for me. If this can be put on hold or even declined for now, the earliest I can say with any certainty that I'll be able to dedicate a significant amount of time to it is January. Hersfold (t/a/c) 03:53, 17 November 2010 (UTC)[reply]
Withdrawn by operator. Ok. If you come back to it in January, you can reopen this request by undoing this edit, or you can start a new one if you think things have changed sufficiently. Anomie 03:56, 17 November 2010 (UTC)[reply]
The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.