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ᓛ',
79 'j' =>
'ᔾ',
'ji' =>
'ᔨ',
'jii' =>
'ᔩ',
'ju' =>
'ᔪ',
'juu' =>
'ᔫ',
'ja' =>
'ᔭ',
'jaa' =>
'ᔮ',
80 'v' =>
'ᕝ',
'vi' =>
'ᕕ',
'vii' =>
'ᕖ',
'vu' =>
'ᕗ',
'vuu' =>
'ᕘ',
'va' =>
'ᕙ',
'vaa' =>
'ᕚ',
81 'r' =>
'ᕐ',
'ri' =>
'ᕆ',
'rii' =>
'ᕇ',
'ru' =>
'ᕈ',
'ruu' =>
'ᕉ',
'ra' =>
'ᕋ',
'raa' =>
'ᕌ',
82 'qq' =>
'ᖅᒃ',
'qqi' =>
'ᖅᑭ',
'qqii' =>
'ᖅᑮ',
'qqu' =>
'ᖅᑯ',
'qquu' =>
'ᖅᑰ',
'qqa' =>
'ᖅᑲ',
83 'qqaa' =>
'ᖅᑳ',
'q' =>
'ᖅ',
'qi' =>
'ᕿ',
'qii' =>
'ᖀ',
'qu' =>
'ᖁ',
'quu' =>
'ᖂ',
84 'qa' =>
'ᖃ',
'qaa' =>
'ᖄ',
'ng' =>
'ᖕ',
'ngi' =>
'ᖏ',
'ngii' =>
'ᖐ',
'ngu' =>
'ᖑ',
85 'nguu' =>
'ᖒ',
'nga' =>
'ᖓ',
'ngaa' =>
'ᖔ',
'nng' =>
'ᖖ',
'nngi' =>
'ᙱ',
'nngii' =>
'ᙲ',
86 'nngu' =>
'ᙳ',
'nnguu' =>
'ᙴ',
'nnga' =>
'ᙵ',
'nngaa' =>
'ᙶ',
'ɫ' =>
'ᖦ',
'ɫi' =>
'ᖠ',
87 'ɫii' =>
'ᖡ',
'ɫu' =>
'ᖢ',
'ɫuu' =>
'ᖣ',
'ɫa' =>
'ᖤ',
'ɫaa' =>
'ᖥ',
110 if ( in_array(
'T',
$flags ) ) {
111 return parent::parseManualRule( $rule,
$flags );
116 foreach ( $this->mVariants
as $v ) {
131 $this->mDoContentConvert = !( is_object(
$parser->getTitle() )
132 &&
$parser->getTitle()->isTalkPage() );
134 return parent::parserConvert( $text,
$parser );
149 if ( is_object( $nt ) ) {
150 $ns = $nt->getNamespace();
157 parent::findVariantLink(
$link, $nt, $ignoreOtherCond );
174 if ( trim( $text ) ) {
177 if ( $toVariant ==
'ike-cans' ) {
178 $text = $this->mTables[
'lowercase']->replace( $text );
180 $text = $this->mTables[$toVariant]->replace( $text );
193 parent::__construct();
195 $variants = [
'iu',
'ike-cans',
'ike-latn' ];
196 $variantfallbacks = [
203 $this->mConverter =
new IuConverter( $this,
'iu', $variants, $variantfallbacks,
$flags );
parseManualRule($rule, $flags=[])
rules should be defined as -{Syllabic | Latin-} -or- -{code:text | code:text | ...}- update: delete all rule parsing because it's not used currently, and just produces a couple of bugs
findVariantLink(&$link, &$nt, $ignoreOtherCond=false)
A function wrapper:
translate($text, $toVariant)
It translates text into variant.
it s the revision text itself In either if gzip is the revision text is gzipped $flags
Base class for language conversion.
loadTables($fromCache=true)
Load conversion tables either from the cache or the disk.
usually copyright or history_copyright This message must be in HTML not wikitext & $link
parserConvert($text, &$parser)
Do not convert content on talk pages.
This document is intended to provide useful advice for parties seeking to redistribute MediaWiki to end users It s targeted particularly at maintainers for Linux since it s been observed that distribution packages of MediaWiki often break We ve consistently had to recommend that users seeking support use official tarballs instead of their distribution s and this often solves whatever problem the user is having It would be nice if this could such as
injection txt This is an overview of how MediaWiki makes use of dependency injection The design described here grew from the discussion of RFC T384 The term dependency this means that anything an object needs to operate should be injected from the the object itself should only know narrow no concrete implementation of the logic it relies on The requirement to inject everything typically results in an architecture that based on two main types of and essentially stateless service objects that use other service objects to operate on the value objects As of the beginning MediaWiki is only starting to use the DI approach Much of the code still relies on global state or direct resulting in a highly cyclical dependency which acts as the top level factory for services in MediaWiki which can be used to gain access to default instances of various services MediaWikiServices however also allows new services to be defined and default services to be redefined Services are defined or redefined by providing a callback the instantiator that will return a new instance of the service When it will create an instance of MediaWikiServices and populate it with the services defined in the files listed by thereby bootstrapping the DI framework Per $wgServiceWiringFiles lists includes ServiceWiring php
Conversion script between Latin and Syllabics for Inuktitut.
getPreferredVariant()
Get preferred language variant.