Jeroen De Dauw has uploaded a new change for review.
https://gerrit.wikimedia.org/r/208124
Change subject: Use UtfNormal\Validator rather than deprecated UtfNormal
......................................................................
Use UtfNormal\Validator rather than deprecated UtfNormal
Change-Id: Ib0f4cad5ffe653336e63a99537869f196aee750b
---
M lib/includes/StringNormalizer.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/24/208124/1
diff --git a/lib/includes/StringNormalizer.php
b/lib/includes/StringNormalizer.php
index 3439506..1fde79f 100644
--- a/lib/includes/StringNormalizer.php
+++ b/lib/includes/StringNormalizer.php
@@ -2,7 +2,7 @@
namespace Wikibase;
-use UtfNormal;
+use UtfNormal\Validator;
/**
* StringNormalizer provides several methods for normalizing strings.
@@ -105,7 +105,7 @@
public function cleanupToNFC( $inputString ) {
$cleaned = $inputString;
$cleaned = $this->trimBadChars( $cleaned );
- $cleaned = UtfNormal::cleanUp( $cleaned );
+ $cleaned = Validator::cleanUp( $cleaned );
return $cleaned;
}
--
To view, visit https://gerrit.wikimedia.org/r/208124
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib0f4cad5ffe653336e63a99537869f196aee750b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits