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 Approved.
Operator: TheFearow
Automatic or Manually Assisted: Automatic (after trial)
Programming Language(s): Java
Function Summary: Manages pages on Wikipedia: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:
- Removing deleted pages
- Removing redirect pages
- Marking as Wikify (if the article contains two or less headings and there is no bold text in first paragraph)
- Adding internal links by checking "What links here", and making anywhere they appear in the text a link.
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.
Notes
[edit]This has been discussed at Wikipedia talk:Dead-end pages and I got two support votes and no oppose votes - I believe it is wanted. I also had a big discussion about what features before that. There was also a previously run redlink remover bot, however it is no longer running. Matt - TheFearow 04:33, 31 May 2007 (UTC)[reply]
Discussion
[edit]Thanks for your comments! Matt - TheFearow 04:33, 31 May 2007 (UTC)[reply]
- What do you mean by removing redirect pages? --ST47Talk 09:46, 31 May 2007 (UTC)[reply]
- 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)[reply]
- I see. Approved for trial. Please provide a link to the relevant contributions and/or diffs when the trial is complete. :) --ST47Talk 18:10, 1 June 2007 (UTC)[reply]
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!
- I see. Approved for trial. Please provide a link to the relevant contributions and/or diffs when the trial is complete. :) --ST47Talk 18:10, 1 June 2007 (UTC)[reply]
- 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)[reply]
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)[reply]
- 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)[reply]
- 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)[reply]
- 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)[reply]
- 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)[reply]
- [1] if you want to see the diff! Matt - TheFearow 10:06, 2 June 2007 (UTC)[reply]
- 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)[reply]
- 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)[reply]
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)[reply]
- 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)[reply]
- {{BAGAssistanceNeeded}} Trial complete, can I get final approval/denial as the Wikipedia:DEAD lists need a lot of updating. Thanks! Matt - TheFearow 04:29, 4 June 2007 (UTC)[reply]
- 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 Wikipedia:DEAD for the text that will be aadded,and the person that suggested it. Matt - TheFearow 04:52, 4 June 2007 (UTC)[reply]
For the Wikipedia:DEAD tasks only, Approved. For the other tasks, please file new detailed requests for approval, as I see serious problems with them and more debate is needed. —METS501 (talk) 20:13, 6 June 2007 (UTC)[reply]
- 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.