Wikipedia:Bots/Requests for approval/VulpesBot
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard. The result of the discussion was
Approved.
Operator: Dr vulpes (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 02:51, Sunday, June 11, 2023 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): AutoWikiBrowser
Source code available: AWB, regexes given below, quarry:query/64398
Function overview: Blank inactive talkpages of inactive IP addresses and add {{Blanked IP talk}}
Links to relevant discussions (where appropriate): Wikipedia:Bots/Noticeboard#MalnadachBot_--_owner_indeffed,_what_now? Wikipedia:Bots/Requests_for_approval/MalnadachBot_13
Edit period(s): One time run, will return six months after run is complete to request a rerun
Estimated number of pages affected: Unknown, but less than the original BRFA
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): No
Function details: With MalnadachBot no longer available I'm offering to pick up one of it's approved tasks and run it. Task 13 for MalnadachBot was how I learned to use the more advanced features of AWB.
Taken directly from Wikipedia:Bots/Requests_for_approval/MalnadachBot_13
The bot will edit IP talkpages which meet the following conditions -
The IP talkpage has not received edits in the last 5 years The IP address is not currently blocked (including range blocks) There have been no edits from the IP address in the last 5 years List of pages that meet this criteria will be fetched using quarry:query/64398. Since there are millions of IP addresses to check, I will be fetching pages by targeting smaller range of IPs at a time so that the query will not time out.
The pages in the list will be matched using AWB's find and replace in advanced mode. The regex used is .*\n* → . This regex will match everything and replace it with nothing, thereby blanking the page. Then AWB's append function is used to add {{Blanked IP talk}} and the edit will be saved.
Discussion
[edit]Approved for trial (200 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. The query can be made a bit faster if you compare using rev_id instead of rev_timestamp (see the note WP:QUERYTIPS about log_id / log_timestamp). – SD0001 (talk) 19:45, 13 June 2023 (UTC)[reply]
- @Dr vulpes (talk · contribs), please, please don't erased sharedIP tags when clearing old IP pages. Some of these pages are actually inactive because they're schools with long blocks; when those expire, all hell is going to break out until they're blocked again. The ShareIP tags help admins in making blocking decisions. I went to a lot of effort to add these to probably several thousand vandalism-prone IPs 10 years ago.
- Also, any spam related information remains relevant since we track the long-term addition of spam links. These would be pages with spam warning templates, Template:LinkSummary and/or Template:LinkSummaryLive. Thousands of edits have been made by Wikiproject Spam editors to document this on IP pages.
- Thanks, --A. B. (talk • contribs • global count) 03:58, 14 June 2023 (UTC)[reply]
- Thanks for the heads up @A. B., I'll go back and make sure that's addressed before moving forward with the trial. Dr vulpes (💬 • 📝) 04:27, 14 June 2023 (UTC)[reply]
- This task covers only IPs which aren't under active blocks and haven't edited for over 5 years – I doubt if it would include any schools. – SD0001 (talk) 16:13, 14 June 2023 (UTC)[reply]
- Many schools are subject to very long-term blocks. Also, there's no reason to delete any sharedIP tag, school or not. Those are permanent assignments 99+% of the time. --A. B. (talk • contribs • global count) 00:15, 15 June 2023 (UTC)[reply]
- @SD0001:
Trial complete. Edits found here. I did make a minor changes as per @A. B.:'s request, and filtered out anytalk page that had the templates they were concerned about. During testing I discovered the eduip template which is now the Shared IP edu template. So I had to add that to the list part way through testing but I think I got everything under control. All of the 200 edits were supervised so I did check them all, you can even see the case where I discovered the edupip template A. B. if you have any other templates you think I should filter out please let me know so I can add them. I don't want to step on anyone's toes. Dr vulpes (💬 • 📝) 06:58, 16 June 2023 (UTC)[reply]
- {{BAG assistance needed}} Just posting this since it's been a week. Sorry if using this was a mistake, I was just going off the template documentation. I know everyone is really busy working on things so I don't mind waiting as this bot request is pretty low priority. Dr vulpes (💬 • 📝) 06:06, 23 June 2023 (UTC)[reply]
- Also if this was out of line please let me know. I really don't want to step on any toes here. Dr vulpes (💬 • 📝) 06:07, 23 June 2023 (UTC)[reply]
Approved. Primefac (talk) 10:44, 28 June 2023 (UTC)[reply]
- Also if this was out of line please let me know. I really don't want to step on any toes here. Dr vulpes (💬 • 📝) 06:07, 23 June 2023 (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 Wikipedia:Bots/Noticeboard.