MediaWiki
1.34.0
LanguageAr.php
Go to the documentation of this file.
1
<?php
30
class
LanguageAr
extends
Language
{
31
43
public
function
normalize
(
$s
) {
44
global
$wgFixArabicUnicode
;
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
}
$s
$s
Definition:
mergeMessageFileList.php:185
wfDeprecated
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Throws a warning that $function is deprecated.
Definition:
GlobalFunctions.php:1044
$wgFixArabicUnicode
$wgFixArabicUnicode
Set this to true to replace Arabic presentation forms with their standard forms in the U+0600-U+06FF ...
Definition:
DefaultSettings.php:3037
LanguageAr\normalize
normalize( $s)
Temporary hack for T11413: replace Arabic presentation forms with their standard equivalents.
Definition:
LanguageAr.php:43
LanguageAr
Arabic (العربية)
Definition:
LanguageAr.php:30
Language\transformUsingPairFile
transformUsingPairFile( $file, $string)
Transform a string using serialized data stored in the given file (which must be in the serialized su...
Definition:
Language.php:2969
Language
Internationalisation code.
Definition:
Language.php:37
languages
classes
LanguageAr.php
Generated on Thu Dec 19 2019 14:55:07 for MediaWiki by
1.8.16