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 --- img_auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'img_auth.php') diff --git a/img_auth.php b/img_auth.php index 4b625e39..91410181 100644 --- a/img_auth.php +++ b/img_auth.php @@ -48,7 +48,7 @@ if( preg_match( '!\d+px-(.*)!i', $name, $m ) ) $name = $m[1]; wfDebugLog( 'img_auth', "\$name is {$name}" ); -$title = Title::makeTitleSafe( NS_IMAGE, $name ); +$title = Title::makeTitleSafe( NS_FILE, $name ); if( !$title instanceof Title ) { wfDebugLog( 'img_auth', "Unable to construct a valid Title from `{$name}`" ); wfForbidden(); -- cgit v1.2.2