Wikipedia:Bots/Requests for approval/FrescoBot 3: Difference between revisions
Content deleted Content added
Josh Parris (talk | contribs) concerns |
|||
(22 intermediate revisions by 4 users not shown) | |||
Line 1:
<noinclude>[[Category:
#A0FFA0; margin:2em 0 0 0; padding:0 10px 0 10px; border:1px solid #AAAAAA;">
:''The following discussion is an archived debate. <span style="color:red">'''Please do not modify it.'''</span> To request review of this BRFA, please start a new section at [[WT:BRFA]].'' The result of the discussion was [[File:Symbol keep vote.svg|20px]] '''Approved'''.<!-- from Template:Bot Top-->
==[[User:FrescoBot|FrescoBot 3]]==
{{Newbot|FrescoBot}}
Line 19 ⟶ 21:
<!--Should be a reasonable guess as to how many distinct pages you'll be editing. For open-ended tasks, estimate pages per some reasonable time period.-->
'''Estimated number of pages affected:'''
<!--If "no", please provide a reason in the Function details or Discussion.-->
Line 41 ⟶ 43:
My concern is that there may be some situation where mis-linking to a #section is preferable to changing the case to match an existing section - but I can't think of what that may be. Please raise this BRFA at [[WP:VPR]] where someone might think of how this could be a bad idea. [[User_talk:Josh Parris|Josh Parris]] 01:33, 28 February 2010 (UTC)
:It will check only the first letter: checking for any case error within the section name would need a completely different and much more complex approach. Of course it will not affect interwiki links. I was not able to find any potential problem in fixing these links and on it.wiki I did not receive any complaints... however you are right, I raised this page at the village pump proposals. -- [[User:Basilicofresco|<span style="font-variant:small-caps; font-family:Verdana; font-size:1em; color:green">Basilicofresco</span>]] ([[User talk:Basilicofresco|msg]]) 10:14, 28 February 2010 (UTC)
<s>[[Wikipedia:WikiProject Red Link Recovery|WikiProject Red Link Recovery]] would be interested in a list of broken section links that the bot can find but not fix (even though such links are not actually red). We have the manpower to start fixing them manually, but not to find them all.</s> [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 14:00, 28 February 2010 (UTC)
:You'll love [[:Category:Pages containing links with bad anchors]] then. [[User_talk:Josh Parris|Josh Parris]] 14:24, 28 February 2010 (UTC)
::Thanks, that's exactly what we needed, and pleasingly short. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 15:32, 28 February 2010 (UTC)
:::I think that those pages with a broken #section link that can't be repaired ought to end up in [[:Category:Pages containing links with bad anchors]] - but this could add a great deal of complexity to your bot; you could tag their talk page with {{[[User:WildBot/tag]]}}, and [[User:WildBot|WildBot]] could then come and tag the page, replacing that with its own tag listing the broken #sections (and dumping it into [[:Category:Pages containing links with bad anchors]] until the link is fixed, when it gets removed automatically). What do you think? [[User_talk:Josh Parris|Josh Parris]] 01:37, 2 March 2010 (UTC)
::::I'm not sure it's completely a good idea. First of all my bot is not designed to keep the [[User:WildBot/m02|box]] "''up to date and then remove it when the links are fixed''". Moreover my goal was to find without any false positive existing uppercased sections (and then fix the link). It's a bit different matter to find ''without any false positive'' not existing sections. At the moment if I skip an existing section (due [[Template:Anchor]], odd sintax, etc) it is not a problem, but if I add also [[:Category:Pages containing links with bad anchors]] it is a mistake. -- [[User:Basilicofresco|<span style="font-variant:small-caps; font-family:Verdana; font-size:1em; color:green">Basilicofresco</span>]] ([[User talk:Basilicofresco|msg]]) 07:38, 3 March 2010 (UTC)
:::::You seem to have misunderstood; if you tag the talk-page with {{[[User:WildBot/tag]]}}, that's all you need to do. WildBot will remove it, then evaluate the page to see if there are any explanations like you suggested - anchor tags, weird markup, and so on - and if not, tag it as being broken. You need only add {{[[User:WildBot/tag]]}} to the talk page, WildBot will do everything else. Does that seem okay? [[User_talk:Josh Parris|Josh Parris]] 07:49, 3 March 2010 (UTC)
::::::Oh, I understand now. Great, I will do it! -- [[User:Basilicofresco|<span style="font-variant:small-caps; font-family:Verdana; font-size:1em; color:green">Basilicofresco</span>]] ([[User talk:Basilicofresco|msg]]) 11:06, 3 March 2010 (UTC)
{{BotTrial|edits=30}} as there hasn't been even a peep of objection, let's see how the code runs in the real world. [[User_talk:Josh Parris|Josh Parris]] 06:36, 4 March 2010 (UTC)
:I have to put <nowiki>{{Template:User:WildBot/tag}}</nowiki> because with <nowiki>{{User:WildBot/tag}}</nowiki> the template does not appear. Are you going to move the template to [[Template:WildBot/tag]]? -- [[User:Basilicofresco|<span style="font-variant:small-caps; font-family:Verdana; font-size:1em; color:green">Basilicofresco</span>]] ([[User talk:Basilicofresco|msg]]) 13:35, 4 March 2010 (UTC)
::I created the template in the wrong namespace! I've moved it to {{[[User:WildBot/tag]]}} now. My apologies. [[User_talk:Josh Parris|Josh Parris]] 13:46, 4 March 2010 (UTC)
Improvements:
*excluded note links (eg. [[Sony#cite_note-SonyHistory-2]])
*improved script in order to recognize links to {{tl|anchor}}, {{tl|section}}, html tags with attributes id="section" or name="section"
*Interwiki links are still excluded, but I tested them and the script should work fine.
[[User:Basilicofresco|<span style="font-variant:small-caps; font-family:Verdana; font-size:1em; color:green">Basilicofresco</span>]] ([[User talk:Basilicofresco|msg]]) 14:37, 4 March 2010 (UTC)
*excluded references links (eg. [[British Isles#refFoster2001]])
[http://en.wikipedia.org/w/index.php?title=Special:Contributions&offset=20100304152811&limit=60&target=FrescoBot 30 edits] trial completed. -- [[User:Basilicofresco|<span style="font-variant:small-caps; font-family:Verdana; font-size:1em; color:green">Basilicofresco</span>]] ([[User talk:Basilicofresco|msg]]) 15:31, 4 March 2010 (UTC)
Probably an extended trial would be useful to better evaluate the last script version. -- [[User:Basilicofresco|<span style="font-variant:small-caps; font-family:Verdana; font-size:1em; color:green">Basilicofresco</span>]] ([[User talk:Basilicofresco|msg]]) 18:13, 4 March 2010 (UTC)
:I'm happy with what I've seen thus far. If you'd like to take the functionality for another run, feel free: {{BotTrial|edits=50}} (If you'd like something longer, just ask) [[User_talk:Josh Parris|Josh Parris]] 10:03, 5 March 2010 (UTC)
::[http://en.wikipedia.org/w/index.php?title=Special:Contributions&dir=prev&offset=20100305144658&target=FrescoBot 50 edits] done, everything seems fine. -- [[User:Basilicofresco|<span style="font-variant:small-caps; font-family:Verdana; font-size:1em; color:green">Basilicofresco</span>]] ([[User talk:Basilicofresco|msg]]) 15:59, 5 March 2010 (UTC)
::{{BotTrialComplete}} -- [[User:Basilicofresco|<span style="font-variant:small-caps; font-family:Verdana; font-size:1em; color:green">Basilicofresco</span>]] ([[User talk:Basilicofresco|msg]]) 08:13, 6 March 2010 (UTC)
:::Edits look impressive. I'll probably approve this later if there are no complaints, and someone else doesn't get there first :). - [[User:Kingpin13|Kingpin]]<sup>[[Special:Contributions/Kingpin13|13]]</sup> ([[User talk:Kingpin13|talk]]) 08:29, 6 March 2010 (UTC)
::::I'm as happy with this run as I was the last. Congratulations. [[User_talk:Josh Parris|Josh Parris]] 09:21, 6 March 2010 (UTC)
{{BotApproved}} After two satisfactory trials. [[User_talk:Josh Parris|Josh Parris]] 13:16, 6 March 2010 (UTC)
:''The above discussion is preserved as an archive of the debate. <span style="color:red">'''Please do not modify it.'''</span> To request review of this BRFA, please start a new section at [[WT:BRFA]].''<!-- from Template:Bot Bottom --></div>
|