http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89230
Revision: 89230
Author: platonides
Date: 2011-05-31 21:52:39 +0000 (Tue, 31 May 2011)
Log Message:
-----------
The big regex at doMagicLinks deserves being more thoroughly studied.
Modified Paths:
--------------
trunk/phase3/includes/parser/Parser.php
Modified: trunk/phase3/includes/parser/Parser.php
===================================================================
--- trunk/phase3/includes/parser/Parser.php 2011-05-31 20:59:22 UTC (rev
89229)
+++ trunk/phase3/includes/parser/Parser.php 2011-05-31 21:52:39 UTC (rev
89230)
@@ -1197,7 +1197,7 @@
(?: [0-9] [\ \-]? ){9} # 9 digits with
opt. delimiters
[0-9Xx] # check digit
\b)
- )!x', array( &$this, 'magicLinkCallback' ), $text );
+ )!xS', array( &$this, 'magicLinkCallback' ), $text );
wfProfileOut( __METHOD__ );
return $text;
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs