dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
fdaecaf
)
Merge "DumpUploads: output local path instead of mwstore path"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Fri, 17 Jun 2016 02:12:27 +0000
(
02:12
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Fri, 17 Jun 2016 02:12:27 +0000
(
02:12
+0000)
maintenance/dumpUploads.php
patch
|
blob
|
history
diff --git
a/maintenance/dumpUploads.php
b/maintenance/dumpUploads.php
index
ec276c1
..
5b446d8
100644
(file)
--- 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->get
LocalRef
Path();
$rel = wfRelativePath( $filename, $this->mBasePath );
$this->output( "$rel\n" );
} else {