Wikipedia:Bots/Requests for approval/Fbot 9


 * 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

Fbot 9
Operator:  F ASTILY  (TALK)

Time filed: 09:51, Monday October 24, 2011 (UTC)

Automatic or Manual: Automatic unsupervised

Programming language(s): Java

Source code available: Not currently

Function overview: Bot tags non-free images (jpg, png, gifs only) with if one of the sides is longer than 400px. the image is larger than 164,025 pixels (explanation for this below).

Links to relevant discussions (where appropriate):

Edit period(s): Continuous

Estimated number of pages affected: 20k

Exclusion compliant (Y/N): Y

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

Function details: Bot starts by retrieving a list of files based off template transclusions of non-free templates. Bot then checks each image's size. If the longest side of the image is >= 400, If the image is larger than 164,025 pixels, tag file with. This task should complement Bots/Requests for approval/DASHBot 9 nicely. - F ASTILY  (TALK) 09:51, 24 October 2011 (UTC)

Discussion
Image size is recorded on the database, as is category membership. Hence, there is only a need to run a single Toolserver query and tag all of those. Which makes me wonder, why hasn't anyone done that before? Surely someone must have had an objection? - Jarry1250 [Weasel? Discuss.] 16:03, 24 October 2011 (UTC)
 * Incorrect parameters - The bot should not be tagging non-free files based on the longer side being greater than 400px. Since not all files are square, any file where  is good. That means 400x400 is of course good, but it also means that 500x320 and 600x266 are good. This is the parameter that DASHBot and the resizing user script both use. If we're going to have a bot do the tagging, I'd actually set the number somewhat higher, so that it would only tag files where   (i.e. larger than 405x405) since I've seen plenty of images resized to 401x400, and that's really not something that's worth re-shrinking. As for the function itself, I support it with the revised parameters.   S ven M anguard   Wha?  12:29, 30 October 2011 (UTC)


 * Support with the revised parameters. The majority of non-free files aren't square. &mdash; Train2104 (talk • contribs • count) 19:37, 2 November 2011 (UTC)


 * I have received an email in which Fastily asked me to pass on the message "I concur with the proposed modified parameters in the specification of Fbot 9". I have altered the request to reflect this change.  S ven M anguard   Wha?  08:02, 5 November 2011 (UTC)


 * Support, now that we have confirmation of the revised parameters. This really will help.  S ven M anguard   Wha?  09:48, 6 November 2011 (UTC)

Don't see any real problems, task is according to non-free media guidelines and there's a backlog and identifying these by hand requires the aforementioned TS access or at least API. I would personally have the size restriction to some 500x500+ for initial runs until backlog is cleared to a point where we can worry about smaller ones. — HELL KNOWZ  ▎TALK 10:14, 6 November 2011 (UTC)
 * If I come across something that is 500x500, I'll typically resize it on the spot. That's substantially larger than the guideline. At the same time though, if it's just for the trial, I don't see why that's not a problem. The things that were skipped over won't be skipped over in the full run.  S ven M anguard   Wha?  10:57, 6 November 2011 (UTC)

Test run = success. We're good to go here. - F ASTILY  (TALK) 10:26, 24 November 2011 (UTC)

If I may make a suggestion that in no way impacts whether this gets approved or not: DASHBot, which is going to do the resizings, might get overwhelmed, or might be down at the time that this task starts. I recommend that the two bot operators get in contact and coordinate this, in order to achieve maximum efficiency.  S ven M anguard  Wha?  11:30, 24 November 2011 (UTC)
 * Why did you revert half of the bot's taggings? &mdash; Train2104 (talk • contribs • count) 14:39, 24 November 2011 (UTC)
 * Miss-typed the less than equal to sign. As you can imagine, that would cause some problems :P It's fixed now though. - F ASTILY  (TALK) 20:47, 24 November 2011 (UTC)

BAGAssistanceNeeded ? - F ASTILY  (TALK) 21:26, 25 November 2011 (UTC)
 * This looks ugly (notice the  box due to the whitespace). I am aware what a pain whitespace can be, but is there any way you can stop/avoid that happening in future (so far that's the only one I can see, but if the bot is going to be doing a large amount of edits it is bound to happen somewhere else) -- Chris  08:25, 26 November 2011 (UTC)
 * Added .trim to the string representing the text of pages retrieved via API. Whitespace won't be a problem anymore. - F ASTILY  (TALK) 08:57, 26 November 2011 (UTC)

-- Chris 02:02, 28 November 2011 (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 WT:BRFA.