29 define(
'UNICODE_HANGUL_FIRST', 0xac00 );
33 define(
'UNICODE_HANGUL_LAST', 0xd7a3 );
38 define(
'UNICODE_HANGUL_LBASE', 0x1100 );
42 define(
'UNICODE_HANGUL_VBASE', 0x1161 );
46 define(
'UNICODE_HANGUL_TBASE', 0x11a7 );
51 define(
'UNICODE_HANGUL_LCOUNT', 19 );
55 define(
'UNICODE_HANGUL_VCOUNT', 21 );
59 define(
'UNICODE_HANGUL_TCOUNT', 28 );
81 define(
'UNICODE_SURROGATE_FIRST', 0xd800 );
85 define(
'UNICODE_SURROGATE_LAST', 0xdfff );
89 define(
'UNICODE_MAX', 0x10ffff );
93 define(
'UNICODE_REPLACEMENT', 0xfffd );
98 define(
'UTF8_HANGUL_FIRST',
"\xea\xb0\x80" );
102 define(
'UTF8_HANGUL_LAST',
"\xed\x9e\xa3" );
107 define(
'UTF8_HANGUL_LBASE',
"\xe1\x84\x80" );
111 define(
'UTF8_HANGUL_VBASE',
"\xe1\x85\xa1" );
115 define(
'UTF8_HANGUL_TBASE',
"\xe1\x86\xa7" );
120 define(
'UTF8_HANGUL_LEND',
"\xe1\x84\x92" );
124 define(
'UTF8_HANGUL_VEND',
"\xe1\x85\xb5" );
128 define(
'UTF8_HANGUL_TEND',
"\xe1\x87\x82" );
133 define(
'UTF8_SURROGATE_FIRST',
"\xed\xa0\x80" );
137 define(
'UTF8_SURROGATE_LAST',
"\xed\xbf\xbf" );
141 define(
'UTF8_MAX',
"\xf4\x8f\xbf\xbf" );
145 define(
'UTF8_REPLACEMENT',
"\xef\xbf\xbd" );
146 # define( 'UTF8_REPLACEMENT', '!' );
151 define(
'UTF8_OVERLONG_A',
"\xc1\xbf" );
155 define(
'UTF8_OVERLONG_B',
"\xe0\x9f\xbf" );
159 define(
'UTF8_OVERLONG_C',
"\xf0\x8f\xbf\xbf" );
161 # These two ranges are illegal
165 define(
'UTF8_FDD0',
"\xef\xb7\x90" );
169 define(
'UTF8_FDEF',
"\xef\xb7\xaf" );
173 define(
'UTF8_FFFE',
"\xef\xbf\xbe" );
177 define(
'UTF8_FFFF',
"\xef\xbf\xbf" );
182 define(
'UTF8_HEAD',
false );
186 define(
'UTF8_TAIL',
true );
const UNICODE_HANGUL_LBASE
const UNICODE_HANGUL_LCOUNT
const UNICODE_HANGUL_VCOUNT
injection txt This is an overview of how MediaWiki makes use of dependency injection The design described here grew from the discussion of RFC T384 The term dependency this means that anything an object needs to operate should be injected from the the object itself should only know narrow no concrete implementation of the logic it relies on The requirement to inject everything typically results in an architecture that based on two main types of and essentially stateless service objects that use other service objects to operate on the value objects As of the beginning MediaWiki is only starting to use the DI approach Much of the code still relies on global state or direct resulting in a highly cyclical dependency which acts as the top level factory for services in MediaWiki which can be used to gain access to default instances of various services MediaWikiServices however also allows new services to be defined and default services to be redefined Services are defined or redefined by providing a callback the instantiator that will return a new instance of the service When it will create an instance of MediaWikiServices and populate it with the services defined in the files listed by thereby bootstrapping the DI framework Per $wgServiceWiringFiles lists includes ServiceWiring php
const UNICODE_HANGUL_TCOUNT
const UNICODE_HANGUL_VBASE
const UNICODE_HANGUL_TBASE