Dvogel hallowelt has uploaded a new change for review. https://gerrit.wikimedia.org/r/236001
Change subject: BsCommonAJAXInterface: Fixed issue with special Characters ...................................................................... BsCommonAJAXInterface: Fixed issue with special Characters Function getTitleStoreData replaced strtolower with SearchEngine::normalizeText because strtolower is not compatible to multibyte characters. Change-Id: I5a585a1fbd97cdcc3633c07d21463466cb1e2b16 --- M includes/CommonAJAXInterface.php 1 file changed, 4 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceFoundation refs/changes/01/236001/1 diff --git a/includes/CommonAJAXInterface.php b/includes/CommonAJAXInterface.php index 8cc321b..08d26d1 100644 --- a/includes/CommonAJAXInterface.php +++ b/includes/CommonAJAXInterface.php @@ -98,9 +98,10 @@ // so multi term queries also bring results $sOp = $dbr->anyString(); $aLike = array( '', $sOp ); - $sParams = explode( ' ', strtolower( $oQueryTitle->getText() ) ); - foreach ( $sParams as $sParam ) { - $aLike[] = $sParam; + $aParams = explode( ' ', $oQueryTitle->getText() ); + $oSearchEngine = SearchEngine::create(); + foreach ( $aParams as $sParam ) { + $aLike[] = $oSearchEngine->normalizeText($sParam); $aLike[] = $sOp; } -- To view, visit https://gerrit.wikimedia.org/r/236001 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5a585a1fbd97cdcc3633c07d21463466cb1e2b16 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation Gerrit-Branch: master Gerrit-Owner: Dvogel hallowelt <daniel.vo...@hallowelt.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits