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:
4737e60
)
thumbs with alt text starting with center or ending in centre are centred, which...
author
Jens Frank
<jeluf@users.mediawiki.org>
Tue, 1 Jun 2004 06:02:13 +0000
(06:02 +0000)
committer
Jens Frank
<jeluf@users.mediawiki.org>
Tue, 1 Jun 2004 06:02:13 +0000
(06:02 +0000)
includes/MagicWord.php
patch
|
blob
|
history
diff --git
a/includes/MagicWord.php
b/includes/MagicWord.php
index
9089d51
..
bb7b7c1
100644
(file)
--- a/
includes/MagicWord.php
+++ b/
includes/MagicWord.php
@@
-110,7
+110,7
@@
class MagicWord {
$this->mRegexStart = "/^{$this->mBaseRegex}/{$case}";
$this->mVariableRegex = str_replace( "\\$1", "([$variableClass]*?)", $this->mRegex );
$this->mVariableStartToEndRegex = str_replace( "\\$1", "([$variableClass]*?)",
- "/^
{$this->mBaseRegex}
$/{$case}" );
+ "/^
({$this->mBaseRegex})
$/{$case}" );
}
# Gets a regex representing matching the word