Acceptance criteria
- When an image on Commons is marked for deletion and it is embedded in a different wiki's article page, a bot should post an announcement.
- The bot should post a message on the talk page of the relevant article
- The message copy is provided in this ticket, below
- The bot should run continuously, but operate on a slight delay to not spam for accidental posts or vandalism.
- There should be a 15 minute delay for speedy deletions
- There should be a 60 minute delay for regular deletion discussions
- Messages should be translatable via TWN — not templates
- If a file is used on more than 10 pages, the bot should only post on 10 talk pages maximum
- Should only identify files used on NS:0 (mainspace)
- Should use User:Community Tech bot
Messages to post
For regular deletion:
== A Commons file used on this article has been nominated for deletion == The file [[commons:File:Foobar.jpg|Foobar.jpg]] on Wikimedia Commons has been nominated for deletion. View and participate in the deletion discussion at the [[commons:Commons:Deletion requests/File:Foobar.jpg|nomination page]]. — ~~~~
For speedy deletion:
== A Commons file used on this article has been nominated for speedy deletion == The file [[commons:File:Foobar.jpg|Foobar.jpg]] on Wikimedia Commons has been nominated for speedy deletion. View the deletion reason at the [[commons:File:Foobar.jpg|Commons file page]]. — ~~~~
Parameters what would need to change:
- Filename
- Date of nomination