* @ingroup Language
*/
-require_once __DIR__ . '/../LanguageConverter.php';
-
/**
* Conversion script between Latin and Syllabics for Inuktitut.
* - Syllabics -> lowercase Latin
* names as they were
* - do not try to find variants for usernames
*
- * @param string $link
- * @param Title $nt
+ * @param string &$link
+ * @param Title &$nt
* @param bool $ignoreOtherCond
*/
function findVariantLink( &$link, &$nt, $ignoreOtherCond = false ) {
*/
class LanguageIu extends Language {
function __construct() {
- global $wgHooks;
-
parent::__construct();
$variants = array( 'iu', 'ike-cans', 'ike-latn' );
$flags = array();
$this->mConverter = new IuConverter( $this, 'iu', $variants, $variantfallbacks, $flags );
- $wgHooks['PageContentSaveComplete'][] = $this->mConverter;
}
}