mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 23:40:19 +00:00
fix really stupid mistake in r53606 :(
This commit is contained in:
parent
207c3c460e
commit
601a8439a2
|
@ -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' )
|
||||
|
|
Loading…
Reference in a new issue