Go to the documentation of this file.
24 require_once __DIR__ .
'/../LanguageConverter.php';
43 'ⴰ' =>
'a',
'ⴱ' =>
'b',
'ⴳ' =>
'g',
'ⴷ' =>
'd',
'ⴹ' =>
'ḍ',
'ⴻ' =>
'e',
44 'ⴼ' =>
'f',
'ⴽ' =>
'k',
'ⵀ' =>
'h',
'ⵃ' =>
'ḥ',
'ⵄ' =>
'ε',
'ⵅ' =>
'x',
45 'ⵇ' =>
'q',
'ⵉ' =>
'i',
'ⵊ' =>
'j',
'ⵍ' =>
'l',
'ⵎ' =>
'm',
'ⵏ' =>
'n',
46 'ⵓ' =>
'u',
'ⵔ' =>
'r',
'ⵕ' =>
'ṛ',
'ⵖ' =>
'γ',
'ⵙ' =>
's',
'ⵚ' =>
'ṣ',
47 'ⵛ' =>
'š',
'ⵜ' =>
't',
'ⵟ' =>
'ṭ',
'ⵡ' =>
'w',
'ⵢ' =>
'y',
'ⵣ' =>
'z',
48 'ⵥ' =>
'ẓ',
'ⵯ' =>
'ʷ',
'ⵖ' =>
'ɣ',
'ⵠ' =>
'v',
'ⵒ' =>
'p',
52 'A' =>
'a',
'B' =>
'b',
'C' =>
'c',
'D' =>
'd',
'E' =>
'e',
53 'F' =>
'f',
'G' =>
'g',
'H' =>
'h',
'I' =>
'i',
'J' =>
'j',
54 'K' =>
'k',
'L' =>
'l',
'M' =>
'm',
'N' =>
'n',
'O' =>
'o',
55 'P' =>
'p',
'Q' =>
'q',
'R' =>
'r',
'S' =>
's',
'T' =>
't',
56 'U' =>
'u',
'V' =>
'v',
'W' =>
'w',
'X' =>
'x',
'Y' =>
'y',
57 'Z' =>
'z',
'Ɣ' =>
'ɣ',
61 'a' =>
'ⴰ',
'b' =>
'ⴱ',
'g' =>
'ⴳ',
'd' =>
'ⴷ',
'ḍ' =>
'ⴹ',
'e' =>
'ⴻ',
62 'f' =>
'ⴼ',
'k' =>
'ⴽ',
'h' =>
'ⵀ',
'ḥ' =>
'ⵃ',
'ε' =>
'ⵄ',
'x' =>
'ⵅ',
63 'q' =>
'ⵇ',
'i' =>
'ⵉ',
'j' =>
'ⵊ',
'l' =>
'ⵍ',
'm' =>
'ⵎ',
'n' =>
'ⵏ',
64 'u' =>
'ⵓ',
'r' =>
'ⵔ',
'ṛ' =>
'ⵕ',
'γ' =>
'ⵖ',
's' =>
'ⵙ',
'ṣ' =>
'ⵚ',
65 'š' =>
'ⵛ',
't' =>
'ⵜ',
'ṭ' =>
'ⵟ',
'w' =>
'ⵡ',
'y' =>
'ⵢ',
'z' =>
'ⵣ',
66 'ẓ' =>
'ⵥ',
'ʷ' =>
'ⵯ',
'ɣ' =>
'ⵖ',
'v' =>
'ⵠ',
'p' =>
'ⵒ',
70 $this->mTables =
array(
89 if ( in_array(
'T',
$flags ) ) {
90 return parent::parseManualRule( $rule,
$flags );
95 foreach ( $this->mVariants
as $v ) {
110 $this->mDoContentConvert = !( is_object(
$parser->getTitle() ) &&
$parser->getTitle()->isTalkPage() );
112 return parent::parserConvert( $text,
$parser );
127 if ( is_object( $nt ) ) {
128 $ns = $nt->getNamespace();
135 parent::findVariantLink(
$link, $nt, $ignoreOtherCond );
136 if ( $this->getPreferredVariant() == $this->mMainLanguageCode ) {
154 if ( preg_match(
"/^$imagename:/", $text ) ) {
158 return parent::autoConvert( $text, $toVariant );
172 if ( trim( $text ) ) {
175 if ( $toVariant ==
'shi-tfng' ) {
176 $text = $this->mTables[
'lowercase']->replace( $text );
178 $text = $this->mTables[$toVariant]->replace( $text );
193 parent::__construct();
195 $variants =
array(
'shi',
'shi-tfng',
'shi-latn' );
196 $variantfallbacks =
array(
203 $this->mConverter =
new ShiConverter( $this,
'shi', $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
parserConvert( $text, &$parser)
Do not convert content on talk pages.
translate( $text, $toVariant)
It translates text into variant.
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
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
Replacement array for FSS with fallback to strtr() Supports lazy initialisation of FSS resource.
findVariantLink(&$link, &$nt, $ignoreOtherCond=false)
A function wrapper:
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 Tifinagh for Tachelhit.
autoConvert( $text, $toVariant=false)
An ugly function wrapper for parsing Image titles (to prevent image name conversion)
Internationalisation code.
parseManualRule( $rule, $flags=array())
rules should be defined as -{Tifinagh | Latin-} -or- -{code:text | code:text | ......
if(! $wgRequest->checkUrlExtension()) if(! $wgEnableAPI) $wgTitle