dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abba028
)
Fixed regex in doMagicLinks (broken since r15976)
author
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 12 Aug 2006 06:12:54 +0000
(06:12 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 12 Aug 2006 06:12:54 +0000
(06:12 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
e41a124
..
ca08deb
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-950,7
+950,7
@@
class Parser
wfProfileIn( __METHOD__ );
$text = preg_replace_callback(
'!(?: # Start cases
- <a.*?</a>
# Skip link text
+ <a.*?</a>
|
# 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]