Merge "DumpUploads: output local path instead of mwstore path"
This commit is contained in:
commit
e5facc46bc
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ By default, outputs relative paths against the parent directory of $wgUploadDire
|
||||||
function outputItem( $name, $shared ) {
|
function outputItem( $name, $shared ) {
|
||||||
$file = wfFindFile( $name );
|
$file = wfFindFile( $name );
|
||||||
if ( $file && $this->filterItem( $file, $shared ) ) {
|
if ( $file && $this->filterItem( $file, $shared ) ) {
|
||||||
$filename = $file->getPath();
|
$filename = $file->getLocalRefPath();
|
||||||
$rel = wfRelativePath( $filename, $this->mBasePath );
|
$rel = wfRelativePath( $filename, $this->mBasePath );
|
||||||
$this->output( "$rel\n" );
|
$this->output( "$rel\n" );
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue