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:
86dbb02
)
disallow embedded line breaks in ISBNs; allowing them breaks things in a most interes...
author
Ilmari Karonen
<vyznev@users.mediawiki.org>
Fri, 1 Dec 2006 03:16:22 +0000
(
03:16
+0000)
committer
Ilmari Karonen
<vyznev@users.mediawiki.org>
Fri, 1 Dec 2006 03:16:22 +0000
(
03:16
+0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
17005ff
..
ef298a3
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-987,7
+987,7
@@
class Parser
<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+(\b[0-9Xx\
s
\-]+) # ISBN, capture number as m[2]
+ ISBN\s+(\b[0-9Xx\
\-]+) # ISBN, capture number as m[2]
)!x', array( &$this, 'magicLinkCallback' ), $text );
wfProfileOut( __METHOD__ );
return $text;