Wikipedia:Bots/Requests for approval/Stefan2bot 2


 * 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

Stefan2bot 2
Operator:

Time filed: 20:57, Wednesday, April 22, 2015 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python

Source code available:

Function overview: Tagging non-free files with old revisions with {{subst:orfurrev}} per WP:NFCC

Links to relevant discussions (where appropriate): Bot owners' noticeboard/Archive 9

Edit period(s): Daily

Estimated number of pages affected: Currently more than 10,000. More will be affected in the future as people upload new revisions of non-free files.

Exclusion compliant (Yes/No): Yes

Already has a bot flag (Yes/No): Yes

Function details: Replaces Bots/Requests for approval/Fbot 8, which has not run for several years. The former operator's code has not been used.

If a non-free file has old revisions, then those revisions violate WP:NFCC and need to be tagged for deletion. This bot will add {{subst:orfurrev}} at the top of the file information page, instructing an administrator to delete the old revisions one week later.

The bot identifies a few common situations where it is likely that a file incorrectly has been marked as unfree. For example, files with OTRS pending and files appearing in both Category:All non-free media and Category:All free media will be skipped and need manual tagging.

As there are more than 10,000 files to tag, I would recommend tagging only 100 or 200 per day until the backlog is gone so that there won't be a sudden overflow in Category:Non-free files with orphaned versions more than 7 days old which might discourage administrators from processing files in that category.

Discussion
Is an admin bot to automatically handle the deletion at all in the cards? Or maybe something semi-automated where an admin could be shown a list with both the original and the current version and then one click to approve a batch of 20 for deletion? A backlog of 10,000 and the number of mouse clicks necessary scares me. (No objection to the bot - just ideating about the second half of the process.) --B (talk) 22:47, 22 April 2015 (UTC)
 * Category:Non-free files with orphaned versions more than 7 days old mentions a script (User:Legoktm/rescaled.js) which seems to assist with deletion. --Stefan2 (talk) 23:08, 22 April 2015 (UTC)

Stefan2 let's see how it goes. -- Magioladitis (talk) 17:18, 26 April 2015 (UTC)
 * See Special:Contributions/Stefan2bot. --Stefan2 (talk) 22:13, 29 April 2015 (UTC)
 * User:Magioladitis, User:B, others: Any comments? --Stefan2 (talk) 14:16, 2 May 2015 (UTC)
 * Looks good to me. --B (talk) 14:18, 2 May 2015 (UTC)
 * I have created an improved version of Legoktm's tool at User:B/rescaledsidebar.js. My version puts it on the sidebar instead of the tabs.  (In vector, you have to hover over "more" before you get most of the tabs, which is really obnoxious.)  My version also adds alt+shift+s as a hotkey and will auto-refresh the page after it finishes so you can check your work.  I didn't realize (stupid mistake on my part) that there was a 7-day time limit before they could be deleted and so I deleted some of the ones your bot tagged.  So if you notice that your bot isn't the most recent contributor, that's why. --B (talk) 14:50, 2 May 2015 (UTC)

Magioladitis (talk) 19:25, 3 May 2015 (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.