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