Page MenuHomePhabricator

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


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

Related Objects

Resolved TBolliger

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
Framawiki added a subscriber: Framawiki.EditedJun 11 2017, 11:25 PM

Adds messages on talk pages like
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

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

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 Medium 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
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.


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:

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
MaxSem closed this task as Resolved.Oct 1 2019, 7:42 PM
MaxSem claimed this task.
MaxSem added a subscriber: MaxSem.

This was done ages ago. Communities wishing this bot to run on their wiki can request that on Phabricator.