MediaWiki  1.30.0
KuConverter Class Reference

Kurdish converter routines. More...

Inheritance diagram for KuConverter:
Collaboration diagram for KuConverter:

Public Member Functions

 findVariantLink (&$link, &$nt, $ignoreOtherCond=false)
 A function wrapper: More...
 
 loadDefaultTables ()
 
 translate ( $text, $toVariant)
 It translates text into variant, specials: More...
 

Public Attributes

 $mArabicToLatin
 
 $mLatinToArabic
 

Detailed Description

Kurdish converter routines.

Definition at line 29 of file LanguageKu.php.

Member Function Documentation

◆ findVariantLink()

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
string&$link
Title&$nt
bool$ignoreOtherCond

Definition at line 164 of file LanguageKu.php.

References $link, NS_USER, and NS_USER_TALK.

◆ loadDefaultTables()

KuConverter::loadDefaultTables ( )

Definition at line 146 of file LanguageKu.php.

◆ translate()

KuConverter::translate (   $text,
  $toVariant 
)

It translates text into variant, specials:

  • ommiting roman numbers
Parameters
string$text
bool$toVariant
Exceptions
MWException
Returns
string

Definition at line 190 of file LanguageKu.php.

References Makefile\translate().

Member Data Documentation

◆ $mArabicToLatin

KuConverter::$mArabicToLatin

Definition at line 30 of file LanguageKu.php.

◆ $mLatinToArabic

KuConverter::$mLatinToArabic

Definition at line 72 of file LanguageKu.php.


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