Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F8109046
LanguageMl.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
917 B
Referenced Files
None
Subscribers
None
LanguageMl.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
*/
use
MediaWiki\Language\Language
;
use
MediaWiki\Languages\Data\NormalizeMl
;
/**
* Malayalam (മലയാളം)
*
* @ingroup Languages
*/
class
LanguageMl
extends
Language
{
/**
* Convert Unicode 5.0 style Malayalam input to Unicode 5.1, similar to T11413
* which is the same issue for Arabic.
*
* Also fixes miscellaneous problems due to mishandling of ZWJ (e.g. T13162).
*
* Originally introduced after "[wikitech-l] Unicode equivalence" (Dec 2009)
* <https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/LMMZ3M4757Z5DH42MT75K6GWLAKUBLRD>
*
* Optimization: This is language-specific to reduce negative performance impact.
*
* @param string $s
* @return string
*/
public
function
normalize
(
$s
)
{
$s
=
parent
::
normalize
(
$s
);
return
$this
->
transformUsingPairFile
(
NormalizeMl
::
class
,
$s
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Dec 8, 04:03 (1 d, 11 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2c/2d/37e55305987e9633c46fa942b9a1
Default Alt Text
LanguageMl.php (917 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment