fix really stupid mistake in r53606 :(

This commit is contained in:
Ilmari Karonen 2009-10-03 17:16:35 +00:00
parent 207c3c460e
commit 601a8439a2

View file

@ -210,7 +210,7 @@ class AbuseFilterHooks {
$vars = new AbuseFilterVariableHolder;
global $wgUser;
$title = Title::makeTitle($saveName, NS_FILE);
$title = Title::makeTitle(NS_FILE, $saveName);
$vars->addHolder( AbuseFilterVariableHolder::merge(
AbuseFilter::generateUserVars( $wgUser ),
AbuseFilter::generateTitleVars( $title, 'FILE' )