From 0366874bd318e8a1211fa5f6e2fc294c0e4f00ce Mon Sep 17 00:00:00 2001 From: Alex Z Date: Thu, 19 Mar 2009 21:48:16 +0000 Subject: [PATCH] Follow up to r47876, make spamregex check on move summary use $wgSummarySpamRegex --- includes/Title.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.20.1