Wikipedia:Bots/Requests for approval/Addbot 4


 * 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.

Addbot Task 4
Operator:  ·Add§hore·  T alk /C ont

Automatic or Manually Assisted: Automatic

Programming Language(s): PHP (wikibot.classes.php)

Function Summary: Doing what was requested here. Bot_requests/Archive 20

Edit period(s) (e.g. Continuous, daily, one time run): One time run, Monthly (or when needed)

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

Function Details: There bot will look at the pages from here that i will make into a array that the bot can read User:Addbot/Pdfbot/list here for example. The bot will then load each of the image pages and look for,  and. If the page includes any of these the bot will skip the page. If the page doesn't have one of these then it will explode the page and add the tag just below the summary heading. The bot can be run probably monthly or when needed and once the bot has gone through the entire given list it will stop.

Discussion
I am currently still in the process of creating this bot but would be nice to see if it gets approved before i do any more.  ·Add§hore·  T alk /C ont 15:51, 8 May 2008 (UTC)
 * Do you keep a list of tagged pages? According to the database there are at the moment 1214 pdf's of which 1137 don't transclude any of the above templates. However in a later run I assume most pages will already be tagged so it would be better not to check them again. --Erwin85 (talk) 08:36, 9 May 2008 (UTC)
 * I could create a log of all the files that get tagged. Thats a good idea =]. Ty.  ·Add§hore·  T alk /C ont 15:09, 10 May 2008 (UTC)

BAGAssistanceNeeded (I think this one is been neglected ^^)  ·Add§hore·  T alk /C ont 14:19, 17 May 2008 (UTC)
 * Has any consensus been demonstrated to do this? Bot requests/Archive 20 does not seem to have much discussion on the matter. Given that PDF, an open format, does sometimes preserve details that are lost in plain text, HTML, or PNG, I would think this should probably be handled on a case-by-case basis instead of by bot.  krimpet ✽  19:55, 17 May 2008 (UTC)
 * There was a discussion at Wikipedia talk:CSD that resulted in a new speedy deletion criterion specifically for unencyclopedic PDFs: . The fact that PDFs can preserve details other formats can't isn't much use when the file can't be displayed in an article (so images in PDF format are useless) and can't be edited (so articles in PDF format are useless). Hut 8.5 08:36, 18 May 2008 (UTC)
 * I agree with HuT and the fact that really pdf's are useless, I agree that some of the pdf's may need to stay as pdf's but then they should be moved to wikisource e.t.c.

-

-  ·Add§hore·  T alk /C ont 06:46, 19 May 2008 (UTC)
 * I'm ok with a trial, what do other BAG members think? Soxred93 (u t) 12:18, 21 May 2008 (UTC)
 * (sorry for late response.) dihydrogen monoxide (H2O) 09:23, 30 May 2008 (UTC)
 * Hmmm, Any chance I can have another few trial edits? I am now almost 100% user that there are no bugs :D.  ·Add§hore·  T alk /C ont 14:28, 30 May 2008 (UTC)
 * —  Ree dy  14:33, 30 May 2008 (UTC)
 * Thanks for those. With them I found another bug if the page doesn't contain == summary ==. This is now fixed. Anychance I can have a few more trial edits just to see If I can get more bugs? :D  ·Add§hore·  <sup style="color:blue;">T alk /<sub style="color:blue;">C ont  15:20, 30 May 2008 (UTC)
 * dihydrogen monoxide (H2O) 08:34, 31 May 2008 (UTC)
 * All trial edits now completed and the last trial ran without a hitch, I think it is ready now.  ·Add§hore·  <sup style="color:blue;">T alk /<sub style="color:blue;">C ont 16:36, 31 May 2008 (UTC)
 * Nothings happening again :> BAGAssistanceNeeded  ·Ãḍď§ђɸŗЄ·  T alk 15:36, 3 June 2008 (UTC)
 * Looks good! Mr.Z-man 00:48, 4 June 2008 (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.