Panduan:MigrateFileRepoLayout.php

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

Rincian

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

Pilihan

Pilihan Deskripsi Diperlukan
--oldlayout Old layout; one of 'name' or 'sha1' Diperlukan
--newlayout New layout; one of 'name' or 'sha1' Diperlukan
--since Copy only files from after this timestamp Opsional

This script runs in batches of 50.

Penggunaan

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

Galat yang umum

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.

Lihat pula