Jump to content

Pywikibot/unusedfiles.py

From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by John Vandenberg (talk | contribs) at 23:31, 9 March 2008 (note free vs fair use distinction on en.wp). It may differ significantly from the current version.

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.