MediaWiki REL1_34
LanguageAr.php
Go to the documentation of this file.
1<?php
30class LanguageAr extends Language {
31
43 public function normalize( $s ) {
45 $s = parent::normalize( $s );
46 if ( $wgFixArabicUnicode ) {
47 $s = $this->transformUsingPairFile( 'normalize-ar.php', $s );
48 } else {
49 wfDeprecated( '$wgFixArabicUnicode = false', '1.33' );
50 }
51 return $s;
52 }
53}
$wgFixArabicUnicode
Set this to true to replace Arabic presentation forms with their standard forms in the U+0600-U+06FF ...
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Throws a warning that $function is deprecated.
Arabic (العربية)
normalize( $s)
Temporary hack for T11413: replace Arabic presentation forms with their standard equivalents.
Internationalisation code.
Definition Language.php:37
transformUsingPairFile( $file, $string)
Transform a string using serialized data stored in the given file (which must be in the serialized su...