Wikipedia:Bots/Requests for approval/MusikBot 10


 * 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

MusikBot 10
Operator:

Time filed: 05:55, Monday, January 9, 2017 (UTC)

Automatic, Supervised, or Manual: Supervised

Programming language(s): Ruby

Source code available: GitHub

Function overview: Move BLPs created by to the draftspace

Links to relevant discussions (where appropriate): User:Aymatth2/SvG clean-up, specifically Special:Permalink/759048541

Edit period(s): One time run

Estimated number of pages affected: ~16,104 page moves

Exclusion compliant (Yes/No): No

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

Function details: The ANI discussion on why this is being done can be found at Administrators' noticeboard/IncidentArchive941. The result of that discussion, among other things, was to re-evaluate problematic BLPs created by. The issue is there are over 16,000 of them, so after some discussion at User:Aymatth2/SvG clean-up involved editors have decided they want to move these pages to the draftspace. There they can be manually reviewed for inclusion, following the clean-up guidelines. The BLPs were identified by query/15207 and spot-checked by myself and. All redirects will be suppressed (see Special:ListGroupRights, bots possess the suppressredirect permission), and categories will be deactivated (e.g. change to Category:Living people . The whole process will be supervised, but ideally at a high-rate to reduce total runtime. For perspective, one page move per second would still take over 4 hours to complete. A slower rate is perfectly fine, but mind you this is a straightforward task that does not involve any special logic &mdash;  MusikAnimal  talk  05:55, 9 January 2017 (UTC)

Discussion

 * Comment: One page per second, or even ten per minute to allow up to one day for this work to happen, should not be a big deal. I don't think there is need for a big hurry to get them moved, given how long it will take to review these articles. Get it done, sure, but don't worry about how long it takes. – Jonesey95 (talk) 06:33, 9 January 2017 (UTC)
 * The closing admin of the ANI thread, wanted to give only a week for the entire review while the articles were in mainspace due to the high probability of BLP violations.  One day is not a big deal, but longer than that is likely a problem.  Tazerdadog (talk) 06:39, 9 January 2017 (UTC)
 * I'm OK with one day too, but I will at some point have to let the bot roam free while I sleep :) Again this super straightforward. The only thing I can think of that could go wrong is some encoding issue with weird page titles. I have a set of test cases I use in developing scripts/bots for this very purpose, and it is able to handle those properly. It'd make me feel better if I monitor the full run, but I still think the likelihood of error is slim. Doing this in chunks – maybe half one day, the other half the next day – is also perfectly fine &mdash; MusikAnimal  talk  07:28, 9 January 2017 (UTC)
 * Apologies if I'm stating the obvious, but the edit summary for each move needs to be crystal clear on why it's being done. While the ANI did take up a large chunk of that page, with several contributors, and projects such as Olympics, Cycling, WIR, etc, have been told about the moves/deletions, there will be lots of editors for one reason or another, who know nothing about why it's being done. With plenty of different sports covered, no doubt several people's watchlists will light up when things start moving out of mainspace!  Lugnuts  Precious bodily fluids 11:17, 9 January 2017 (UTC)
 * Yeah. I doubt we can explain it well enough in an edit summary honestly.  We should make a page that edit summaries can link to that gives the brief version of events to this point, and invites users to help with the cleanup.  Tazerdadog (talk) 14:25, 9 January 2017 (UTC)
 * Someone could summarize the ANI discussion and outcome in a section on this page, then the bot edits could link here. It may not be the usual way of doing things, but creating a third page would also be a little strange. – Jonesey95 (talk) 16:29, 9 January 2017 (UTC)
 * Make the edit summary: "Moved to draft space per User:Aymatth2/SvG clean-up/Guidelines". That points to the other discussions, and also explains how the article can be salvaged. Aymatth2 (talk) 18:14, 9 January 2017 (UTC)
 * Sounds good to me.  Lugnuts  Precious bodily fluids 08:21, 10 January 2017 (UTC)
 * Done &mdash;  MusikAnimal  talk  19:09, 10 January 2017 (UTC)
 * I am more familiar with COBOL/MVS, but it certainly looks as though that will do the job in a very straightforward way. As soon as the move is finished, I can clean up the lists and notify the projects and users. Aymatth2 (talk) 20:53, 10 January 2017 (UTC)
 * What's the progress on approval for this/starting the moves? Thanks.  Lugnuts  Precious bodily fluids 12:30, 11 January 2017 (UTC)
 * Having reviewed the ANI and discussions/pages in Aymatth2's userspace, this should be approved for a small trial to verify that redirects won't remain and there aren't any encoding issues. —&thinsp;JJMC89&thinsp; (T·C) 17:06, 11 January 2017 (UTC)

This apparently is a bit pressing given the potential BLP violations floating around, and the nature of the task should make for an easy review. Many thanks &mdash; MusikAnimal  talk  20:19, 11 January 2017 (UTC)


 * — xaosflux  Talk 02:41, 13 January 2017 (UTC)
 * So after finally figuring out I needed to change the applicable grants via Special:BotPasswords in order to get suppressredirect to work, I made a single page move (including the talk page). Then I realized we should probably be deactivating the categories? E.g. change to Category:Living people. I'm near certain we want to do this, but will run it by you all first., I also realized by moving the talk pages too we'll likely end up with an even number of edits, so I will do 24 instead of 25 &mdash;  MusikAnimal  talk  08:20, 13 January 2017 (UTC)
 * Please do disable the categories if possible. Tazerdadog (talk) 08:28, 13 January 2017 (UTC)
 * The bot ideally should do everything that can easily be done in the step 2 (Tidy Up) found here:User:Aymatth2/SvG_clean-up. Tazerdadog (talk) 08:43, 13 January 2017 (UTC)

Worked out to be 25 edits. A typo left out a colon the first time it deactivated the categories but easily fixed and it worked fine for the rest of the run. I can help with the "tidy up" step User:Aymatth2/SvG_clean-up, but we should talk about that more... For starters I think you want draft article and not userspace draft. The main issue is stubbing out non-free imagery. I think I can have the bot detect if it's non-free, but backing up the image to the file system is the bigger concern. I'm not going to do that on Tool Labs, and I'm pretty sure non-free imagery is not permissible there anyway. Considering many of the 16,000+ pages have (possibly non-free) images, I'm guessing that's going to take a toll on the disk space of my local machine. You may have to do without them entirely, or go through the drafts manually and deal with the images. Finally, it's unclear if we'd want to remove all maintenance templates? Perhaps that part should be left to manual review, too. Please advise &mdash; MusikAnimal  talk  08:55, 13 January 2017 (UTC)
 * Yes, draft article and not userspace draft. Good catch.  It is not permissible to have fair use files in draft articles because of copyright concerns.  If the bot simply stubbed out non-free images, and then listed the articles that contained them somewhere, I could review them quickly enough to prevent the file from being deleted.  In the worst case scenario, deleting all of the non-free images is clearly the lesser of the evils.  The articles are being reviewed individually, and we do not want to clog up the queue of anyone working through a maintenance template with these articles.  I'd therefore be inclined to say yes, kill all maintenance templates, but I very easily could be wrong on this point.  Tazerdadog (talk) 09:08, 13 January 2017 (UTC)
 * We could also do as the clean up guide says and change [[File:Image]] to File:Image (or similar, for infoboxes), allow the image to be procedurally deleted, and later request undeletion as needed. Also bear in mind these new bot requests will take some time to code, and involve a more lengthy trial. You may wish to weigh out the concern of the potential BLP violations lingering in the mainspace versus handing the clean up tasks manually. In my opinion the maintenance templates may be helpful when reviewing, and I think non-free imagery in the draft space is not quite as bad as live BLP violations indexed by search engines &mdash; MusikAnimal  talk  09:15, 13 January 2017 (UTC)
 * Yes, The BLP violations outweigh all of those concerns right now. Let's get everything moved, and once they are moved, we can talk about maintenance templates and similar.  I just did a spot check - I'd be surprised if 10% of the articles contained an image, and further surprised if 1% of them contained a non-free one.  Based on that, I think the existing processes are good enough for images and the bot shouldn't try to deal with them.  Let's keep it simple Tazerdadog (talk) 09:30, 13 January 2017 (UTC)
 * The test looks fine to me. No redirects left behind, categories disabled. I would not worry about a few drafts linking to non-free images, or some non-free images being lost. These are tiny details. I say, let's go. Does this need another approval? Aymatth2 (talk) 13:27, 13 January 2017 (UTC)


 * Looks good - thanks for the work so far. - how do these lists work once the article is moved from mainspace and the categories are disabled?  For example, the Olympic cyclist list has already dropped to 148 after the 25-page trial move.  Lugnuts  Precious bodily fluids 15:01, 13 January 2017 (UTC)
 * I did not think of that. I will make files holding copies of the existing lists. Are there others that should be added before we lose the categories? Aymatth2 (talk) 15:40, 13 January 2017 (UTC)
 * That's great. No, I don't think there are any others. They're pretty comprehensive as they stand. Thanks.  Lugnuts  Precious bodily fluids 19:20, 13 January 2017 (UTC)
 * Thanks. I have all the lists downloaded, and am reformatting and uploading them as files, a tedious job. In User:Aymatth2/SvG clean-up/Guidelines I am putting the file name below the query, so they can be compared if anyone wants to check before the mass move is done. There are a few some small discrepancies in counts, perhaps partly from the trial run, partly from other changes to the articles. I am not going to worry about that. Aymatth2 (talk) 20:03, 13 January 2017 (UTC)
 * So are we OK to move forward with the bot, without doing any of the cleanup tasks (except deactivating categories)? &mdash; MusikAnimal  talk  20:05, 13 January 2017 (UTC)


 * Aymatth2 - appreciate your work with this. If you could do the main Olympic one, that would be great. MusikAnimal - yes, happy for things to get going and to start the 90-day clock! Thanks.  Lugnuts  Precious bodily fluids 20:09, 13 January 2017 (UTC)
 * I am brain dead from editing these lists.
 * Yes - no need for any improvements to the bot. Good to go as far as I am concerned. Aymatth2 (talk) 21:26, 13 January 2017 (UTC)
 * Any chance that after the move you could fix the files at User:Aymatth2/SvG clean-up/Guidelines, e.g. User:Aymatth2/SvG clean-up/Runners. Keep the same file names but change all Aymatth2 (talk) 21:26, 13 January 2017 (UTC)
 * I have turned all the lists into files. Once the mass move has run and the lists have been fixed, would you be willing to notify all the projects and users and ask for help with salvage? I would say any project or userid in User:Aymatth2/SvG clean-up and User:Aymatth2/SvG clean-up/Guidelines, anyone else you can think of. It will probably be a bit chaotic, but the more help the better. Thanks, Aymatth2 (talk) 21:26, 13 January 2017 (UTC)
 * Glad to hear the bot is good to go on your end. If we could keep unrelated discussion outside the BRFA that would be preferable, perhaps User talk:Aymatth2/SvG clean-up? Thanks :) &mdash; MusikAnimal  talk  21:29, 13 January 2017 (UTC)

See bot trial results above. We're only moving the pages to the draft space without redirect, and deactivating the categories &mdash; MusikAnimal  talk  23:08, 13 January 2017 (UTC)


 * Thanks once again both of you for all your help on this. I think we're good to go with the bot.  Lugnuts  Precious bodily fluids 13:07, 14 January 2017 (UTC)
 * - Do you know when the bot will start now the trial is complete? Thanks.  Lugnuts  Precious bodily fluids 18:30, 15 January 2017 (UTC)
 * As soon as we get approval, will request BAG attention &mdash; MusikAnimal  talk  19:00, 15 January 2017 (UTC)

Again a tad urgent given the possibility of BLP violations lingering in the mainspace. See above for trial results. The bot will only move the pages to the draft space then deactivate the categories &mdash; MusikAnimal  talk  19:00, 15 January 2017 (UTC)
 * Sorry to bug you! Any chance you could look this over? Should be easy peasy :) &mdash; MusikAnimal  talk  00:48, 18 January 2017 (UTC)


 * I'd like to see a larger run to ensure other odd use cases don't come up. Please post results when done. — xaosflux  Talk 03:41, 18 January 2017 (UTC)


 * , - all done? Trial complete and a success? Can we now move all of them? Or do we have to wait another week/10 days or more for someone from this bot approval group to wake up?  Lugnuts  Precious bodily fluids 08:03, 19 January 2017 (UTC)
 * Sorry the process has been slow, but trials are important, and bot approval is a requirement. No issues with the new trial, so hopefully we'll get this approved soon. Thanks for your patience &mdash; MusikAnimal  talk  10:56, 19 January 2017 (UTC)

With 252 edits. Pages like Draft talk:Mieke Kröger with special characters (special to the Ruby gem I'm using, anyway) were properly handled. There is an issue, though... I'm guessing the bot is moving some pages back to the draft space that have already been re-reviewed under this clean up project. To get around that, we need to stop doing anymore reviews until the bot task is approved and completed (hopefully next run)... I say this because there were a few pages the bot was unable to move because the target draft page was not a redirect to the source page, such as. Here a new-ish user (who probably shouldn't be doing reviews) reviewed the page and erroneously moved it to the Wikipedia namespace. That explains why the bot couldn't move Aafke Eshuis to Draft:Aafke Eshuis, but it also tells me we're going in circles. So if things look okay to, hopefully we can get a "move on" (pun intended) so that you all can start reviewing again &mdash; MusikAnimal  talk  10:56, 19 January 2017 (UTC)


 * with ramp up schedule. I understand the urgency, but will give slight pauses in the event of other errors.
 * 2000 edits, 12 hour hold
 * 2000 edits, 12 hour hold
 * 5000 edits, 12 hour hold
 * rest of job — xaosflux  Talk 12:10, 19 January 2017 (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.