Public Member Functions | |
__construct ($langobj, $maincode, $variants=array(), $variantfallbacks=array(), $markup=array(), $flags=array(), $manualLevel=array()) | |
Constructor. | |
loadNamespaceTables () | |
loadDefaultTables () | |
Load default conversion tables This method must be implemented in derived class. | |
markNoConversion ($text, $noParse=false) | |
Enclose a string with the "no conversion" tag. | |
convertCategoryKey ($key) | |
convert the sorting key for category links. |
Definition at line 9 of file LanguageGan.php.
GanConverter::__construct | ( | $ | langobj, | |
$ | maincode, | |||
$ | variants = array() , |
|||
$ | variantfallbacks = array() , |
|||
$ | markup = array() , |
|||
$ | flags = array() , |
|||
$ | manualLevel = array() | |||
) |
Constructor.
string | $maincode the main language code of this language | |
array | $variants the supported variants of this language | |
array | $variantfallback the fallback language of each variant | |
array | $markup array defining the markup used for manual conversion | |
array | $flags array defining the custom strings that maps to the flags | |
array | $manualLevel limit for supported variants |
Reimplemented from LanguageConverter.
Definition at line 11 of file LanguageGan.php.
References $flags, and loadNamespaceTables().
GanConverter::convertCategoryKey | ( | $ | key | ) |
convert the sorting key for category links.
this should make different keys that are variants of each other map to the same key
Reimplemented from LanguageConverter.
Definition at line 91 of file LanguageGan.php.
References $key, and LanguageConverter::autoConvert().
GanConverter::loadDefaultTables | ( | ) |
Load default conversion tables This method must be implemented in derived class.
Reimplemented from LanguageConverter.
Definition at line 74 of file LanguageGan.php.
GanConverter::loadNamespaceTables | ( | ) |
Definition at line 34 of file LanguageGan.php.
References $wgMetaNamespace.
Referenced by __construct().
GanConverter::markNoConversion | ( | $ | text, | |
$ | noParse = false | |||
) |
Enclose a string with the "no conversion" tag.
This is used by various functions in the Parser
string | $text text to be tagged for no conversion |
Reimplemented from LanguageConverter.
Definition at line 87 of file LanguageGan.php.
References $text.