Toolserver:CommonsDelinker

From mediawiki.org

This page was moved from the Toolserver wiki.
Toolserver has been replaced by Toolforge. As such, the instructions here may no longer work, but may still be of historical interest.
Please help by updating examples, links, template links, etc. If a page is still relevant, move it to a normal title and leave a redirect.

CommonsDelinker is a bot that removes image links on Wikimedia wikis for images that are deleted on Commons. It was originally written by Orgullomoore and currently maintained by Hoo man, Siebrand, and Krinkle. For more information on CommonsDelinker see its meta page. CommonsDelinker is a multi-maintainer project.

Source[edit]

CommonsDelinker is open source under the terms of the MIT license in the pywikipedia subversion repository.

Operation[edit]

The bot is run on a random server via SGE. A croniejob runs every minute on submit.toolserver.org that checks if the bot is still running and if not readds it as a job to SGE.

There are two bots: CommonsDelinker (job name: cd) and CommonsDelinkerHelper (job name: cdh). They run from separate source trees: $HOME/cd and $HOME/cdh respectively.

There also is a web interface in $HOME/public_html, which shows recent activity of the bot. This thing is currently a crappy PHP script.

Cheatsheet[edit]

  • To restart CD: qdel cd
  • To restart CDH qdel cdh

Note that restarting CDH is often required when it stops reacting because of its crappy code or may not work.

Category:Stable projects Category:Wikimedia bots