diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2007-09-14 13:18:58 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2007-09-14 13:18:58 +0200 |
commit | 8f416baead93a48e5799e44b8bd2e2c4859f4e04 (patch) | |
tree | cd47ac55eb80a39e3225e8b4f3161b88ea16c2cf /languages/classes/LanguageKk.php | |
parent | d7d08bd1a17618c7d77a6b9b2989e9f7293d6ed6 (diff) |
auf Version 1.11 aktualisiert; Login-Bug behoben
Diffstat (limited to 'languages/classes/LanguageKk.php')
-rw-r--r-- | languages/classes/LanguageKk.php | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/languages/classes/LanguageKk.php b/languages/classes/LanguageKk.php index 3591d11a..68775b3a 100644 --- a/languages/classes/LanguageKk.php +++ b/languages/classes/LanguageKk.php @@ -101,6 +101,23 @@ class KkConverter extends LanguageConverter { ); } + /* rules should be defined as -{ekavian | iyekavian-} -or- + -{code:text | code:text | ...}- + update: delete all rule parsing because it's not used + currently, and just produces a couple of bugs + */ + function parseManualRule($rule, $flags=array()) { + if(in_array('T',$flags)){ + return parent::parseManualRule($rule, $flags); + } + + // otherwise ignore all formatting + foreach($this->mVariants as $v) { + $carray[$v] = $rule; + } + + return $carray; + } // Do not convert content on talk pages function parserConvert( $text, &$parser ){ @@ -195,9 +212,9 @@ class LanguageKk extends LanguageKk_kz { $variants = array( 'kk', 'kk-kz', 'kk-tr', 'kk-cn' ); $variantfallbacks = array( 'kk' => 'kk-kz', - 'kk-kz' => 'kk-kz', - 'kk-tr' => 'kk-tr', - 'kk-cn' => 'kk-cn' + 'kk-kz' => 'kk', + 'kk-tr' => 'kk', + 'kk-cn' => 'kk' ); $this->mConverter = new KkConverter( $this, 'kk', $variants, $variantfallbacks ); @@ -223,4 +240,4 @@ class LanguageKk extends LanguageKk_kz { } -?> + |