summaryrefslogtreecommitdiff
path: root/includes/filerepo/Image.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2009-02-22 13:37:51 +0100
committerPierre Schmitz <pierre@archlinux.de>2009-02-22 13:37:51 +0100
commitb9b85843572bf283f48285001e276ba7e61b63f6 (patch)
tree4c6f4571552ada9ccfb4030481dcf77308f8b254 /includes/filerepo/Image.php
parentd9a20acc4e789cca747ad360d87ee3f3e7aa58c1 (diff)
updated to MediaWiki 1.14.0
Diffstat (limited to 'includes/filerepo/Image.php')
-rw-r--r--includes/filerepo/Image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/filerepo/Image.php b/includes/filerepo/Image.php
index 665dd4bf..5207bb4b 100644
--- a/includes/filerepo/Image.php
+++ b/includes/filerepo/Image.php
@@ -36,7 +36,7 @@ class Image extends LocalFile {
*/
static function newFromName( $name ) {
wfDeprecated( __METHOD__ );
- $title = Title::makeTitleSafe( NS_IMAGE, $name );
+ $title = Title::makeTitleSafe( NS_FILE, $name );
if ( is_object( $title ) ) {
$img = wfFindFile( $title );
if ( !$img ) {