From b9b85843572bf283f48285001e276ba7e61b63f6 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 22 Feb 2009 13:37:51 +0100 Subject: updated to MediaWiki 1.14.0 --- includes/filerepo/UnregisteredLocalFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/filerepo/UnregisteredLocalFile.php') 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 ) { -- cgit v1.2.3-54-g00ecf