MediaWiki
1.28.0
|
Functions | |
def | applyExcludes |
def | charManualTable |
def | customRules |
def | defaultWordsTable |
def | dictToSortedList |
def | download |
def | main |
def | manualWordsTable |
def | parserCore |
def | PHPArray |
def | phraseParser |
def | removeRules |
def | tablesParser |
def | toManyRules |
def | translate |
def | tsiParser |
def | uncompress |
def | unichr |
def | unichr2 |
def | unichr3 |
def | unihanParser |
Variables | |
_unichr = unichr | |
tuple | ezbigParser = lambdapath:tablesParser(path, 'EZ-Big.txt.in') |
tuple | islinux = platform.system() |
string | LIBTABE_VER = '0.2.3' |
open = codecs.open | |
tuple | pyversion = platform.python_version() |
string | SCIM_PINYIN_VER = '0.5.92' |
string | SCIM_TABLES_VER = '0.5.13' |
string | SF_MIRROR = 'dfn' |
unichr = chr | |
string | UNIHAN_VER = '6.3.0' |
string | untargz = 'U8' |
string | unzip = 'U8' |
tuple | wubiParser = lambdapath:tablesParser(path, 'Wubi.txt.in') |
tuple | zrmParser = lambdapath:tablesParser(path, 'Ziranma.txt.in') |
def Makefile.applyExcludes | ( | mlist, | |
path | |||
) |
Apply exclude rules from path to mlist.
Definition at line 153 of file Makefile.py.
References open.
Referenced by main().
def Makefile.charManualTable | ( | path | ) |
def Makefile.customRules | ( | path | ) |
def Makefile.defaultWordsTable | ( | src_wordlist, | |
src_tomany, | |||
char_conv_table, | |||
char_reconv_table | |||
) |
Definition at line 267 of file Makefile.py.
References list, and translate().
Referenced by main(), and manualWordsTable().
def Makefile.dictToSortedList | ( | src_table, | |
pos | |||
) |
Definition at line 231 of file Makefile.py.
Referenced by main().
def Makefile.download | ( | url, | |
dest | |||
) |
Definition at line 47 of file Makefile.py.
References print.
Referenced by main(), and wfPHPVersionError().
def Makefile.main | ( | ) |
Definition at line 302 of file Makefile.py.
References applyExcludes(), charManualTable(), customRules(), defaultWordsTable(), dictToSortedList(), download(), ezbigParser, manualWordsTable(), open, PHPArray(), phraseParser(), removeRules(), set, toManyRules(), tsiParser(), unihanParser(), wubiParser, and zrmParser.
Referenced by PHPUnitMaintClass.execute().
def Makefile.manualWordsTable | ( | path, | |
conv_table, | |||
reconv_table | |||
) |
Definition at line 249 of file Makefile.py.
References defaultWordsTable(), list, open, set, and translate().
Referenced by main().
def Makefile.parserCore | ( | fp, | |
pos, | |||
beginmark = None , |
|||
endmark = None |
|||
) |
Definition at line 83 of file Makefile.py.
References set.
Referenced by phraseParser(), tablesParser(), and tsiParser().
def Makefile.PHPArray | ( | table | ) |
Definition at line 297 of file Makefile.py.
Referenced by main().
def Makefile.phraseParser | ( | path | ) |
Read phrase_lib.txt and parse it.
Definition at line 116 of file Makefile.py.
References parserCore(), and untargz.
Referenced by main().
def Makefile.removeRules | ( | path, | |
table | |||
) |
def Makefile.tablesParser | ( | path, | |
name | |||
) |
Read file from scim-tables and parse it.
Definition at line 104 of file Makefile.py.
References parserCore(), and untargz.
def Makefile.toManyRules | ( | src_table | ) |
def Makefile.translate | ( | text, | |
conv_table | |||
) |
Definition at line 235 of file Makefile.py.
Referenced by defaultWordsTable(), CheckLanguageCLI.help(), manualWordsTable(), UzConverter.translate(), SrConverter.translate(), KuConverter.translate(), and KkConverter.translate().
def Makefile.tsiParser | ( | path | ) |
Read tsi.src and parse it.
Definition at line 124 of file Makefile.py.
References parserCore(), and untargz.
Referenced by main().
def Makefile.uncompress | ( | fp, | |
member, | |||
encoding = 'U8' |
|||
) |
Definition at line 63 of file Makefile.py.
def Makefile.unichr | ( | i | ) |
Definition at line 21 of file Makefile.py.
def Makefile.unichr2 | ( | args | ) |
def Makefile.unichr3 | ( | args | ) |
def Makefile.unihanParser | ( | path | ) |
Read Unihan_Variants.txt and parse it.
Definition at line 131 of file Makefile.py.
References unichr2(), and unzip.
Referenced by main().
Makefile._unichr = unichr |
Definition at line 19 of file Makefile.py.
Referenced by unichr().
tuple Makefile.ezbigParser = lambdapath:tablesParser(path, 'EZ-Big.txt.in') |
Definition at line 111 of file Makefile.py.
Referenced by main().
tuple Makefile.islinux = platform.system() |
Definition at line 13 of file Makefile.py.
string Makefile.LIBTABE_VER = '0.2.3' |
Definition at line 43 of file Makefile.py.
Makefile.open = codecs.open |
Definition at line 18 of file Makefile.py.
Referenced by applyExcludes(), PPDStackElement_Hash.breakSyntax(), PPDStackElement.breakSyntax(), charManualTable(), PasswordPolicyChecks.checkPopularPasswordBlacklist(), customRules(), Parser.doTableStuff(), GenerateCommonPassword.execute(), LCStoreCDB.get(), MediaWiki\Interwiki\ClassicInterwikiLookup.getCacheValue(), PPDStackElement.getFlags(), main(), manualWordsTable(), ClassicInterwikiLookupTest.populateCDB(), InterwikiTest.populateCDB(), removeRules(), LCStoreCDB.startWrite(), and uncompress().
tuple Makefile.pyversion = platform.python_version() |
Definition at line 12 of file Makefile.py.
string Makefile.SCIM_PINYIN_VER = '0.5.92' |
Definition at line 42 of file Makefile.py.
string Makefile.SCIM_TABLES_VER = '0.5.13' |
Definition at line 41 of file Makefile.py.
string Makefile.SF_MIRROR = 'dfn' |
Definition at line 40 of file Makefile.py.
Makefile.unichr = chr |
Definition at line 28 of file Makefile.py.
string Makefile.UNIHAN_VER = '6.3.0' |
Definition at line 39 of file Makefile.py.
string Makefile.untargz = 'U8' |
Definition at line 79 of file Makefile.py.
Referenced by phraseParser(), tablesParser(), and tsiParser().
string Makefile.unzip = 'U8' |
Definition at line 76 of file Makefile.py.
Referenced by unihanParser().
tuple Makefile.wubiParser = lambdapath:tablesParser(path, 'Wubi.txt.in') |
Definition at line 112 of file Makefile.py.
Referenced by main().
tuple Makefile.zrmParser = lambdapath:tablesParser(path, 'Ziranma.txt.in') |
Definition at line 113 of file Makefile.py.
Referenced by main().