23require_once __DIR__ .
'/libs/mime/defines.php';
24require_once __DIR__ .
'/libs/rdbms/defines.php';
40define(
'MW_VERSION',
'1.35.14' );
48define(
'LIST_COMMA', IDatabase::LIST_COMMA );
49define(
'LIST_AND', IDatabase::LIST_AND );
50define(
'LIST_SET', IDatabase::LIST_SET );
51define(
'LIST_NAMES', IDatabase::LIST_NAMES );
52define(
'LIST_OR', IDatabase::LIST_OR );
58define(
'NS_MEDIA', -2 );
59define(
'NS_SPECIAL', -1 );
70define(
'NS_MAIN', 0 );
71define(
'NS_TALK', 1 );
72define(
'NS_USER', 2 );
73define(
'NS_USER_TALK', 3 );
74define(
'NS_PROJECT', 4 );
75define(
'NS_PROJECT_TALK', 5 );
76define(
'NS_FILE', 6 );
77define(
'NS_FILE_TALK', 7 );
78define(
'NS_MEDIAWIKI', 8 );
79define(
'NS_MEDIAWIKI_TALK', 9 );
80define(
'NS_TEMPLATE', 10 );
81define(
'NS_TEMPLATE_TALK', 11 );
82define(
'NS_HELP', 12 );
83define(
'NS_HELP_TALK', 13 );
84define(
'NS_CATEGORY', 14 );
85define(
'NS_CATEGORY_TALK', 15 );
91define(
'CACHE_ANYTHING', -1 );
92define(
'CACHE_NONE', 0 );
93define(
'CACHE_DB', 1 );
94define(
'CACHE_MEMCACHED', 2 );
95define(
'CACHE_ACCEL', 3 );
101define(
'AV_NO_VIRUS', 0 ); # scan ok, no virus found
102define(
'AV_VIRUS_FOUND', 1 ); # virus found!
103define(
'AV_SCAN_ABORTED', -1 ); # scan aborted, the file is probably immune
104define(
'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