Jump to content

Handbuch:migrateFileRepoLayout.php

From mediawiki.org
This page is a translated version of the page Manual:MigrateFileRepoLayout.php and the translation is 91% complete.

Details

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

Optionen

Option Beschreibung Notwendig
--oldlayout Old layout; one of 'name' or 'sha1' Notwendig
--newlayout New layout; one of 'name' or 'sha1' Notwendig
--since Copy only files from after this timestamp Optional

Dieses Skript läuft in 50er-Stapeln.

Verwendung

 php maintenance/migrateFileRepoLayout.php --oldlayout name|sha1 --newlayout  name|sha1 [ --since ]
Terminal

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