Wikipedia:Bots/Requests for approval/DannyS712 bot 32
- 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 Denied.
Operator: DannyS712 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 00:31, Saturday, April 27, 2019 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: https://paws-public.wmflabs.org/paws-public/User:DannyS712_bot/Orphaned%20articles%20with%20incoming%20links.ipynb
Function overview: Update Wikipedia:Database reports/Orphans with incoming links (to be created)
Links to relevant discussions (where appropriate): Wikipedia:Bots/Requests for approval/DannyS712 bot 5 (denied for implementation reasons) Wikipedia:Bots/Requests for approval/DannyS712 bot 10 (withdrawn due to concerns about implementation)
Edit period(s): Ad hoc / as desired
Estimated number of pages affected: 1
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: Update a new database report with a list of pages tagged as orphans that have incoming links.
Discussion
[edit]You don't need a separate BRfA for each db report. You can file a general request and then run as many as you want (cf: 1). -FASTILY 01:06, 27 April 2019 (UTC)[reply]
- @Fastily: I currently don't have any other plans for database reports, but in the future if I ever do I'll open a general request instead. --DannyS712 (talk) 02:17, 27 April 2019 (UTC)[reply]
What does this have to do with Wikipedia:Bots/Requests for approval/DannyS712 bot 5? Also, why not have the bot run regularly, say once a day? The query isn't that slow, and this report seems useful. While I don't think there are any rules, Wikipedia:Database reports seems to largely feature fully-automated, regular updates. If this is for your own benefit, you could just write to your bot's userspace, which you don't need approval for. Otherwise, a showing of some support for this report would be appreciated. — MusikAnimal talk 03:48, 27 April 2019 (UTC)[reply]
- @MusikAnimal: Sorry, I meant task 10 (link - withdrawn per objections about implementation). I haven't figured out how to make the code automatically run every x hours, so it would just be manually triggered. But, I think it would be useful for other editors, so I wanted to make it a database report. --DannyS712 (talk) 06:16, 27 April 2019 (UTC)[reply]
- @DannyS712:, I think that you might be looking for cron jobs? --TheSandDoctor Talk 07:50, 27 April 2019 (UTC)[reply]
- @TheSandDoctor: Yep, thats what I want, but I haven't figured them out yet. If/when I do, I'll switch to using them, but until then my plan would be to run it manually. --DannyS712 (talk) 14:06, 27 April 2019 (UTC)[reply]
- I would argue it doesn't make sense to put anything at WP:Database reports if it isn't automatically updated. It sounds like you may want to pursue moving your bot(s) to Toolforge. I would still like to see some other editors show some support for this new database report, though. If you would prefer to keep this as a manual task, why not use your bot's userspace? — MusikAnimal talk 02:53, 28 April 2019 (UTC)[reply]
- @MusikAnimal: I've tried to use toolforge, and couldn't figure it out. I do indeed want to pursue moving my bots to Toolforge, but getting them up and running their is going to take a chunk of time that I just don't have at the moment. I want to to be in wikipedia space so that, if I ever can figure out how to implement something on toolforge, I just need to switch it over without getting approval. As for support, the orphan criteria say that one incoming link is enough, so orphans with 2 or more incoming links would allow people to easily and quickly remove orphan tags from non-orphans (after checking that the incoming links meet the criteria), allowing them (or others) to focus on adding links to articles that truly are orphans. --DannyS712 (talk) 03:09, 28 April 2019 (UTC)[reply]
- That's understandable. But I for one don't think manual updates belong at WP:Database reports. What's wrong with the bot userspace? Many reports are published there (I have several). Once you've figured out Toolforge, post a note at Wikipedia talk:Database reports asking if there is interest in the orphan w/links report. If we've got a show of hands, perhaps even just one, you're looking at only a swift bot approval.
- Similarly, I don't think updating the report using your own account is a good idea either. Please achieve consensus for this. I have moved WP:Database reports/Orphans with incoming links to your bot userspace. What I don't want is an unmaintained report lingering on that page. — MusikAnimal talk 03:39, 28 April 2019 (UTC)[reply]
- @MusikAnimal: okay. Any tips on toolforge? I wanted to move my draft uncategorizing script (User:DannyS712 test/DNC bot.js) there, and while I have a tool and a repository on phab, I have no idea how to actually add code there. I don't use command-line git or linux, and there isn't a gui. How did you set up xtools so that edits on github where automatically made on phab? --DannyS712 (talk) 03:58, 28 April 2019 (UTC)[reply]
- @DannyS712: There is no GUI involved here. You will need to learn how to use a unix-like CLI, and how SSH works (so you can access your tool account within the Toolforge servers). You don't have to use Diffusion (the Phabricator code hosting platform). You can use GitHub, or whatever you want. Never mind the GitHub/Diffusion mirroring; that isn't needed. Once your code is on the remote (such as GitHub), you would SSH into Toolforge and pull your code from the remote.
Regardless, I don't think User:DannyS712 test/DNC bot.js would work on Toolforge as written. It assumes you're logged in and have access to the MediaWiki JavaScript API (which lives here on the wiki, available to user scripts and gadgets). You'd probably need to port this to Node.js to have it work server-side, or use a different language such as Python or PHP.
I'm going to close this task as Denied. since I think we've concluded it needs automation. I'd be happy to help you further with Toolforge, but it sounds like you may need to learn to use the necessary technologies first. Code Academy has great free tutorials on the command line and git. — MusikAnimal talk 04:32, 28 April 2019 (UTC)[reply]
- @DannyS712: There is no GUI involved here. You will need to learn how to use a unix-like CLI, and how SSH works (so you can access your tool account within the Toolforge servers). You don't have to use Diffusion (the Phabricator code hosting platform). You can use GitHub, or whatever you want. Never mind the GitHub/Diffusion mirroring; that isn't needed. Once your code is on the remote (such as GitHub), you would SSH into Toolforge and pull your code from the remote.
- @MusikAnimal: okay. Any tips on toolforge? I wanted to move my draft uncategorizing script (User:DannyS712 test/DNC bot.js) there, and while I have a tool and a repository on phab, I have no idea how to actually add code there. I don't use command-line git or linux, and there isn't a gui. How did you set up xtools so that edits on github where automatically made on phab? --DannyS712 (talk) 03:58, 28 April 2019 (UTC)[reply]
- @MusikAnimal: I've tried to use toolforge, and couldn't figure it out. I do indeed want to pursue moving my bots to Toolforge, but getting them up and running their is going to take a chunk of time that I just don't have at the moment. I want to to be in wikipedia space so that, if I ever can figure out how to implement something on toolforge, I just need to switch it over without getting approval. As for support, the orphan criteria say that one incoming link is enough, so orphans with 2 or more incoming links would allow people to easily and quickly remove orphan tags from non-orphans (after checking that the incoming links meet the criteria), allowing them (or others) to focus on adding links to articles that truly are orphans. --DannyS712 (talk) 03:09, 28 April 2019 (UTC)[reply]
- I would argue it doesn't make sense to put anything at WP:Database reports if it isn't automatically updated. It sounds like you may want to pursue moving your bot(s) to Toolforge. I would still like to see some other editors show some support for this new database report, though. If you would prefer to keep this as a manual task, why not use your bot's userspace? — MusikAnimal talk 02:53, 28 April 2019 (UTC)[reply]
- @TheSandDoctor: Yep, thats what I want, but I haven't figured them out yet. If/when I do, I'll switch to using them, but until then my plan would be to run it manually. --DannyS712 (talk) 14:06, 27 April 2019 (UTC)[reply]
- @DannyS712:, I think that you might be looking for cron jobs? --TheSandDoctor Talk 07:50, 27 April 2019 (UTC)[reply]
- 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.