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this->mVariants
as $v ) {
131 $this->mDoContentConvert = !( is_object(
$parser->getTitle() ) &&
$parser->getTitle()->isTalkPage() );
133 return parent::parserConvert( $text,
$parser );
148 if ( is_object( $nt ) ) {
149 $ns = $nt->getNamespace();
156 parent::findVariantLink(
$link, $nt, $ignoreOtherCond );
157 if ( $this->getPreferredVariant() == $this->mMainLanguageCode ) {
175 if ( preg_match(
"/^$imagename:/", $text ) ) {
179 return parent::autoConvert( $text, $toVariant );
193 if ( trim( $text ) ) {
196 if ( $toVariant ==
'ike-cans' ) {
197 $text = $this->mTables[
'lowercase']->replace( $text );
199 $text = $this->mTables[$toVariant]->replace( $text );
214 parent::__construct();
216 $variants =
array(
'iu',
'ike-cans',
'ike-latn' );
217 $variantfallbacks =
array(
224 $this->mConverter =
new IuConverter( $this,
'iu', $variants, $variantfallbacks,
$flags );
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
LanguageConverter $mConverter
$wgHooks['ArticleShow'][]
it s the revision text itself In either if gzip is the revision text is gzipped $flags
set to $title object and return false for a match for latest after cache objects are set use the ContentHandler facility to handle CSS and JavaScript for highlighting & $link
findVariantLink(&$link, &$nt, $ignoreOtherCond=false)
A function wrapper:
do that in ParserLimitReportFormat instead $parser
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
when a variable name is used in a it is silently declared as a new masking the global
autoConvert( $text, $toVariant=false)
An ugly function wrapper for parsing Image titles (to prevent image name conversion)
Replacement array for FSS with fallback to strtr() Supports lazy initialisation of FSS resource.
parseManualRule( $rule, $flags=array())
rules should be defined as -{Syllabic | Latin-} -or- -{code:text | code:text | ......
translate( $text, $toVariant)
It translates text into variant.
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
Conversion script between Latin and Syllabics for Inuktitut.
Internationalisation code.
if(! $wgRequest->checkUrlExtension()) if(! $wgEnableAPI) $wgTitle
parserConvert( $text, &$parser)
Do not convert content on talk pages.