Example #1
0
 function __construct()
 {
     global $wgHooks;
     parent::__construct();
     $variants = array('ku', 'ku-arab', 'ku-latn');
     $variantfallbacks = array('ku' => 'ku-latn', 'ku-arab' => 'ku-latn', 'ku-latn' => 'ku-arab');
     $this->mConverter = new KuConverter($this, 'ku', $variants, $variantfallbacks);
     $wgHooks['ArticleSaveComplete'][] = $this->mConverter;
 }
Example #2
0
 function __construct()
 {
     parent::__construct();
     $variants = ['ku', 'ku-arab', 'ku-latn'];
     $variantfallbacks = ['ku' => 'ku-latn', 'ku-arab' => 'ku-latn', 'ku-latn' => 'ku-arab'];
     $this->mConverter = new KuConverter($this, 'ku', $variants, $variantfallbacks);
 }
Example #3
0
 function __construct()
 {
     parent::__construct();
     $variants = array('ku', 'ku-arab', 'ku-latn');
     $variantfallbacks = array('ku' => 'ku-latn', 'ku-arab' => 'ku-latn', 'ku-latn' => 'ku-arab');
 }