dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fcfa36
)
use wfLocalFile for file import -- any uploads will be local
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 7 Mar 2008 23:30:19 +0000
(23:30 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 7 Mar 2008 23:30:19 +0000
(23:30 +0000)
includes/SpecialImport.php
patch
|
blob
|
history
diff --git
a/includes/SpecialImport.php
b/includes/SpecialImport.php
index
1d1bc63
..
ef07c78
100644
(file)
--- a/
includes/SpecialImport.php
+++ b/
includes/SpecialImport.php
@@
-451,7
+451,7
@@
class WikiRevision {
// it may also create a page without our desire, also wrong potentially.
// and, it will record a *current* upload, but we might want an archive version here
- $file = wf
Find
File( $this->getTitle() );
+ $file = wf
Local
File( $this->getTitle() );
if( !$file ) {
var_dump( $file );
wfDebug( "IMPORT: Bad file. :(\n" );