From 0427a0f0a46f107975ccdaee72e093e2695a1753 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 15 Aug 2006 05:44:18 +0000 Subject: [PATCH] forgot to make the base path settable --- maintenance/dumpUploads.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/maintenance/dumpUploads.php b/maintenance/dumpUploads.php index e82515ef5f..8ba4e87bf2 100644 --- a/maintenance/dumpUploads.php +++ b/maintenance/dumpUploads.php @@ -13,6 +13,10 @@ class UploadDumper { if( isset( $args['help'] ) ) { $this->mAction = 'help'; } + + if( isset( $args['base'] ) ) { + $this->mBasePath = $args['base']; + } } function run() { @@ -29,12 +33,14 @@ Usage: php dumpUploads.php [options] > list-o-files.txt Options: +--base= Set base relative path instead of wiki include root + +FIXME: other options not implemented yet ;) + --local List all local files, used or not. No shared files included. --used Skip local images that are not used --shared Include images used from shared repository -FIXME: options not implemented yet ;) - END; } -- 2.20.1