mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Really fix bug 17664 by switching from $editor->textbox1 (which of course contains section text, not page text) to $text in EditFilterMerged hook
This commit is contained in:
parent
f48d562b20
commit
19d1cfe329
|
@ -30,7 +30,7 @@ class AbuseFilterHooks {
|
|||
'title' => $editor->mTitle->getText(),
|
||||
) );
|
||||
|
||||
$vars->setVar( 'new_wikitext', $editor->textbox1 );
|
||||
$vars->setVar( 'new_wikitext', $text );
|
||||
|
||||
$vars->addHolder( AbuseFilter::getEditVars( $editor->mTitle ) );
|
||||
|
||||
|
|
Loading…
Reference in a new issue