MediaWiki
1.33.0
|
Functions | |
def | applyExcludes (mlist, path) |
def | charManualTable (path) |
def | customRules (path) |
def | defaultWordsTable (src_wordlist, src_tomany, char_conv_table, char_reconv_table) |
def | dictToSortedList (src_table, pos) |
def | download (url, dest) |
def | main () |
def | manualWordsTable (path, conv_table, reconv_table) |
def | parserCore (fp, pos, beginmark=None, endmark=None) |
def | PHPArray (table) |
def | phraseParser (path) |
def | removeRules (path, table) |
def | tablesParser (path, name) |
def | toManyRules (src_table) |
def | translate (text, conv_table) |
def | tsiParser (path) |
def | uncompress (fp, member, encoding='U8') |
def | unichr (i) |
def | unichr2 (*args) |
def | unichr3 (*args) |
def | unihanParser (path) |
Variables | |
_unichr = unichr | |
def | ezbigParser = lambda path: tablesParser(path, 'EZ-Big.txt.in') |
string | islinux = 'linux' |
string | LIBTABE_VER = '0.2.3' |
open = codecs.open | |
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': \ |
def | wubiParser = lambda path: tablesParser(path, 'Wubi.txt.in') |
def | zrmParser = lambda path: 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 | |||
) |
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.
Referenced by ManageForeignResources.__construct(), PHPVersionCheck.checkRequiredPHPVersion(), and main().
def Makefile.main | ( | ) |
Definition at line 302 of file Makefile.py.
References applyExcludes(), charManualTable(), customRules(), defaultWordsTable(), dictToSortedList(), download(), ezbigParser, manualWordsTable(), open, PHPArray(), phraseParser(), removeRules(), toManyRules(), tsiParser(), unihanParser(), wubiParser, and zrmParser.
def Makefile.manualWordsTable | ( | path, | |
conv_table, | |||
reconv_table | |||
) |
Definition at line 249 of file Makefile.py.
References list, open, and translate().
Referenced by main().
def Makefile.parserCore | ( | fp, | |
pos, | |||
beginmark = None , |
|||
endmark = None |
|||
) |
Definition at line 83 of file Makefile.py.
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 | ) |
Definition at line 176 of file Makefile.py.
Referenced by main().
def Makefile.translate | ( | text, | |
conv_table | |||
) |
Definition at line 235 of file Makefile.py.
Referenced by defaultWordsTable(), CheckLanguageCLI.help(), manualWordsTable(), CrhConverter.regsConverter(), 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.
References open.
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().
|
private |
Definition at line 19 of file Makefile.py.
Referenced by unichr().
def Makefile.ezbigParser = lambda path: tablesParser(path, 'EZ-Big.txt.in') |
Definition at line 111 of file Makefile.py.
Referenced by main().
string Makefile.islinux = 'linux' |
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(), charManualTable(), PasswordPolicyChecks.checkPopularPasswordBlacklist(), customRules(), CreateCommonPasswordCdb.execute(), LCStoreCDB.get(), MediaWiki\Interwiki\ClassicInterwikiLookup.getCacheValue(), main(), manualWordsTable(), ClassicInterwikiLookupTest.populateCDB(), captcha-old.read_wordlist(), captcha.read_wordlist(), removeRules(), LCStoreCDB.startWrite(), and uncompress().
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().
def Makefile.wubiParser = lambda path: tablesParser(path, 'Wubi.txt.in') |
Definition at line 112 of file Makefile.py.
Referenced by main().
def Makefile.zrmParser = lambda path: tablesParser(path, 'Ziranma.txt.in') |
Definition at line 113 of file Makefile.py.
Referenced by main().