Jump to content

Manual:RebuildImages.php

From mediawiki.org
This page is a translated version of the page Manual:RebuildImages.php and the translation is 36% complete.
Outdated translations are marked like this.
Versão MediaWiki:
1.4

Detalhes

rebuildImages.php file is a maintenance script to update metadata records for images that were manually uploaded to the wiki, for example via FTP.

Options

Opção/Parâmetro Descrição Required
--missing Only updates metadata records for images if no records currently exist in the database. Optional
--dry-run Only reports results and does not update the database with metadata records. Optional

Uso

php maintenance/run.php rebuildImages [ --missing| --dry-run ]
Terminal
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also