Revision: 48613
Author:   mrzman
Date:     2009-03-19 21:48:16 +0000 (Thu, 19 Mar 2009)

Log Message:
-----------
Follow up to r47876, make spamregex check on move summary use 
$wgSummarySpamRegex

Modified Paths:
--------------
    trunk/phase3/includes/Title.php

Modified: trunk/phase3/includes/Title.php
===================================================================
--- trunk/phase3/includes/Title.php     2009-03-19 21:16:46 UTC (rev 48612)
+++ trunk/phase3/includes/Title.php     2009-03-19 21:48:16 UTC (rev 48613)
@@ -2618,7 +2618,7 @@
                                $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');



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to