23require_once __DIR__ .
'/libs/mime/defines.php';
24require_once __DIR__ .
'/libs/rdbms/defines.php';
36define(
'MW_VERSION',
'1.37.6' );
42define(
'LIST_COMMA', IDatabase::LIST_COMMA );
43define(
'LIST_AND', IDatabase::LIST_AND );
44define(
'LIST_SET', IDatabase::LIST_SET );
45define(
'LIST_NAMES', IDatabase::LIST_NAMES );
46define(
'LIST_OR', IDatabase::LIST_OR );
52define(
'NS_MEDIA', -2 );
53define(
'NS_SPECIAL', -1 );
64define(
'NS_MAIN', 0 );
65define(
'NS_TALK', 1 );
66define(
'NS_USER', 2 );
67define(
'NS_USER_TALK', 3 );
68define(
'NS_PROJECT', 4 );
69define(
'NS_PROJECT_TALK', 5 );
70define(
'NS_FILE', 6 );
71define(
'NS_FILE_TALK', 7 );
72define(
'NS_MEDIAWIKI', 8 );
73define(
'NS_MEDIAWIKI_TALK', 9 );
74define(
'NS_TEMPLATE', 10 );
75define(
'NS_TEMPLATE_TALK', 11 );
76define(
'NS_HELP', 12 );
77define(
'NS_HELP_TALK', 13 );
78define(
'NS_CATEGORY', 14 );
79define(
'NS_CATEGORY_TALK', 15 );
85define(
'CACHE_ANYTHING', -1 );
86define(
'CACHE_NONE', 0 );
87define(
'CACHE_DB', 1 );
88define(
'CACHE_MEMCACHED', 2 );
89define(
'CACHE_ACCEL', 3 );
95define(
'AV_NO_VIRUS', 0 ); # scan ok, no virus found
96define(
'AV_VIRUS_FOUND', 1 ); # virus found!
97define(
'AV_SCAN_ABORTED', -1 ); # scan aborted, the file is probably immune
98define(
'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