r61149 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r61148
|
r61149
|
r61150
>
Date:
21:03, 16 January 2010
Author:
reedy
Status:
ok
Tags:
Comment:
(
bug 22115
) Explode: Subject does not need to be quoted.
Apply supplied patch by Christopher Baker
Modified paths:
/trunk/extensions/ParserFunctions/ParserFunctions_body.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/ParserFunctions/ParserFunctions_body.php
—
—
@@ -749,7 +749,6 @@
750
750
return $this->tooLongError();
751
751
}
752
752
753
- $inStr = preg_quote( $inStr, '/' );
754
753
$inDiv = preg_quote( $inDiv, '/' );
755
754
756
755
$matches = preg_split( '/'.$inDiv.'/u', $inStr );
—
—
@@ -766,4 +765,3 @@
767
766
return $result;
768
767
}
769
768
}
770
-
Follow-up revisions
Revision
Commit summary
Author
Date
r61154
Follow up
r61149
. Using preg_quote on $inReplaceTo replaces too much. However...
platonides
23:52, 16 January 2010
Status & tagging log
03:00, 27 January 2010
Tim Starling
(
talk
|
contribs
)
changed the
status
of r61149
[
removed:
new
added:
ok]