Wikipedia:Bots/Requests for approval/DeadBot


 * The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was Symbol keep vote.svg Approved.

DeadBot
Operator: TheFearow

Automatic or Manually Assisted: Automatic (after trial)

Programming Language(s): Java

Function Summary: Manages pages on DEAD by: Removing redlinks, adding internal links, marking as wikify, and removing redirects.

Edit period(s) (e.g. Continuous, daily, one time run): Depending on how much I am active, several times a week

Edit rate requested: 20 edits per 10 minutes (Maximum, usually no more than about 50-60 a day)

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

Function Details: Reads through the WP:DEAD lists, doing the following: It will not process any pages with any of the following tags: AFD, PROD, SPEEDY and MERGE(Merge, Mergeto, Mergefrom). Note: When I say remove, I mean remove from the list of dead end pages, NOT remove the actual page.
 * 1) Removing deleted pages
 * 2) Removing redirect pages
 * 3) Marking as Wikify (if the article contains two or less headings and there is no bold text in first paragraph)
 * 4) Adding internal links by checking "What links here", and making anywhere they appear in the text a link.

Discussion
Thanks for your comments! Matt - TheFearow 04:33, 31 May 2007 (UTC)
 * What do you mean by removing redirect pages? --ST47 Talk 09:46, 31 May 2007 (UTC)
 * It will remove redirect pages from the dead end pages list, as they are no longer dead end pages. Matt - TheFearow 21:38, 31 May 2007 (UTC)
 * I see. :) --ST47 Talk 18:10, 1 June 2007 (UTC)
 * I am just finishing code now, I am testing out the removal code atm, then I will do some test wikify checks. For the trial, can I try it on one list page (e,g, D-F, which doesn't contain too many)? Thanks!

Nevermind, I am running test now on P-T. It should do the following: Remove 166 articles from list (27 redlinks, 139 redirects) and mark 749 articles as needing wikify (info from non-editing test). Matt - TheFearow 06:08, 2 June 2007 (UTC)
 * There was a bug with it not recognising already placed Wikify tags with an uppercase W, and it was also placingwikify tags on redirect pages (true, they do contains very little wikiformatting, but I don't think they count). I have manually reverted the changes (I caught within first few) and have fixed the issue. I am now restarting the trial run. Matt - TheFearow 06:56, 2 June 2007 (UTC)
 * After the bugs, I am testing on a smaller category so it doesnt take ages before starting to make changes. I am going to try U-Z. Matt - TheFearow 09:33, 2 June 2007 (UTC)
 * Great news! I tested on G-K, and it worked almost perfect! Some minor formatting glitches (it stuffed up the comments) but apart from that it worked fine! I will fix minor errors, in the meantime i reverted its edit, will do actual edit once minor bugs worked out, then I will try on other pages. Matt - TheFearow 09:58, 2 June 2007 (UTC)
 * Perfect! Check its latest edit on G-K, it worked perfectly, sorry for the few reverts it stuffed up the formatting a bit (stupid newline character). Once it's ready to be tested on another page just tell me, and I will run it. Matt - TheFearow 10:06, 2 June 2007 (UTC)
 * if you want to see the diff! Matt - TheFearow 10:06, 2 June 2007 (UTC)

Looks good - to make things clear: it's updating the lists, and marking pages for Wikification? How often will it run, and how many edits do you expect it to make in one run (and how many page fetches). Only rough figures are needed :) Martinp23 12:28, 2 June 2007 (UTC)
 * It reads the list, and parses each article (so thts 1 pagefetch for each article on list). It then goes through its generated list, and marks each page it has for wikification (if not already marked) so thats another 2 pageviews per page (1 for edit token, 1 for write). It then does two final pageviews for the edit token/write for the list page. As for the rate, I am going to run it once a day for each list, e.g. Monday is A-C, Tuesday is D-F, Wednesday is G-K, Thursday is L-O, Friday is P-T, and Saturday is U-Z. Also, all page edits have a 5second timer between them, so that it takes minimal time. A single run takes about an hour on a large list. Matt - TheFearow 21:51, 2 June 2007 (UTC)
 * BAGAssistanceNeeded Trial complete, can I get final approval/denial as the DEAD lists need a lot of updating. Thanks! Matt - TheFearow 04:29, 4 June 2007 (UTC)
 * Minor change, the wikify tags will be changed to add the date as well, so that other bots don't have to. It is a minor change, and will just be changing the text added. See talk page of DEAD for the text that will be aadded,and the person that suggested it. Matt - TheFearow 04:52, 4 June 2007 (UTC)

For the DEAD tasks only, For the other tasks, please file new detailed requests for approval, as I see serious problems with them and more debate is needed. — M ETS 501 (talk) 20:13, 6 June 2007 (UTC)


 * The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.