Manual:FindOrphanedFiles.php/fr

Des Détails
findOrphanedFiles.php is a maintenance script that finds unregistered files in the 'public' repo zone.

MediaWiki utilise la "image/" directoire pour des imager publique. Ce script trouve des images qui existent dans le répertoire publique, mais qui ne sont pas registrésons dans la base de données.

Erreur courante
This script does not work if your local storage uses SHA-1 hashing.
 * Local repo uses SHA-1 file storage names; aborting.

This error occurs when the directory does not exist or the user running the script does not have permission to read the directory.
 * Could not get file listing.

If directory does exist, check the file permissions. If you are a root user, you can run script with sudo.