dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Cap 'days' param in RC/Watchlist at $wgRCMaxAge"
[lhc/web/wiklou.git]
/
includes
/
libs
/
StringUtils.php
diff --git
a/includes/libs/StringUtils.php
b/includes/libs/StringUtils.php
index
cffb5a3
..
9638706
100644
(file)
--- a/
includes/libs/StringUtils.php
+++ b/
includes/libs/StringUtils.php
@@
-276,7
+276,7
@@
class StringUtils {
// Replace instances of the separator inside HTML-like tags with the placeholder
$replacer = new DoubleReplacer( $separator, $placeholder );
// Replace instances of the separator inside HTML-like tags with the placeholder
$replacer = new DoubleReplacer( $separator, $placeholder );
- $cleaned =
StringUtils
::delimiterReplaceCallback( '<', '>', $replacer->cb(), $text );
+ $cleaned =
self
::delimiterReplaceCallback( '<', '>', $replacer->cb(), $text );
// Explode, then put the replaced separators back in
$items = explode( $separator, $cleaned );
// Explode, then put the replaced separators back in
$items = explode( $separator, $cleaned );
@@
-303,7
+303,7
@@
class StringUtils {
// Replace instances of the separator inside HTML-like tags with the placeholder
$replacer = new DoubleReplacer( $search, $placeholder );
// Replace instances of the separator inside HTML-like tags with the placeholder
$replacer = new DoubleReplacer( $search, $placeholder );
- $cleaned =
StringUtils
::delimiterReplaceCallback( '<', '>', $replacer->cb(), $text );
+ $cleaned =
self
::delimiterReplaceCallback( '<', '>', $replacer->cb(), $text );
// Explode, then put the replaced separators back in
$cleaned = str_replace( $search, $replace, $cleaned );
// Explode, then put the replaced separators back in
$cleaned = str_replace( $search, $replace, $cleaned );