MediaWiki  master
LanguageMl.php
Go to the documentation of this file.
1 <?php
29 class LanguageMl extends Language {
44  public function normalize( $s ) {
46  $s = parent::normalize( $s );
47  if ( $wgFixMalayalamUnicode ) {
48  $s = $this->transformUsingPairFile( 'normalize-ml.php', $s );
49  } else {
50  wfDeprecated( '$wgFixMalayalamUnicode = false', '1.33' );
51  }
52  return $s;
53  }
54 }
$wgFixMalayalamUnicode
Set this to true to replace ZWJ-based chillu sequences in Malayalam text with their Unicode 5...
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Throws a warning that $function is deprecated.
transformUsingPairFile( $file, $string)
Transform a string using serialized data stored in the given file (which must be in the serialized su...
Definition: Language.php:2900
normalize( $s)
Temporary hack for the issue described at http://permalink.gmane.org/gmane.science.linguistics.wikipedia.technical/46396 Convert Unicode 5.0 style Malayalam input to Unicode 5.1.
Definition: LanguageMl.php:44
Malayalam (മലയാളം)
Definition: LanguageMl.php:29