CommonsDelinker is a service brought to local wikis by Wikimedia Commons administrators, maintained by Magnus Manske. It aims to prevent image links from visibly breaking on local wikis after a Commons file is deleted.

"File delinking" is the remedial action performed by CommonsDelinker in response to it detecting a Commons file having been deleted due to policy infractions (Non-free media, vandalism, etc). If you want to know why your file has been removed, please ask the Commons administrator that deleted your file.

21:08, 8 November 2007 (UTC) CommonsDelinker is now running two plug-ins: on delinking media inside flag galleries on nl.wp, it does not delink, but replace with a place holder. It does the same on fr.wikibooks with other criteria.

21:06, 8 November 2007 (UTC) Bugs and feature requests can be reported here

21:04, 8 November 2007 (UTC) CommonsDelinker logs are now available here

21:04, 8 November 2007 (UTC) CommonsDelinker is one of the first projects to run on the new stable toolserver

Emergency bot shutoff button

Administrators: Use this button if the bot is malfunctioning (direct link)Admins: If you are blocking this bot, MAKE SURE TO DISABLE AUTOBLOCK, otherwise you will block a number of bots running on Wikimedia Cloud Services.

Search and remove (or replace) any instances of the deleted image (e.g., [[File:Foobar.jpg]], [[File:Foobar.jpg|description|other|parameters]], or <gallery>Image:Foobar.jpg</gallery>).

The bot saves the page with a summary in English by default. See #Edit summary for localisation support.

Active wikis

All public Wikimedia wikis, except:

wikimania****.wikimedia.org wikis

Edit summary

The bot's edit summary can be translated via the following page names on the relevant wiki:

[[User:CommonsDelinker/summary-I18n]] (for image removals)

[[User:CommonsDelinker/replace-I18n]] (for image replacements).

Note: The page must be created on the target wiki, not on Meta-Wiki! If no such page exists on a wiki, the bot will first (for non-Wikipedia wikis) look for an edit summary in a similar language edition of a Wikipedia, after falling back to the default summary configured in the bot software.

It is recommended to protect these pages to prevent vandalism.

The bot's edit summaries incorporate the collaborative beauty of wikis. Individual wikis should feel free not only to translate the edit summary, but to tweak it, modify the style, add links, etc. Do keep the following variables in mind (all are optional and can be placed anywhere in the summary as many times as desired):

summary-I18n

$1 - The name of the file deleted on Commons. This does not include the prefix "Image:"

$2 - The username of the administrator on Commons that deleted the image being delinked.