Expose $wgMaxArticleSize in siteinfo query api
[mediawiki.git] / includes / compat / normal / UtfNormalDefines.php
blob38ce8550a6f10949924841ab5ed73e3812cb03ab
1 <?php
2 /**
3 * Backwards-compatability constants which are now provided by the
4 * UtfNormal library. They are hardcoded here since they are needed
5 * before the composer autoloader is initialized.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 * http://www.gnu.org/copyleft/gpl.html
22 * @file
23 * @ingroup UtfNormal
26 /**
27 * @deprecated since 1.25, use UtfNormal\Constants instead
29 define( 'UNICODE_HANGUL_FIRST', 0xac00 );
30 /**
31 * @deprecated since 1.25, use UtfNormal\Constants instead
33 define( 'UNICODE_HANGUL_LAST', 0xd7a3 );
35 /**
36 * @deprecated since 1.25, use UtfNormal\Constants instead
38 define( 'UNICODE_HANGUL_LBASE', 0x1100 );
39 /**
40 * @deprecated since 1.25, use UtfNormal\Constants instead
42 define( 'UNICODE_HANGUL_VBASE', 0x1161 );
43 /**
44 * @deprecated since 1.25, use UtfNormal\Constants instead
46 define( 'UNICODE_HANGUL_TBASE', 0x11a7 );
48 /**
49 * @deprecated since 1.25, use UtfNormal\Constants instead
51 define( 'UNICODE_HANGUL_LCOUNT', 19 );
52 /**
53 * @deprecated since 1.25, use UtfNormal\Constants instead
55 define( 'UNICODE_HANGUL_VCOUNT', 21 );
56 /**
57 * @deprecated since 1.25, use UtfNormal\Constants instead
59 define( 'UNICODE_HANGUL_TCOUNT', 28 );
60 /**
61 * @deprecated since 1.25, use UtfNormal\Constants instead
63 define( 'UNICODE_HANGUL_NCOUNT', UNICODE_HANGUL_VCOUNT * UNICODE_HANGUL_TCOUNT );
65 /**
66 * @deprecated since 1.25, use UtfNormal\Constants instead
68 define( 'UNICODE_HANGUL_LEND', UNICODE_HANGUL_LBASE + UNICODE_HANGUL_LCOUNT - 1 );
69 /**
70 * @deprecated since 1.25, use UtfNormal\Constants instead
72 define( 'UNICODE_HANGUL_VEND', UNICODE_HANGUL_VBASE + UNICODE_HANGUL_VCOUNT - 1 );
73 /**
74 * @deprecated since 1.25, use UtfNormal\Constants instead
76 define( 'UNICODE_HANGUL_TEND', UNICODE_HANGUL_TBASE + UNICODE_HANGUL_TCOUNT - 1 );
78 /**
79 * @deprecated since 1.25, use UtfNormal\Constants instead
81 define( 'UNICODE_SURROGATE_FIRST', 0xd800 );
82 /**
83 * @deprecated since 1.25, use UtfNormal\Constants instead
85 define( 'UNICODE_SURROGATE_LAST', 0xdfff );
86 /**
87 * @deprecated since 1.25, use UtfNormal\Constants instead
89 define( 'UNICODE_MAX', 0x10ffff );
90 /**
91 * @deprecated since 1.25, use UtfNormal\Constants instead
93 define( 'UNICODE_REPLACEMENT', 0xfffd );
95 /**
96 * @deprecated since 1.25, use UtfNormal\Constants instead
98 define( 'UTF8_HANGUL_FIRST', "\xea\xb0\x80" /*codepointToUtf8( UNICODE_HANGUL_FIRST )*/ );
99 /**
100 * @deprecated since 1.25, use UtfNormal\Constants instead
102 define( 'UTF8_HANGUL_LAST', "\xed\x9e\xa3" /*codepointToUtf8( UNICODE_HANGUL_LAST )*/ );
105 * @deprecated since 1.25, use UtfNormal\Constants instead
107 define( 'UTF8_HANGUL_LBASE', "\xe1\x84\x80" /*codepointToUtf8( UNICODE_HANGUL_LBASE )*/ );
109 * @deprecated since 1.25, use UtfNormal\Constants instead
111 define( 'UTF8_HANGUL_VBASE', "\xe1\x85\xa1" /*codepointToUtf8( UNICODE_HANGUL_VBASE )*/ );
113 * @deprecated since 1.25, use UtfNormal\Constants instead
115 define( 'UTF8_HANGUL_TBASE', "\xe1\x86\xa7" /*codepointToUtf8( UNICODE_HANGUL_TBASE )*/ );
118 * @deprecated since 1.25, use UtfNormal\Constants instead
120 define( 'UTF8_HANGUL_LEND', "\xe1\x84\x92" /*codepointToUtf8( UNICODE_HANGUL_LEND )*/ );
122 * @deprecated since 1.25, use UtfNormal\Constants instead
124 define( 'UTF8_HANGUL_VEND', "\xe1\x85\xb5" /*codepointToUtf8( UNICODE_HANGUL_VEND )*/ );
126 * @deprecated since 1.25, use UtfNormal\Constants instead
128 define( 'UTF8_HANGUL_TEND', "\xe1\x87\x82" /*codepointToUtf8( UNICODE_HANGUL_TEND )*/ );
131 * @deprecated since 1.25, use UtfNormal\Constants instead
133 define( 'UTF8_SURROGATE_FIRST', "\xed\xa0\x80" /*codepointToUtf8( UNICODE_SURROGATE_FIRST )*/ );
135 * @deprecated since 1.25, use UtfNormal\Constants instead
137 define( 'UTF8_SURROGATE_LAST', "\xed\xbf\xbf" /*codepointToUtf8( UNICODE_SURROGATE_LAST )*/ );
139 * @deprecated since 1.25, use UtfNormal\Constants instead
141 define( 'UTF8_MAX', "\xf4\x8f\xbf\xbf" /*codepointToUtf8( UNICODE_MAX )*/ );
143 * @deprecated since 1.25, use UtfNormal\Constants instead
145 define( 'UTF8_REPLACEMENT', "\xef\xbf\xbd" /*codepointToUtf8( UNICODE_REPLACEMENT )*/ );
146 # define( 'UTF8_REPLACEMENT', '!' );
149 * @deprecated since 1.25, use UtfNormal\Constants instead
151 define( 'UTF8_OVERLONG_A', "\xc1\xbf" );
153 * @deprecated since 1.25, use UtfNormal\Constants instead
155 define( 'UTF8_OVERLONG_B', "\xe0\x9f\xbf" );
157 * @deprecated since 1.25, use UtfNormal\Constants instead
159 define( 'UTF8_OVERLONG_C', "\xf0\x8f\xbf\xbf" );
161 # These two ranges are illegal
163 * @deprecated since 1.25, use UtfNormal\Constants instead
165 define( 'UTF8_FDD0', "\xef\xb7\x90" /*codepointToUtf8( 0xfdd0 )*/ );
167 * @deprecated since 1.25, use UtfNormal\Constants instead
169 define( 'UTF8_FDEF', "\xef\xb7\xaf" /*codepointToUtf8( 0xfdef )*/ );
171 * @deprecated since 1.25, use UtfNormal\Constants instead
173 define( 'UTF8_FFFE', "\xef\xbf\xbe" /*codepointToUtf8( 0xfffe )*/ );
175 * @deprecated since 1.25, use UtfNormal\Constants instead
177 define( 'UTF8_FFFF', "\xef\xbf\xbf" /*codepointToUtf8( 0xffff )*/ );
180 * @deprecated since 1.25, use UtfNormal\Constants instead
182 define( 'UTF8_HEAD', false );
184 * @deprecated since 1.25, use UtfNormal\Constants instead
186 define( 'UTF8_TAIL', true );