From: Brion Vibber Date: Fri, 3 Jun 2011 22:27:38 +0000 (+0000) Subject: Provisional revert of r89230: per CR, benchmarking currently shows that it makes... X-Git-Tag: 1.31.0-rc.0~29728 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=443366b11b3d0cddc46511dc4931306309cd045d;p=lhc%2Fweb%2Fwiklou.git 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 --- 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; }