-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better efficiency & hook compatibility in AsciiTransliterator::intl()
Previously we were making a new \Transilterator instance for each call to AsciiTransliterator::toAscii(), which was unnecessary and inefficient. Also, if there was no language-specific transform for transliterating from the forum's default language into Latin characters, then any changes added by mods using the integrate_ascii_transliterator_id hook would end up being discarded. Both issues have now been fixed. Signed-off-by: Jon Stovell <jonstovell@gmail.com>
- Loading branch information
1 parent
8188978
commit d68bc08
Showing
1 changed file
with
24 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters