From: jenkins-bot Date: Fri, 17 Jun 2016 02:12:27 +0000 (+0000) Subject: Merge "DumpUploads: output local path instead of mwstore path" X-Git-Tag: 1.31.0-rc.0~6585 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=e5facc46bc170c302438f60849041b0d6be75e82;hp=fdaecaf25f74bf34fd889e9341d4e4b80d8497a1;p=lhc%2Fweb%2Fwiklou.git Merge "DumpUploads: output local path instead of mwstore path" --- diff --git a/maintenance/dumpUploads.php b/maintenance/dumpUploads.php index ec276c1a69..5b446d8347 100644 --- a/maintenance/dumpUploads.php +++ b/maintenance/dumpUploads.php @@ -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 {