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
Approved.
Operator: ·Add§hore· Talk/Cont
Automatic or Manually Assisted: Automatic
Programming Language(s): PHP (wikibot.classes.php)
Function Summary: Doing what was requested here. Wikipedia:Bot_requests/Archive 20#Tagging_PDFs
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[1] 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 {{BadPDF}}, {{Move to Wikisource}} and {{BadFormat}}. 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 {{BadFormat}} 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
editI 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· Talk/Cont 15:51, 8 May 2008 (UTC)[reply]
- 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)[reply]
- I could create a log of all the files that get tagged. Thats a good idea =]. Ty. ·Add§hore· Talk/Cont 15:09, 10 May 2008 (UTC)[reply]
{{BAGAssistanceNeeded}} (I think this one is been neglected ^^) ·Add§hore· Talk/Cont 14:19, 17 May 2008 (UTC)[reply]
- Has any consensus been demonstrated to do this? Wikipedia:Bot requests/Archive 20#Tagging PDFs 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)[reply]
- There was a discussion at Wikipedia talk:CSD that resulted in a new speedy deletion criterion specifically for unencyclopedic PDFs: [2]. 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)[reply]
- 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.
-
![]() | This image was uploaded in a non-image format. The information it contains could be stored more efficiently in the PNG format, the SVG format, or as plain text in an article. If the information is encyclopedic, please integrate its text and information into an article, or consider copying it to Wikisource if it is freely licensed. If the contents are unencyclopedic or a copyright violation, please consider taking it to images for deletion or using the speedy deletion process. For more information, see Wikipedia:Preparing images for upload. |
- ·Add§hore· Talk/Cont 06:46, 19 May 2008 (UTC)[reply]
- I'm ok with a trial, what do other BAG members think? Soxred93 (u t) 12:18, 21 May 2008 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. (sorry for late response.) dihydrogen monoxide (H2O) 09:23, 30 May 2008 (UTC)[reply]
- Hmmm, Any chance I can have another few trial edits? I am now almost 100% user that there are no bugs :D. ·Add§hore· Talk/Cont 14:28, 30 May 2008 (UTC)[reply]
Approved for trial (25 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. —Reedy 14:33, 30 May 2008 (UTC)[reply]
- Thanks for those. With them I found another bug [3] 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· Talk/Cont 15:20, 30 May 2008 (UTC)[reply]
Approved for trial (25 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. dihydrogen monoxide (H2O) 08:34, 31 May 2008 (UTC)[reply]
- All trial edits now completed and the last trial ran without a hitch, I think it is ready now. ·Add§hore· Talk/Cont 16:36, 31 May 2008 (UTC)[reply]
- Thanks for those. With them I found another bug [3] 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· Talk/Cont 15:20, 30 May 2008 (UTC)[reply]
- Hmmm, Any chance I can have another few trial edits? I am now almost 100% user that there are no bugs :D. ·Add§hore· Talk/Cont 14:28, 30 May 2008 (UTC)[reply]
- Nothings happening again :> {{BAGAssistanceNeeded}} ·Ãḍď§ђɸŗЄ· Talk 15:36, 3 June 2008 (UTC)[reply]
- Looks good!
Approved. Mr.Z-man 00:48, 4 June 2008 (UTC)[reply]
- Looks good!
- 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.