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:
8c20645
)
The big regex at doMagicLinks deserves being more thoroughly studied.
author
Platonides
<platonides@users.mediawiki.org>
Tue, 31 May 2011 21:52:39 +0000
(21:52 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Tue, 31 May 2011 21:52:39 +0000
(21:52 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
5676b41
..
5983dd9
100644
(file)
--- 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)
(?: [0-9] [\ \-]? ){9} # 9 digits with opt. delimiters
[0-9Xx] # check digit
\b)
- )!x', array( &$this, 'magicLinkCallback' ), $text );
+ )!x
S
', array( &$this, 'magicLinkCallback' ), $text );
wfProfileOut( __METHOD__ );
return $text;
}
wfProfileOut( __METHOD__ );
return $text;
}