Page MenuHomePhabricator

[Epic] Bot that notifies Wikipedia when a file on Commons is nominated for deletion
Open, NormalPublic

Description

What happens:
  1. File is nominated for deletion on Commons.
  1. People on Wikipedia do not know about this.
What we'd like:
  1. File is nominated for deletion on Commons.
  1. Relevant Wikipedia articles that use the images are notified; relevant WikiProjects are notified.

This would make our work easier on medical articles and would strengthen Commons–Wikipedia connections.


Project documentation

https://meta.wikimedia.org/wiki/Community_Tech/Commons_deletion_notification_bot

Related Objects

StatusAssignedTask
OpenNone
ResolvedMaxSem
ResolvedMaxSem
ResolvedTBolliger
ResolvedMaxSem
ResolvedMaxSem
DuplicateNone
ResolvedMaxSem
ResolvedMaxSem
ResolvedMaxSem
ResolvedMaxSem
ResolvedMaxSem
ResolvedMaxSem
OpenNone
ResolvedMaxSem
ResolvedMaxSem
ResolvedMaxSem
ResolvedMaxSem
ResolvedMaxSem
ResolvedMaxSem
InvalidNone
OpenNone
DuplicateNone
ResolvedNiharika
ResolvedMaxSem
ResolvedMaxSem
ResolvedMaxSem
ResolvedMaxSem

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
Doc_James added a comment.EditedJun 11 2017, 10:06 PM

Commonsdelinker just removes the images, it does not notify anyone before it does. We are needing a bot that:

  1. Detect when "{{delete}}" is added to an image on commons. They are listed here https://commons.wikimedia.org/wiki/Commons:Deletion_requests/2017/05/02
  1. Check to see what articles on EN WP are using the image.
  1. Check what Wikiproject those articles belong to.
  1. If they belong to say WPMED add a link to the deletion discussion on Commons to a list on EN WP. I am thinking this list would be perfect https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Medicine/Article_alerts
FDMS added a subscriber: FDMS.Jun 11 2017, 10:21 PM

Commons Notification Bot used to notify Wikipedia about Commons deletion discussions. It is currently inactive but may be re-written soon. --11:19, 4 November 2015 (UTC)

User:CommonsNotificationBot

Framawiki added a subscriber: Framawiki.EditedJun 11 2017, 11:25 PM

https://fr.wikipedia.org/wiki/Special:Contributions/NaggoBot
https://fr.wikipedia.org/wiki/Utilisateur:NaggoBot/comdr.py

Adds messages on talk pages like https://fr.wikipedia.org/w/index.php?title=Discussion:Solomon_Rossine&diff=prev&oldid=138104455
Can be improved (ie. don't save the same page multiple times, don't create multiples sections...)
Don't hesitate to tell me if i can help to translate some strings of the code

Cool, so there is one. Can someone set it up so it works on EN WP for WPMED?

Astinson added a subscriber: Samwilson.EditedJun 12 2017, 2:56 PM
Astinson added a subscriber: Astinson.

We already have "file usage on other wikis" such as seen here https://commons.wikimedia.org/wiki/File:PneumonisWedge09.JPG

We should not need more than that I do not think.

Tgr added subscribers: daniel, Tgr.Jun 13 2017, 9:01 AM

A long time ago, @daniel's bot CommonsTicker sent warnings to all wikis. Not sure if it just needs a maintainer or has stopped for some other reason.

Sadads added a subscriber: Sadads.Jun 13 2017, 1:35 PM

@Doc_James: as its been explained to me, there is no timestamp or queue of
those changes to the "file usage" list -- so its actually a bit more
complex question of logging those changes in a way that isn't super
intensive, one way or another.

@Sadads We have a list of deletion requests here https://commons.wikimedia.org/wiki/Commons:Deletion_requests/2017/06/06

The history of that page gives entries like "Listing Commons:Deletion requests/File:ArmyDiveBadge.gif"

Why would this not work?

@Doc_James One of the problems right now, is that you can notify the pages that a file is on, or the Wikimedia project: but if someone added the file to a page (clearly the most invested person on that wiki), we have no way of notifying that person that that file is effected (except if they are very closely watching the talk page of articles they have contributed to). There have been a number of files that I have added to pages, that I don't watch (because my watchlist is massive), but I would appreciate knowing if the file gets removed, or is up for deletion.

What the request is, is a central notification at WikiProjects when images used by that WikiProject is up for deletion on commons. This request is not for the specific user who added the image. That while a good idea would be something slightly different.

The script I put on my last comment is running on frwiki :) I think that if you want to use this elsewhere, it will not be difficult.

@Doc_James I am suggesting that we should develop a core infrastructure that adds image change events on commons, so that communities can learn from them in other ways as well (sometimes deletion events, sometimes image addition events, and sometimes). Without this core infrastructure: your proposal only (temporarily) solves part of a larger problem which includes lack of communication between Commons contributors and other Wikimedia contributors.

Okay makes sense

XXN added a subscriber: XXN.Jul 8 2017, 5:25 PM

The feature of notifying client wikis about files nominated for deletion on Commons could be implemented as a Mediawiki extension as well, I think. To notify related WikiProjects on client wikis, more appropriate may be requests for bot work on individual wikis where the local community needs this.

0x010C added a subscriber: 0x010C.Nov 20 2017, 2:45 PM
DannyH triaged this task as Normal priority.Jan 2 2018, 11:49 PM
DannyH added a project: Community-Tech.
DannyH moved this task from Untriaged to To be estimated/discussed on the Community-Tech board.
TBolliger renamed this task from Bot that notifies Wikipedia when a file on Commons is nominated for deletion to [Epic] Bot that notifies Wikipedia when a file on Commons is nominated for deletion.Feb 8 2018, 6:43 PM
TBolliger updated the task description. (Show Details)Feb 23 2018, 10:30 PM
FDMS removed a subscriber: FDMS.Feb 28 2018, 3:54 AM

@Doc_James: How do you think speedy deletions should be handled? Is it worth notifying folks about those?

Yes would be good to notify people about speedy deletions as well. Often it is an OTRS issue and folks on EN WP might be willing to help with solving those issues.

James

Daylen added a subscriber: Daylen.Apr 12 2018, 7:15 PM
Shizhao added a subscriber: Shizhao.May 8 2018, 2:59 AM

A old Commons deletion notice bot: https://meta.wikimedia.org/wiki/User:Duesentrieb/CommonsTicker

for reference only

Cirdan added a subscriber: Cirdan.May 9 2018, 5:16 AM
0x010C removed a subscriber: 0x010C.Jun 15 2018, 11:16 AM
4nn1l2 added a subscriber: 4nn1l2.Jul 6 2019, 8:50 PM