Merge "DumpUploads: output local path instead of mwstore path"

This commit is contained in:
jenkins-bot 2016-06-17 02:12:27 +00:00 committed by Gerrit Code Review
commit e5facc46bc

View file

@ -111,7 +111,7 @@ By default, outputs relative paths against the parent directory of $wgUploadDire
function outputItem( $name, $shared ) {
$file = wfFindFile( $name );
if ( $file && $this->filterItem( $file, $shared ) ) {
$filename = $file->getPath();
$filename = $file->getLocalRefPath();
$rel = wfRelativePath( $filename, $this->mBasePath );
$this->output( "$rel\n" );
} else {