MediaWiki  REL1_22
MediaWiki constants

Enumerations

enum  ALF_NO_BLOCK_LOCK
enum  ALF_NO_LINK_LOCK
enum  ALF_PRELOAD_EXISTENCE
enum  ALF_PRELOAD_LINKS
enum  APCOND_AGE
enum  APCOND_AGE_FROM_EDIT
enum  APCOND_BLOCKED
enum  APCOND_EDITCOUNT
enum  APCOND_EMAILCONFIRMED
enum  APCOND_INGROUPS
enum  APCOND_IPINRANGE
enum  APCOND_ISBOT
enum  APCOND_ISIP
enum  AV_NO_VIRUS
enum  AV_SCAN_ABORTED
enum  AV_SCAN_FAILED
enum  AV_VIRUS_FOUND
enum  CACHE_ACCEL
enum  CACHE_ANYTHING
enum  CACHE_DB
enum  CACHE_DBA
enum  CACHE_MEMCACHED
enum  CACHE_NONE
enum  CONTENT_FORMAT_CSS
enum  CONTENT_FORMAT_HTML
enum  CONTENT_FORMAT_JAVASCRIPT
enum  CONTENT_FORMAT_JSON
enum  CONTENT_FORMAT_SERIALIZED
enum  CONTENT_FORMAT_TEXT
enum  CONTENT_FORMAT_WIKITEXT
enum  CONTENT_FORMAT_XML
enum  CONTENT_MODEL_CSS
enum  CONTENT_MODEL_JAVASCRIPT
enum  CONTENT_MODEL_TEXT
enum  CONTENT_MODEL_WIKITEXT
enum  DB_MASTER
enum  DB_SLAVE
enum  DBO_COMPRESS
enum  DBO_DDLMODE
enum  DBO_DEBUG
enum  DBO_DEFAULT
enum  DBO_IGNORE
enum  DBO_NOBUFFER
enum  DBO_PERSISTENT
enum  DBO_SSL
enum  DBO_SYSDBA
enum  DBO_TRX
enum  EDIT_AUTOSUMMARY
enum  EDIT_DEFER_UPDATES
enum  EDIT_FORCE_BOT
enum  EDIT_MINOR
enum  EDIT_NEW
enum  EDIT_SUPPRESS_RC
enum  EDIT_TOKEN_SUFFIX
 String Some punctuation to prevent editing from broken text-mangling proxies. More...
enum  EDIT_UPDATE
enum  LIST_AND
enum  LIST_COMMA
enum  LIST_NAMES
enum  LIST_OR
enum  LIST_SET
enum  MEDIATYPE_ARCHIVE
enum  MEDIATYPE_AUDIO
enum  MEDIATYPE_BITMAP
enum  MEDIATYPE_DRAWING
enum  MEDIATYPE_EXECUTABLE
enum  MEDIATYPE_MULTIMEDIA
enum  MEDIATYPE_OFFICE
enum  MEDIATYPE_TEXT
enum  MEDIATYPE_UNKNOWN
enum  MEDIATYPE_VIDEO
enum  MW_DATE_DEFAULT
enum  MW_DATE_DMY
enum  MW_DATE_ISO
enum  MW_DATE_MDY
enum  MW_DATE_YMD
enum  MW_SUPPORTS_CONTENTHANDLER
enum  MW_SUPPORTS_EDITFILTERMERGED
 Unicode and normalisation related. More...
enum  MW_SUPPORTS_LOCALISATIONCACHE
enum  MW_SUPPORTS_PARSERFIRSTCALLINIT
enum  MW_USER_VERSION
 Int Serialized record version. More...
enum  NS_CATEGORY
enum  NS_CATEGORY_TALK
enum  NS_FILE
enum  NS_FILE_TALK
enum  NS_HELP
enum  NS_HELP_TALK
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. More...
enum  NS_IMAGE_TALK
enum  NS_MAIN
enum  NS_MEDIA
enum  NS_MEDIAWIKI
enum  NS_MEDIAWIKI_TALK
enum  NS_PROJECT
enum  NS_PROJECT_TALK
enum  NS_SPECIAL
enum  NS_TALK
enum  NS_TEMPLATE
enum  NS_TEMPLATE_TALK
enum  NS_USER
enum  NS_USER_TALK
enum  OT_HTML
enum  OT_MSG
enum  OT_PLAIN
enum  OT_PREPROCESS
enum  OT_WIKI
enum  PROTO_CANONICAL
enum  PROTO_CURRENT
enum  PROTO_HTTP
enum  PROTO_HTTPS
enum  PROTO_INTERNAL
enum  PROTO_RELATIVE
enum  RC_EDIT
enum  RC_EXTERNAL
enum  RC_LOG
enum  RC_MOVE
enum  RC_MOVE_OVER_REDIRECT
enum  RC_NEW
enum  SFH_NO_HASH
enum  SFH_OBJECT_ARGS
enum  USER_TOKEN_LENGTH
 Int Number of characters in user_token field. More...

Enumeration Type Documentation

Definition at line 151 of file Defines.php.

Definition at line 150 of file Defines.php.

Definition at line 149 of file Defines.php.

Anti-lock flags See DefaultSettings.php for a description

Definition at line 148 of file Defines.php.

enum APCOND_AGE

Definition at line 249 of file Defines.php.

Definition at line 254 of file Defines.php.

Definition at line 255 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 248 of file Defines.php.

Definition at line 250 of file Defines.php.

Definition at line 251 of file Defines.php.

Definition at line 253 of file Defines.php.

Definition at line 256 of file Defines.php.

Definition at line 252 of file Defines.php.

Antivirus result codes, for use in $wgAntivirusSetup.

Definition at line 138 of file Defines.php.

Definition at line 140 of file Defines.php.

Definition at line 141 of file Defines.php.

Definition at line 139 of file Defines.php.

Definition at line 115 of file Defines.php.

Cache type

Definition at line 111 of file Defines.php.

enum CACHE_DB

Definition at line 113 of file Defines.php.

enum CACHE_DBA

Definition at line 116 of file Defines.php.

Definition at line 114 of file Defines.php.

enum CACHE_NONE

Definition at line 112 of file Defines.php.

Definition at line 293 of file Defines.php.

Definition at line 295 of file Defines.php.

Definition at line 292 of file Defines.php.

Definition at line 297 of file Defines.php.

Definition at line 296 of file Defines.php.

Definition at line 294 of file Defines.php.

Content formats, used by Content and ContentHandler. These should be MIME types, and will be exposed in the API and XML dumps.

Extensions are free to use the below formats, or define their own. It is recommended to stick with the conventions for MIME types.

Definition at line 291 of file Defines.php.

Definition at line 298 of file Defines.php.

Definition at line 280 of file Defines.php.

Definition at line 279 of file Defines.php.

Definition at line 281 of file Defines.php.

Content model ids, used by Content and ContentHandler. These IDs will be exposed in the API and XML dumps.

Extensions that define their own content model IDs should take care to avoid conflicts. Using the extension name as a prefix is recommended, for example 'myextension-somecontent'.

Definition at line 278 of file Defines.php.

enum DB_MASTER

Definition at line 56 of file Defines.php.

enum DB_SLAVE

Valid database indexes Operation-based indexes

Definition at line 55 of file Defines.php.

Definition at line 48 of file Defines.php.

Definition at line 46 of file Defines.php.

enum DBO_DEBUG

Database related constants

Definition at line 39 of file Defines.php.

Definition at line 43 of file Defines.php.

enum DBO_IGNORE

Definition at line 41 of file Defines.php.

Definition at line 40 of file Defines.php.

Definition at line 44 of file Defines.php.

enum DBO_SSL

Definition at line 47 of file Defines.php.

enum DBO_SYSDBA

Definition at line 45 of file Defines.php.

enum DBO_TRX

Definition at line 42 of file Defines.php.

Definition at line 190 of file Defines.php.

Definition at line 189 of file Defines.php.

Definition at line 188 of file Defines.php.

enum EDIT_MINOR

Definition at line 186 of file Defines.php.

enum EDIT_NEW

Article edit flags

Definition at line 184 of file Defines.php.

Definition at line 187 of file Defines.php.

String Some punctuation to prevent editing from broken text-mangling proxies.

Definition at line 39 of file User.php.

Definition at line 185 of file Defines.php.

enum LIST_AND

Definition at line 198 of file Defines.php.

enum LIST_COMMA

Flags for Database::makeList() These are also available as Database class constants

Definition at line 197 of file Defines.php.

enum LIST_NAMES

Definition at line 200 of file Defines.php.

enum LIST_OR

Definition at line 201 of file Defines.php.

enum LIST_SET

Definition at line 199 of file Defines.php.

Definition at line 132 of file Defines.php.

Definition at line 126 of file Defines.php.

Definition at line 124 of file Defines.php.

Definition at line 125 of file Defines.php.

Definition at line 131 of file Defines.php.

Definition at line 128 of file Defines.php.

Definition at line 129 of file Defines.php.

Definition at line 130 of file Defines.php.

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 123 of file Defines.php.

Definition at line 127 of file Defines.php.

Date format selectors; used in user preference storage and by Language::date() and co.

Definition at line 163 of file Defines.php.

Definition at line 165 of file Defines.php.

Definition at line 167 of file Defines.php.

Definition at line 164 of file Defines.php.

Definition at line 166 of file Defines.php.

Definition at line 215 of file Defines.php.

Unicode and normalisation related.

Hook support constants

Definition at line 212 of file Defines.php.

Definition at line 214 of file Defines.php.

Definition at line 213 of file Defines.php.

Int Serialized record version.

Definition at line 33 of file User.php.

Definition at line 93 of file Defines.php.

Definition at line 94 of file Defines.php.

enum NS_FILE

Definition at line 85 of file Defines.php.

Definition at line 86 of file Defines.php.

enum NS_HELP

Definition at line 91 of file Defines.php.

Definition at line 92 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 104 of file Defines.php.

Definition at line 105 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 79 of file Defines.php.

enum NS_MEDIA

Virtual namespaces; don't appear in the page database

Definition at line 67 of file Defines.php.

Definition at line 87 of file Defines.php.

Definition at line 88 of file Defines.php.

enum NS_PROJECT

Definition at line 83 of file Defines.php.

Definition at line 84 of file Defines.php.

enum NS_SPECIAL

Definition at line 68 of file Defines.php.

enum NS_TALK

Definition at line 80 of file Defines.php.

Definition at line 89 of file Defines.php.

Definition at line 90 of file Defines.php.

enum NS_USER

Definition at line 81 of file Defines.php.

Definition at line 82 of file Defines.php.

enum OT_HTML

Allowed values for Parser::$mOutputType Parameter to Parser::startExternalParse().

Definition at line 225 of file Defines.php.

enum OT_MSG

Definition at line 228 of file Defines.php.

enum OT_PLAIN

Definition at line 229 of file Defines.php.

Definition at line 227 of file Defines.php.

enum OT_WIKI

Definition at line 226 of file Defines.php.

Definition at line 266 of file Defines.php.

Definition at line 265 of file Defines.php.

enum PROTO_HTTP

Protocol constants for wfExpandUrl()

Definition at line 262 of file Defines.php.

Definition at line 263 of file Defines.php.

Definition at line 267 of file Defines.php.

Definition at line 264 of file Defines.php.

enum RC_EDIT

RecentChange type identifiers

Definition at line 173 of file Defines.php.

Definition at line 178 of file Defines.php.

enum RC_LOG

Definition at line 176 of file Defines.php.

enum RC_MOVE

Definition at line 175 of file Defines.php.

Definition at line 177 of file Defines.php.

enum RC_NEW

Definition at line 174 of file Defines.php.

Flags for Parser::setFunctionHook

Definition at line 235 of file Defines.php.

Definition at line 236 of file Defines.php.

Int Number of characters in user_token field.

Definition at line 27 of file User.php.