MediaWiki  REL1_22
Defines.php File Reference

A few constants that might be needed during LocalSettings.php. More...

Go to the source code of this file.

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_LAST
enum  DB_MASTER
enum  DB_READ
enum  DB_SLAVE
enum  DB_WRITE
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_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_SPECIALPAGE_VERSION
 Version constants for the benefit of extensions. More...
enum  MW_SUPPORTS_CONTENTHANDLER
enum  MW_SUPPORTS_EDITFILTERMERGED
 Unicode and normalisation related. More...
enum  MW_SUPPORTS_LOCALISATIONCACHE
enum  MW_SUPPORTS_PARSERFIRSTCALLINIT
enum  MW_SUPPORTS_RESOURCE_MODULES
 Support for $wgResourceModules. 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  RLH_FOR_UPDATE
 Flags for Parser::replaceLinkHolders. More...
enum  SFH_NO_HASH
enum  SFH_OBJECT_ARGS

Detailed Description

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.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition in file Defines.php.


Enumeration Type Documentation

enum DB_LAST

Definition at line 62 of file Defines.php.

enum DB_READ

Definition at line 60 of file Defines.php.

enum DB_WRITE

Definition at line 61 of file Defines.php.

Version constants for the benefit of extensions.

Definition at line 34 of file Defines.php.

Support for $wgResourceModules.

Definition at line 219 of file Defines.php.

Flags for Parser::replaceLinkHolders.

Definition at line 242 of file Defines.php.