diff options
Diffstat (limited to 'includes/filerepo/UnregisteredLocalFile.php')
-rw-r--r-- | includes/filerepo/UnregisteredLocalFile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/filerepo/UnregisteredLocalFile.php b/includes/filerepo/UnregisteredLocalFile.php index c687ef6e..6f63cb0b 100644 --- a/includes/filerepo/UnregisteredLocalFile.php +++ b/includes/filerepo/UnregisteredLocalFile.php @@ -32,7 +32,7 @@ class UnregisteredLocalFile extends File { $this->name = $repo->getNameFromTitle( $title ); } else { $this->name = basename( $path ); - $this->title = Title::makeTitleSafe( NS_IMAGE, $this->name ); + $this->title = Title::makeTitleSafe( NS_FILE, $this->name ); } $this->repo = $repo; if ( $path ) { |