Manual:MigrateFileRepoLayout.php/de

Category:MediaWiki code/de#MigrateFileRepoLayout.php

Details

migrateFileRepoLayout.php is a maintenance script that copies all files in FileRepo to a new layout using SHA1 paths.

Optionen

Option Beschreibung Notwendig
--oldlayoutOld layout; one of 'name' or 'sha1'Notwendig
--newlayoutNew layout; one of 'name' or 'sha1'Notwendig
--sinceCopy only files from after this timestampOptional

Dieses Skript läuft in 50er-Stapeln.

Verwendung

php maintenance/run.php migrateFileRepoLayout --oldlayout name|sha1 --newlayout  name|sha1 [ --since ]
Terminal
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Häufiger Fehler

Invalid old layout.

The value for parameter --oldlayout must be either name or sha1.

Invalid new layout.

The value for parameter --newlayout must be either name or sha1.

Siehe auch

Category:Maintenance scripts/de Category:File maintenance scripts/de
Category:File maintenance scripts/de Category:Maintenance scripts/de Category:MediaWiki code/de