MediaWiki
REL1_19
|
A few constants that might be needed during LocalSettings.php. More...
Go to the source code of this file.
A few constants that might be needed during LocalSettings.php.
Note: these constants must all be resolvable at compile time by HipHop, since this file will not be executed during request startup for a compiled MediaWiki.
Definition in file Defines.php.
enum ALF_NO_BLOCK_LOCK |
Anti-lock flags See DefaultSettings.php for a description
Definition at line 131 of file Defines.php.
enum ALF_NO_LINK_LOCK |
Anti-lock flags See DefaultSettings.php for a description
Definition at line 130 of file Defines.php.
Anti-lock flags See DefaultSettings.php for a description
Definition at line 129 of file Defines.php.
enum ALF_PRELOAD_LINKS |
Anti-lock flags See DefaultSettings.php for a description
Definition at line 128 of file Defines.php.
enum APCOND_AGE |
Autopromote conditions (must be here and not in Autopromote.php, so that they're loaded for DefaultSettings.php before AutoLoader.php)
Definition at line 233 of file Defines.php.
enum APCOND_AGE_FROM_EDIT |
Autopromote conditions (must be here and not in Autopromote.php, so that they're loaded for DefaultSettings.php before AutoLoader.php)
Definition at line 238 of file Defines.php.
enum APCOND_BLOCKED |
Autopromote conditions (must be here and not in Autopromote.php, so that they're loaded for DefaultSettings.php before AutoLoader.php)
Definition at line 239 of file Defines.php.
enum APCOND_EDITCOUNT |
Autopromote conditions (must be here and not in Autopromote.php, so that they're loaded for DefaultSettings.php before AutoLoader.php)
Definition at line 232 of file Defines.php.
Autopromote conditions (must be here and not in Autopromote.php, so that they're loaded for DefaultSettings.php before AutoLoader.php)
Definition at line 234 of file Defines.php.
enum APCOND_INGROUPS |
Autopromote conditions (must be here and not in Autopromote.php, so that they're loaded for DefaultSettings.php before AutoLoader.php)
Definition at line 235 of file Defines.php.
enum APCOND_IPINRANGE |
Autopromote conditions (must be here and not in Autopromote.php, so that they're loaded for DefaultSettings.php before AutoLoader.php)
Definition at line 237 of file Defines.php.
enum APCOND_ISBOT |
Autopromote conditions (must be here and not in Autopromote.php, so that they're loaded for DefaultSettings.php before AutoLoader.php)
Definition at line 240 of file Defines.php.
enum APCOND_ISIP |
Autopromote conditions (must be here and not in Autopromote.php, so that they're loaded for DefaultSettings.php before AutoLoader.php)
Definition at line 236 of file Defines.php.
enum AV_NO_VIRUS |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 118 of file Defines.php.
enum AV_SCAN_ABORTED |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 120 of file Defines.php.
enum AV_SCAN_FAILED |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 121 of file Defines.php.
enum AV_VIRUS_FOUND |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 119 of file Defines.php.
enum CACHE_ACCEL |
Cache type
Definition at line 95 of file Defines.php.
enum CACHE_ANYTHING |
Cache type
Definition at line 91 of file Defines.php.
enum CACHE_DB |
Cache type
Definition at line 93 of file Defines.php.
enum CACHE_DBA |
Cache type
Definition at line 96 of file Defines.php.
enum CACHE_MEMCACHED |
Cache type
Definition at line 94 of file Defines.php.
enum CACHE_NONE |
Cache type
Definition at line 92 of file Defines.php.
enum DB_LAST |
Valid database indexes Operation-based indexes
Definition at line 36 of file Defines.php.
enum DB_MASTER |
Valid database indexes Operation-based indexes
Definition at line 35 of file Defines.php.
enum DB_READ |
Definition at line 40 of file Defines.php.
enum DB_SLAVE |
Valid database indexes Operation-based indexes
Definition at line 34 of file Defines.php.
enum DB_WRITE |
Definition at line 41 of file Defines.php.
enum DBO_DDLMODE |
Database related constants
Definition at line 27 of file Defines.php.
enum DBO_DEBUG |
Database related constants
Definition at line 20 of file Defines.php.
enum DBO_DEFAULT |
Database related constants
Definition at line 24 of file Defines.php.
enum DBO_IGNORE |
Database related constants
Definition at line 22 of file Defines.php.
enum DBO_NOBUFFER |
Database related constants
Definition at line 21 of file Defines.php.
enum DBO_PERSISTENT |
Database related constants
Definition at line 25 of file Defines.php.
enum DBO_SYSDBA |
Database related constants
Definition at line 26 of file Defines.php.
enum DBO_TRX |
Database related constants
Definition at line 23 of file Defines.php.
enum EDIT_AUTOSUMMARY |
Article edit flags
Definition at line 169 of file Defines.php.
enum EDIT_DEFER_UPDATES |
Article edit flags
Definition at line 168 of file Defines.php.
enum EDIT_FORCE_BOT |
Article edit flags
Definition at line 167 of file Defines.php.
enum EDIT_MINOR |
Article edit flags
Definition at line 165 of file Defines.php.
enum EDIT_NEW |
Article edit flags
Definition at line 163 of file Defines.php.
enum EDIT_SUPPRESS_RC |
Article edit flags
Definition at line 166 of file Defines.php.
enum EDIT_UPDATE |
Article edit flags
Definition at line 164 of file Defines.php.
enum LIST_AND |
Flags for Database::makeList() These are also available as Database class constants
Definition at line 177 of file Defines.php.
enum LIST_COMMA |
Flags for Database::makeList() These are also available as Database class constants
Definition at line 176 of file Defines.php.
enum LIST_NAMES |
Flags for Database::makeList() These are also available as Database class constants
Definition at line 179 of file Defines.php.
enum LIST_OR |
Flags for Database::makeList() These are also available as Database class constants
Definition at line 180 of file Defines.php.
enum LIST_SET |
Flags for Database::makeList() These are also available as Database class constants
Definition at line 178 of file Defines.php.
enum LIST_SET_PREPARED |
Flags for Database::makeList() These are also available as Database class constants
Definition at line 181 of file Defines.php.
enum MEDIATYPE_ARCHIVE |
Media types. This defines constants for the value returned by File::getMediaType()
Definition at line 112 of file Defines.php.
enum MEDIATYPE_AUDIO |
Media types. This defines constants for the value returned by File::getMediaType()
Definition at line 106 of file Defines.php.
enum MEDIATYPE_BITMAP |
Media types. This defines constants for the value returned by File::getMediaType()
Definition at line 104 of file Defines.php.
enum MEDIATYPE_DRAWING |
Media types. This defines constants for the value returned by File::getMediaType()
Definition at line 105 of file Defines.php.
enum MEDIATYPE_EXECUTABLE |
Media types. This defines constants for the value returned by File::getMediaType()
Definition at line 111 of file Defines.php.
enum MEDIATYPE_MULTIMEDIA |
Media types. This defines constants for the value returned by File::getMediaType()
Definition at line 108 of file Defines.php.
enum MEDIATYPE_OFFICE |
Media types. This defines constants for the value returned by File::getMediaType()
Definition at line 109 of file Defines.php.
enum MEDIATYPE_TEXT |
Media types. This defines constants for the value returned by File::getMediaType()
Definition at line 110 of file Defines.php.
enum MEDIATYPE_UNKNOWN |
Media types. This defines constants for the value returned by File::getMediaType()
Definition at line 103 of file Defines.php.
enum MEDIATYPE_VIDEO |
Media types. This defines constants for the value returned by File::getMediaType()
Definition at line 107 of file Defines.php.
enum MW_DATE_DEFAULT |
Date format selectors; used in user preference storage and by Language::date() and co.
Definition at line 143 of file Defines.php.
enum MW_DATE_DMY |
Date format selectors; used in user preference storage and by Language::date() and co.
Definition at line 145 of file Defines.php.
enum MW_DATE_ISO |
Date format selectors; used in user preference storage and by Language::date() and co.
Definition at line 147 of file Defines.php.
enum MW_DATE_MDY |
Date format selectors; used in user preference storage and by Language::date() and co.
Definition at line 144 of file Defines.php.
enum MW_DATE_YMD |
Date format selectors; used in user preference storage and by Language::date() and co.
Definition at line 146 of file Defines.php.
Version constants for the benefit of extensions.
Definition at line 15 of file Defines.php.
Unicode and normalisation related.
Hook support constants
Definition at line 192 of file Defines.php.
Unicode and normalisation related.
Hook support constants
Definition at line 194 of file Defines.php.
Unicode and normalisation related.
Hook support constants
Definition at line 193 of file Defines.php.
Support for $wgResourceModules.
Definition at line 198 of file Defines.php.
enum NS_CATEGORY |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 73 of file Defines.php.
enum NS_CATEGORY_TALK |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 74 of file Defines.php.
enum NS_FILE |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 65 of file Defines.php.
enum NS_FILE_TALK |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 66 of file Defines.php.
enum NS_HELP |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 71 of file Defines.php.
enum NS_HELP_TALK |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 72 of file Defines.php.
enum NS_IMAGE |
NS_IMAGE and NS_IMAGE_TALK are the pre-v1.14 names for NS_FILE and NS_FILE_TALK respectively, and are kept for compatibility.
When writing code that should be compatible with older MediaWiki versions, either stick to the old names or define the new constants yourself, if they're not defined already.
Definition at line 84 of file Defines.php.
enum NS_IMAGE_TALK |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 85 of file Defines.php.
enum NS_MAIN |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 59 of file Defines.php.
enum NS_MEDIA |
Virtual namespaces; don't appear in the page database
Definition at line 47 of file Defines.php.
enum NS_MEDIAWIKI |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 67 of file Defines.php.
enum NS_MEDIAWIKI_TALK |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 68 of file Defines.php.
enum NS_PROJECT |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 63 of file Defines.php.
enum NS_PROJECT_TALK |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 64 of file Defines.php.
enum NS_SPECIAL |
Virtual namespaces; don't appear in the page database
Definition at line 48 of file Defines.php.
enum NS_TALK |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 60 of file Defines.php.
enum NS_TEMPLATE |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 69 of file Defines.php.
enum NS_TEMPLATE_TALK |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 70 of file Defines.php.
enum NS_USER |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 61 of file Defines.php.
enum NS_USER_TALK |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 62 of file Defines.php.
enum OT_HTML |
Allowed values for Parser::$mOutputType Parameter to Parser::startExternalParse().
Definition at line 204 of file Defines.php.
enum OT_MSG |
Allowed values for Parser::$mOutputType Parameter to Parser::startExternalParse().
Definition at line 207 of file Defines.php.
enum OT_PLAIN |
Allowed values for Parser::$mOutputType Parameter to Parser::startExternalParse().
Definition at line 208 of file Defines.php.
enum OT_PREPROCESS |
Allowed values for Parser::$mOutputType Parameter to Parser::startExternalParse().
Definition at line 206 of file Defines.php.
enum OT_WIKI |
Allowed values for Parser::$mOutputType Parameter to Parser::startExternalParse().
Definition at line 205 of file Defines.php.
enum PROTO_CANONICAL |
Definition at line 250 of file Defines.php.
enum PROTO_CURRENT |
Definition at line 249 of file Defines.php.
enum PROTO_HTTP |
Protocol constants for wfExpandUrl()
Definition at line 246 of file Defines.php.
enum PROTO_HTTPS |
Definition at line 247 of file Defines.php.
enum PROTO_INTERNAL |
Definition at line 251 of file Defines.php.
enum PROTO_RELATIVE |
Definition at line 248 of file Defines.php.
enum RC_EDIT |
RecentChange type identifiers
Definition at line 153 of file Defines.php.
enum RC_LOG |
RecentChange type identifiers
Definition at line 156 of file Defines.php.
enum RC_MOVE |
RecentChange type identifiers
Definition at line 155 of file Defines.php.
RecentChange type identifiers
Definition at line 157 of file Defines.php.
enum RC_NEW |
RecentChange type identifiers
Definition at line 154 of file Defines.php.
enum RLH_FOR_UPDATE |
Flags for Parser::replaceLinkHolders.
Definition at line 226 of file Defines.php.
enum SFH_NO_HASH |
Flags for Parser::setFunctionHook
Definition at line 214 of file Defines.php.
enum SFH_OBJECT_ARGS |
Flags for Parser::setFunctionHook
Definition at line 215 of file Defines.php.
enum SLH_PATTERN |
Flags for Parser::setLinkHook.
Definition at line 221 of file Defines.php.