Manual:Pywikibot/unusedfiles.py

From MediaWiki.org
Jump to: navigation, search
Language: English
Wikimedia-logo-meta.png

This page was moved from MetaWiki.
It probably requires cleanup – please feel free to help out. In addition, some links on the page may be red; respective pages might be found at Meta. Remove this template once cleanup is complete.

unusedfiles.py is part of the pywikipediabot framework that finds unused media using Special:Unusedimages. It places a template (it:Template:Immagine orfana) on the image, and notifies the user with a template (it:Utente:Filbot/Immagine orfana).

When run on an English project, it uses templates "No-use2" and "img-sem-uso", but these are not known to exist anywhere. On English Wikipedia there isnt any appropriate template, as w:Template:Orphan image is strictly for use by free media, and w:Template:orfud is used for fair use media.

Special:Unusedimages is known to not correctly skip media used by mw:Extension:ProofreadPage, making it unsuitable for automated use on Wikisource projects.