23require_once __DIR__ .
'/libs/mime/defines.php';
24require_once __DIR__ .
'/libs/rdbms/defines.php';
37define(
'MW_VERSION',
'1.44.0-alpha' );
43define(
'LIST_COMMA', IDatabase::LIST_COMMA );
44define(
'LIST_AND', IDatabase::LIST_AND );
45define(
'LIST_SET', IDatabase::LIST_SET );
46define(
'LIST_NAMES', IDatabase::LIST_NAMES );
47define(
'LIST_OR', IDatabase::LIST_OR );
53define(
'NS_MEDIA', -2 );
54define(
'NS_SPECIAL', -1 );
65define(
'NS_MAIN', 0 );
66define(
'NS_TALK', 1 );
67define(
'NS_USER', 2 );
68define(
'NS_USER_TALK', 3 );
69define(
'NS_PROJECT', 4 );
70define(
'NS_PROJECT_TALK', 5 );
71define(
'NS_FILE', 6 );
72define(
'NS_FILE_TALK', 7 );
73define(
'NS_MEDIAWIKI', 8 );
74define(
'NS_MEDIAWIKI_TALK', 9 );
75define(
'NS_TEMPLATE', 10 );
76define(
'NS_TEMPLATE_TALK', 11 );
77define(
'NS_HELP', 12 );
78define(
'NS_HELP_TALK', 13 );
79define(
'NS_CATEGORY', 14 );
80define(
'NS_CATEGORY_TALK', 15 );
86define(
'CACHE_ANYTHING', -1 );
87define(
'CACHE_NONE', 0 );
88define(
'CACHE_DB', 1 );
89define(
'CACHE_MEMCACHED',
'memcached-php' );
90define(
'CACHE_ACCEL', 3 );
91define(
'CACHE_HASH',
'hash' );
97define(
'AV_NO_VIRUS', 0 ); # scan ok, no virus found
98define(
'AV_VIRUS_FOUND', 1 ); # virus found!
99define(
'AV_SCAN_ABORTED', -1 ); # scan aborted, the file is probably immune
100define(
'AV_SCAN_FAILED',
false ); # scan failed (scanner not found or error in scanner)
const SCHEMA_COMPAT_WRITE_BOTH
const CONTENT_FORMAT_JAVASCRIPT
For JS pages.
const CONTENT_FORMAT_HTML
For future use, e.g.
const SCHEMA_COMPAT_WRITE_TEMP
const CONTENT_FORMAT_JSON
For future use with the API, and for use by extensions.
const SCHEMA_COMPAT_READ_NEW
const APCOND_EMAILCONFIRMED
const SCHEMA_COMPAT_READ_BOTH
const SCHEMA_COMPAT_WRITE_TEMP_AND_NEW
const SCHEMA_COMPAT_WRITE_OLD
const MW_SUPPORTS_CONTENTHANDLER
const MW_EDITFILTERMERGED_SUPPORTS_API
const CONTENT_FORMAT_TEXT
For future use, e.g.
const APCOND_AGE_FROM_EDIT
const CONTENT_FORMAT_CSS
For CSS pages.
const SCHEMA_COMPAT_WRITE_OLD_AND_TEMP
const XML_DUMP_SCHEMA_VERSION_11
const SCHEMA_COMPAT_READ_TEMP
const MW_SUPPORTS_LOCALISATIONCACHE
const CONTENT_MODEL_WIKITEXT
const MIGRATION_WRITE_NEW
const SCHEMA_COMPAT_READ_OLD
const XML_DUMP_SCHEMA_VERSION_10
const CONTENT_FORMAT_WIKITEXT
Wikitext.
const MW_SUPPORTS_RESOURCE_MODULES
Support for $wgResourceModules.
const SCHEMA_COMPAT_WRITE_NEW
const SHELL_MAX_ARG_STRLEN
const SCHEMA_COMPAT_WRITE_MASK
const CONTENT_FORMAT_SERIALIZED
For future use with the API and for extensions.
const MIGRATION_WRITE_BOTH
const CONTENT_MODEL_UNKNOWN
const MW_SUPPORTS_PARSERFIRSTCALLINIT
const CONTENT_FORMAT_XML
For future use with the API, and for use by extensions.
const SCHEMA_COMPAT_READ_MASK
const CONTENT_MODEL_JAVASCRIPT