From: Alex Z Date: Thu, 19 Mar 2009 21:48:16 +0000 (+0000) Subject: Follow up to r47876, make spamregex check on move summary use $wgSummarySpamRegex X-Git-Tag: 1.31.0-rc.0~42443 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=0366874bd318e8a1211fa5f6e2fc294c0e4f00ce;p=lhc%2Fweb%2Fwiklou.git Follow up to r47876, make spamregex check on move summary use $wgSummarySpamRegex --- diff --git a/includes/Title.php b/includes/Title.php index 6f7d967ddc..85451de032 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2618,7 +2618,7 @@ class Title { $nt->getUserPermissionsErrors('edit', $wgUser) ); } - $match = EditPage::matchSpamRegex( $reason ); + $match = EditPage::matchSummarySpamRegex( $reason ); if( $match !== false ) { // This is kind of lame, won't display nice $errors[] = array('spamprotectiontext');