Index: trunk/extensions/AbuseFilter/AbuseFilter.parser.php |
— | — | @@ -1591,6 +1591,7 @@ |
1592 | 1592 | |
1593 | 1593 | public static function regexErrorHandler( $errno, $errstr, $errfile, $errline, $context ) { |
1594 | 1594 | if ( error_reporting() == 0 ) { return true; } |
| 1595 | + wfLoadExtensionMessages( 'AbuseFilter' ); |
1595 | 1596 | throw new AFPUserVisibleException( 'regexfailure', $context['pos'], |
1596 | 1597 | array( $errstr, $context['regex'] ) ); |
1597 | 1598 | return true; |