From 443366b11b3d0cddc46511dc4931306309cd045d Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 3 Jun 2011 22:27:38 +0000 Subject: [PATCH] Provisional revert of r89230: per CR, benchmarking currently shows that it makes things slightly slower, not faster http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89230#c17571 --- includes/parser/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index a14581935b..56b23efebb 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -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; } -- 2.20.1