From: Tim Starling Date: Sat, 12 Aug 2006 06:12:54 +0000 (+0000) Subject: Fixed regex in doMagicLinks (broken since r15976) X-Git-Tag: 1.31.0-rc.0~56017 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;ds=sidebyside;h=68e5a2906b87171def9ed32609ce9586066d3eca;p=lhc%2Fweb%2Fwiklou.git Fixed regex in doMagicLinks (broken since r15976) --- diff --git a/includes/Parser.php b/includes/Parser.php index e41a12423f..ca08deb759 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -950,7 +950,7 @@ class Parser wfProfileIn( __METHOD__ ); $text = preg_replace_callback( '!(?: # Start cases - # Skip link text + | # Skip link text <.*?> | # Skip stuff inside HTML elements (?:RFC|PMID)\s+([0-9]+) | # RFC or PMID, capture number as m[1] ISBN\s+([0-9Xx-]+) # ISBN, capture number as m[2]