MediaWiki  REL1_19
KuConverter Class Reference

Kurdish converter routines. More...

Inheritance diagram for KuConverter:
Collaboration diagram for KuConverter:

List of all members.

Public Member Functions

 autoConvert ($text, $toVariant=false)
 An ugly function wrapper for parsing Image titles (to prevent image name conversion)
 findVariantLink (&$link, &$nt, $ignoreOtherCond=false)
 A function wrapper:
 loadDefaultTables ()
 Load default conversion tables.
 markNoConversion ($text, $noParse=false)
 We want our external link captions to be converted in variants, so we return the original text instead -{$text}-, except for URLs.
 translate ($text, $toVariant)
 It translates text into variant, specials:

Public Attributes

 $mArabicToLatin
 $mLatinToArabic

Detailed Description

Kurdish converter routines.

Definition at line 10 of file LanguageKu.php.


Member Function Documentation

KuConverter::autoConvert ( text,
toVariant = false 
)

An ugly function wrapper for parsing Image titles (to prevent image name conversion)

Parameters:
$textstring
$toVariantbool
Returns:
string

Reimplemented from LanguageConverter.

Definition at line 183 of file LanguageKu.php.

References $wgTitle.

KuConverter::findVariantLink ( &$  link,
&$  nt,
ignoreOtherCond = false 
)

A function wrapper:

  • if there is no selected variant, leave the link names as they were
  • do not try to find variants for usernames
Parameters:
$linkstring
$ntTitle
$ignoreOtherCondbool

Reimplemented from LanguageConverter.

Definition at line 145 of file LanguageKu.php.

References LanguageConverter\getPreferredVariant().

Here is the call graph for this function:

Load default conversion tables.

This method must be implemented in derived class.

Access:
private

Reimplemented from LanguageConverter.

Definition at line 127 of file LanguageKu.php.

KuConverter::markNoConversion ( text,
noParse = false 
)

We want our external link captions to be converted in variants, so we return the original text instead -{$text}-, except for URLs.

Parameters:
$textstring
$noParsebool
Returns:
string

Reimplemented from LanguageConverter.

Definition at line 168 of file LanguageKu.php.

KuConverter::translate ( text,
toVariant 
)

It translates text into variant, specials:

  • ommiting roman numbers
Parameters:
$textstring
$toVariantbool
Returns:
string

Reimplemented from LanguageConverter.

Definition at line 201 of file LanguageKu.php.


Member Data Documentation

KuConverter::$mArabicToLatin

Definition at line 11 of file LanguageKu.php.

KuConverter::$mLatinToArabic

Definition at line 53 of file LanguageKu.php.


The documentation for this class was generated from the following file: