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:
Victor Vasiliev 2009-03-17 20:44:53 +00:00
parent f48d562b20
commit 19d1cfe329

View file

@ -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 ) );