Provisional revert of r89230: per CR, benchmarking currently shows that it makes...
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 3 Jun 2011 22:27:38 +0000 (22:27 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 3 Jun 2011 22:27:38 +0000 (22:27 +0000)
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89230#c17571

includes/parser/Parser.php

index a145819..56b23ef 100644 (file)
@@ -1197,7 +1197,7 @@ class Parser {
                                        (?: [0-9]  [\ \-]? ){9} # 9 digits with opt. delimiters
                                        [0-9Xx]                 # check digit
                                        \b)
-                       )!xS', array( &$this, 'magicLinkCallback' ), $text );
+                       )!x', array( &$this, 'magicLinkCallback' ), $text );
                wfProfileOut( __METHOD__ );
                return $text;
        }