Wikipedia:Bots/Requests for approval/FrescoBot 5

This is an old revision of this page, as edited by Basilicofresco (talk | contribs) at 11:34, 3 April 2010 (Discussion). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Operator: Basilicofresco (talk · contribs)

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#G7 for redirects created as a result of a pagemove

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:

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)[reply]

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)[reply]
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#G7. - Kingpin13 (talk) 18:59, 29 March 2010 (UTC)[reply]
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)[reply]
I received here satisfactory answers to my questions. I'm ready for the trial. -- Basilicofresco (msg) 14:46, 30 March 2010 (UTC)[reply]

Will the bot be warning the creators of the pages it tags? - Kingpin13 (talk) 11:06, 2 April 2010 (UTC)[reply]

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)[reply]
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)[reply]
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)[reply]
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)[reply]