Wikipedia:Bots/Requests for approval/FrescoBot 5


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Symbol keep vote.svg Approved.

FrescoBot 5
Operator:

Automatic or Manually assisted: auto

Programming language(s): python

Source code available: ask me

Function overview: put db-blanked on pages created and blanked by a single author

Links to relevant discussions (where appropriate): Wikipedia talk:Criteria for speedy deletion

Edit period(s): few times per year

Estimated number of pages affected: 500?

Exclusion compliant (Y/N): Y

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

Function details: checks history of zero lenght pages and insert db-blanked on pages created and blanked by a single author. It will run mainly on talk pages. Few examples:
 * Talk:Agesilaus
 * Talk:Albion Wharf
 * Talk:Abū Hilāl al-Dayhūri
 * Template talk:Cuisine of Indonesia
 * File talk:Marriott Center 1.JPG
 * Wikipedia talk:Article Incubator/Unreferenced BLPs/Athletes/Alex Murphy
 * Category talk:Igualada
 * Template:Creation/Sandbox
 * Template:Economy of Southern Sudan

Discussion
Reminds me of this bot request, I'd suggest you take a read through it to get some ideas. The bot should also ignore user pages and categories, and check for page moves. - Kingpin13 (talk) 14:32, 29 March 2010 (UTC)


 * I read about MichaelkourlasBot, thank you for the link. User and User talk pages are escluded. Category pages should never be blank (btw I checked and I did not find any blank category). About "page moves" we have 2 scenarios: 1) user moves the page and then blank the redirect (misspelling? orphan?), 2) user creates a page, then blanks it and moves the content in a different page (history has not to be kept). Both cases seems appropriate for db-blanked. Are you talking about these scenarios? -- Basilicofresco  (msg) 15:12, 29 March 2010 (UTC)
 * Category pages may be blank, because the pages in them still show up, so they aren't technically blank (only the wikitext is), and categories do not come under G7 after a blanking. If I user moves a page, and then blanks the resulting redirect, G7 doesn't apply, please read WP:CSD. - Kingpin13 (talk) 18:59, 29 March 2010 (UTC)
 * It sounds a bit odd to me... but you are right, I'll check also for moved pages. What do I have to do with these blanked redirects? Revert? Ignore? -- Basilicofresco  (msg) 22:34, 29 March 2010 (UTC)
 * I received here satisfactory answers to my questions. I'm ready for the trial. -- Basilicofresco  (msg) 14:46, 30 March 2010 (UTC)

Will the bot be warning the creators of the pages it tags? - Kingpin13 (talk) 11:06, 2 April 2010 (UTC)
 * Well, I don't think it is actually necessary, at least not outside user/usertalk space (and I'm going to skip them). I wish to avoid unnecessary edits. Moreover I'm not going to work on recently (less than few days) created or blanked pages and in the rare case of a page "blanked by error" admins can recover it. -- Basilicofresco  (msg) 14:07, 2 April 2010 (UTC)
 * Hmm... I think a message would be good. Just a short note to let the creator know what's been done, and how to request deletion in the future. I know that NPPers don't leave notices for G7, but for a bot which is potentially going to be doing a lot more G7 tagging, I think it's a good idea to. Also, will the bot check that the page has actually been blanked (i.e. it wasn't created blank), just checking that there is more than one edit would be enough to cover this. - Kingpin13 (talk) 21:51, 2 April 2010 (UTC)
 * Ok, I'll drop a note to the creator of the page. At the moment I'm going to consider "blank" only zero-lenght pages and it is not possible to create a completely empty page. -- Basilicofresco  (msg) 11:30, 3 April 2010 (UTC)
 * Should I include also non-empty pages consisting only of whitespaces/carriage returns and with at least 2 edits? -- Basilicofresco  (msg) 11:34, 3 April 2010 (UTC)
 * I think you can count whitespace as blank. And it is highly unlikely that someone could create a page blank, but technically possible, as MBisanz demonstrated here - Kingpin13 (talk) 16:48, 3 April 2010 (UTC)

With the blank creation check mentioned above, - Kingpin13 (talk) 22:59, 12 April 2010 (UTC)


 * As you requested I added the user messages and the ability to skip of pages created with a page move (logged for manual checking) or pages with less than 2 revisions. English is not my mother tongue, in your opinion is the automated message ok? -- Basilicofresco  (msg) 13:07, 13 April 2010 (UTC)
 * Seems pretty good. Do you think you could make the bot place deletion tags on template pages inside tags? Or even better make it check if the page is transcluded anywhere, and if so use the noincludes? I'll work on the warning template, I think I can make a few improvements. - Kingpin13 (talk) 22:56, 13 April 2010 (UTC)
 * Well, is there any problem if I place the G7 deletion tag always within tags? -- Basilicofresco  (msg) 23:09, 13 April 2010 (UTC)
 * Nope, you could do that, but it may cause a bit of confusion for users, I don't personally see a problem with it. I've created a message at User:Kingpin13/FrescoBot Warning Template which you could use. I don't see a need for an image, unless you want to keep it? - Kingpin13 (talk) 23:12, 13 April 2010 (UTC)
 * Well, image is not actually necessary... but I like it. :) I added a check for transclusion (wraps in noinclude and asks me for manual confirmation), and updated the message. I've just performed a couple of edit tests. -- Basilicofresco  (msg) 09:10, 15 April 2010 (UTC)

Seems to have gone smoothly. - Kingpin13 (talk) 20:59, 16 April 2010 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard.