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; }
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); }
function __construct() { parent::__construct(); $variants = array('ku', 'ku-arab', 'ku-latn'); $variantfallbacks = array('ku' => 'ku-latn', 'ku-arab' => 'ku-latn', 'ku-latn' => 'ku-arab'); }