Wikidata:Requests for permissions/Bot/Dexbot 16
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
- Approved --Lymantria (talk) 07:38, 4 January 2023 (UTC)[reply]
Dexbot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Ladsgroup (talk • contribs • logs)
Task/s: Delete empty items
Function details: More details in Wikidata:Project_chat/Archive/2022/12#Admin_Bot_Proposal:_Deleting_Empty_Items. First it notifies the only non-bot editor and then deletes it after 72 hours if it doesn't improve. Some examples of notifications Topic:X9g5tebe14znl2kg Topic:X9g5s70g2z75t40m Topic:X9g5ruzd4y6gutgj Special:Diff/1795708128 Special:Diff/1795708249 Special:Diff/1795707904 Special:Diff/1795707743 Special:Diff/1795707383 Special:Diff/1795707290 Topic:X9g5p1xrlsmgx42q Special:Diff/1795707021 Special:Diff/1795706299 Special:Diff/1795704614
Cc. User:BrokenSegue and User:Lymantria --Amir (talk) 16:26, 25 December 2022 (UTC)[reply]
- I'm reading the code and I'm not sure about one thing. What does it do if there is an inbound link to the item but it's from a redirect. Optimally the redirect would also be deleted assuming it also meets the deletion criteria. If it doesn't meet the deletion criteria then original item probably shouldn't be deleted. I'm guessing at the moment it just doesn't delete at all (which is an ok default)? BrokenSegue (talk) 18:06, 25 December 2022 (UTC)[reply]
- Support generally for the idea; the user notification should be opt-in or at least allow opt-out, since not all users are going to be interested in these notifications. I also think that the deletion script linked above looks eerily simple (e.g. no backlinks being checked if I do not miss anything), so wrong deletions seem possible. —MisterSynergy (talk) 18:22, 25 December 2022 (UTC)[reply]
- You may want to combine multiple notification to the same user within one day. GZWDer (talk) 20:13, 25 December 2022 (UTC)[reply]
- @MisterSynergy: regarding "no backlinks being checked if I do not miss anything" https://gitlab.wikimedia.org/ladsgroup/dexbot/-/blob/main/empty_item_deleter/handle_item.py#L14 Amir (talk) 07:22, 26 December 2022 (UTC)[reply]
- @BrokenSegue That can be done in the next step. I rather do one thing at a time. @GZWDer I rather do small batches rather than complicating the code and add a lot of work to the people being notified. There is no rush cleaning these up. Amir (talk) 10:40, 27 December 2022 (UTC)[reply]
- What I mean: do not send a large number of individual notifications to one user, which will spam users' talk page and user notification. For example, instead of two topics, you may said "the following items that you have edited (and you are the only non-bot editor) are considered empty: * Qxxx * Qyyy" GZWDer (talk) 11:59, 27 December 2022 (UTC)[reply]
- I still prefer two separate messages and again, it won't happen much. Amir (talk) 17:52, 30 December 2022 (UTC)[reply]
- Ok sounds fine then Support BrokenSegue (talk) 01:21, 28 December 2022 (UTC)[reply]
- What I mean: do not send a large number of individual notifications to one user, which will spam users' talk page and user notification. For example, instead of two topics, you may said "the following items that you have edited (and you are the only non-bot editor) are considered empty: * Qxxx * Qyyy" GZWDer (talk) 11:59, 27 December 2022 (UTC)[reply]