(y)etsin fixes, test refactoring, and misc fixes
authortjones <tjones@wikimedia.org>
Tue, 29 May 2018 17:08:45 +0000 (13:08 -0400)
committertjones <tjones@wikimedia.org>
Tue, 29 May 2018 18:30:04 +0000 (14:30 -0400)
commit669d1ed19221d92a3d6be9e45e6f8c8591e708e5
treebe5fb3c3c4f091e86ec9dc69a2fa9e02700bde0b
parent4408e28100c96961127e7e84581fc43eadfe5fa6
(y)etsin fixes, test refactoring, and misc fixes

* Fix etsin/етсин/этсин as noted in If933fc67845ac994d9ddfdf8349aff445ec9b13a
** only convert tsin to тсин and let the other rules sort out the e

* Refactor most tests to be word-specific, which uncovered a couple of
bugs in corner cases
** rol/üst prefix matches should match whole words (original [^ü] regex
assumed word could not be end of string

* Fixed incidental bugs I noticed while looking into the items above
** куркчи => kürkçi was in the wrong section
** cönk => джонк was in the right section, but reversed

* Added additional tests cases for all of the above.

Change-Id: Ia96be488a7b41c3ddba623b5c9262703b1c82687
languages/data/CrhExceptions.php
tests/phpunit/languages/classes/LanguageCrhTest.php