MediaWiki REL1_28
FakeConverter Class Reference

A fake language converter. More...

Collaboration diagram for FakeConverter:

Public Member Functions

 __construct ( $langobj)
 
 autoConvert ( $text, $variant=false)
 
 autoConvertToAllVariants ( $text)
 
 convert ( $t)
 
 convertCategoryKey ( $key)
 
 convertNamespace ( $ns)
 
 convertTitle ( $t)
 
 convertTo ( $text, $variant)
 
 findVariantLink (&$l, &$n, $ignoreOtherCond=false)
 
 getConvRuleTitle ()
 
 getDefaultVariant ()
 
 getExtraHashOptions ()
 
 getParsedTitle ()
 
 getPreferredVariant ()
 
 getURLVariant ()
 
 getVariantFallbacks ( $variant)
 
 getVariants ()
 
 markNoConversion ( $text, $noParse=false)
 
 translate ( $text, $variant)
 
 updateConversionTable (Title $title)
 
 validateVariant ( $variant=null)
 

Public Attributes

Language $mLang
 

Detailed Description

A fake language converter.

Definition at line 29 of file FakeConverter.php.

Constructor & Destructor Documentation

◆ __construct()

FakeConverter::__construct (   $langobj)

Definition at line 35 of file FakeConverter.php.

Member Function Documentation

◆ autoConvert()

FakeConverter::autoConvert (   $text,
  $variant = false 
)

Definition at line 39 of file FakeConverter.php.

◆ autoConvertToAllVariants()

FakeConverter::autoConvertToAllVariants (   $text)

Definition at line 43 of file FakeConverter.php.

◆ convert()

FakeConverter::convert (   $t)

Definition at line 47 of file FakeConverter.php.

References $t.

◆ convertCategoryKey()

FakeConverter::convertCategoryKey (   $key)

Definition at line 106 of file FakeConverter.php.

◆ convertNamespace()

FakeConverter::convertNamespace (   $ns)

Definition at line 63 of file FakeConverter.php.

◆ convertTitle()

FakeConverter::convertTitle (   $t)
Parameters
Title$t
Returns
mixed

Definition at line 59 of file FakeConverter.php.

References $t.

◆ convertTo()

FakeConverter::convertTo (   $text,
  $variant 
)

Definition at line 51 of file FakeConverter.php.

◆ findVariantLink()

FakeConverter::findVariantLink ( $l,
$n,
  $ignoreOtherCond = false 
)

Definition at line 91 of file FakeConverter.php.

◆ getConvRuleTitle()

FakeConverter::getConvRuleTitle ( )

Definition at line 87 of file FakeConverter.php.

◆ getDefaultVariant()

FakeConverter::getDefaultVariant ( )

Definition at line 79 of file FakeConverter.php.

◆ getExtraHashOptions()

FakeConverter::getExtraHashOptions ( )

Definition at line 94 of file FakeConverter.php.

◆ getParsedTitle()

FakeConverter::getParsedTitle ( )

Definition at line 98 of file FakeConverter.php.

◆ getPreferredVariant()

FakeConverter::getPreferredVariant ( )

Definition at line 75 of file FakeConverter.php.

◆ getURLVariant()

FakeConverter::getURLVariant ( )

Definition at line 83 of file FakeConverter.php.

◆ getVariantFallbacks()

FakeConverter::getVariantFallbacks (   $variant)

Definition at line 71 of file FakeConverter.php.

◆ getVariants()

FakeConverter::getVariants ( )

Definition at line 67 of file FakeConverter.php.

◆ markNoConversion()

FakeConverter::markNoConversion (   $text,
  $noParse = false 
)

Definition at line 102 of file FakeConverter.php.

◆ translate()

FakeConverter::translate (   $text,
  $variant 
)

Definition at line 114 of file FakeConverter.php.

◆ updateConversionTable()

FakeConverter::updateConversionTable ( Title  $title)

Definition at line 118 of file FakeConverter.php.

◆ validateVariant()

FakeConverter::validateVariant (   $variant = null)

Definition at line 110 of file FakeConverter.php.

Member Data Documentation

◆ $mLang

Language FakeConverter::$mLang

Definition at line 33 of file FakeConverter.php.


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