Localisation updates for core and extension messages from translatewiki.net (2011...
[mediawiki.git] / languages / classes / LanguageMl.php
blob3cd30eb2cb6c18ca909f2e96bf5035cf5b74d1e5
1 <?php
3 /**
4 * Malayalam (മലയാളം)
6 * @ingroup Language
7 */
8 class LanguageMl extends Language {
9 /**
10 * Temporary hack for the issue described at
11 * http://permalink.gmane.org/gmane.science.linguistics.wikipedia.technical/46396
12 * Convert Unicode 5.0 style Malayalam input to Unicode 5.1. Similar to
13 * bug 9413. Also fixes miscellaneous problems due to mishandling of ZWJ,
14 * e.g. bug 11162.
16 * FIXME: This is language-specific for now only to avoid the negative
17 * performance impact of enabling it for all languages.
19 function normalize( $s ) {
20 global $wgFixMalayalamUnicode;
21 $s = parent::normalize( $s );
22 if ( $wgFixMalayalamUnicode ) {
23 $s = $this->transformUsingPairFile( 'normalize-ml.ser', $s );
25 return $s;