23require_once __DIR__ .
'/libs/mime/defines.php';
24require_once __DIR__ .
'/libs/rdbms/defines.php';
39define(
'MW_VERSION',
'1.34.4' );
47define(
'LIST_COMMA', IDatabase::LIST_COMMA );
48define(
'LIST_AND', IDatabase::LIST_AND );
49define(
'LIST_SET', IDatabase::LIST_SET );
50define(
'LIST_NAMES', IDatabase::LIST_NAMES );
51define(
'LIST_OR', IDatabase::LIST_OR );
57define(
'NS_MEDIA', -2 );
58define(
'NS_SPECIAL', -1 );
69define(
'NS_MAIN', 0 );
70define(
'NS_TALK', 1 );
71define(
'NS_USER', 2 );
72define(
'NS_USER_TALK', 3 );
73define(
'NS_PROJECT', 4 );
74define(
'NS_PROJECT_TALK', 5 );
75define(
'NS_FILE', 6 );
76define(
'NS_FILE_TALK', 7 );
77define(
'NS_MEDIAWIKI', 8 );
78define(
'NS_MEDIAWIKI_TALK', 9 );
79define(
'NS_TEMPLATE', 10 );
80define(
'NS_TEMPLATE_TALK', 11 );
81define(
'NS_HELP', 12 );
82define(
'NS_HELP_TALK', 13 );
83define(
'NS_CATEGORY', 14 );
84define(
'NS_CATEGORY_TALK', 15 );
90define(
'CACHE_ANYTHING', -1 );
91define(
'CACHE_NONE', 0 );
92define(
'CACHE_DB', 1 );
93define(
'CACHE_MEMCACHED', 2 );
94define(
'CACHE_ACCEL', 3 );
100define(
'AV_NO_VIRUS', 0 ); # scan ok, no virus found
101define(
'AV_VIRUS_FOUND', 1 ); # virus found!
102define(
'AV_SCAN_ABORTED', -1 ); # scan aborted, the file is probably immune
103define(
'AV_SCAN_FAILED',
false ); # scan failed (scanner not found or error in scanner)
const MW_SUPPORTS_RESOURCE_MODULES
Support for $wgResourceModules.
const SCHEMA_COMPAT_WRITE_BOTH
const CONTENT_FORMAT_JAVASCRIPT
const CONTENT_FORMAT_HTML
const CONTENT_FORMAT_JSON
const SCHEMA_COMPAT_READ_NEW
const ALF_PRELOAD_EXISTENCE
const APCOND_EMAILCONFIRMED
const SCHEMA_COMPAT_READ_BOTH
const SCHEMA_COMPAT_WRITE_OLD
const MW_SUPPORTS_CONTENTHANDLER
const MW_EDITFILTERMERGED_SUPPORTS_API
const CONTENT_FORMAT_TEXT
const APCOND_AGE_FROM_EDIT
const XML_DUMP_SCHEMA_VERSION_11
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
const SCHEMA_COMPAT_WRITE_NEW
const SHELL_MAX_ARG_STRLEN
const CONTENT_FORMAT_SERIALIZED
const MIGRATION_WRITE_BOTH
const MW_SUPPORTS_PARSERFIRSTCALLINIT
const CONTENT_MODEL_JAVASCRIPT