[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/languages/classes/ -> LanguageIu.php (summary)

Inuktitut specific code. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 210 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 languages/LanguageConverter.php

Defines 2 classes

IuConverter:: (5 methods):
  loadDefaultTables()
  parseManualRule()
  parserConvert()
  findVariantLink()
  translate()

LanguageIu:: (1 method):
  __construct()


Class: IuConverter  - X-Ref

Conversion script between Latin and Syllabics for Inuktitut.
- Syllabics -> lowercase Latin
- lowercase/uppercase Latin -> Syllabics

Based on:
- http://commons.wikimedia.org/wiki/Image:Inuktitut.png
- LanguageSr.php

loadDefaultTables()   X-Ref
No description

parseManualRule( $rule, $flags = array()   X-Ref
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

param: string $rule
param: array $flags
return: array

parserConvert( $text, &$parser )   X-Ref
Do not convert content on talk pages

param: string $text
param: Parser $parser
return: string

findVariantLink( &$link, &$nt, $ignoreOtherCond = false )   X-Ref
A function wrapper:
- if there is no selected variant, leave the link
names as they were
- do not try to find variants for usernames

param: string &$link
param: Title &$nt
param: bool $ignoreOtherCond

translate( $text, $toVariant )   X-Ref
It translates text into variant

param: string $text
param: bool $toVariant
return: string

Class: LanguageIu  - X-Ref

Inuktitut

__construct()   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1