MediaWiki master
defines.php File Reference

Go to the source code of this file.

Variables

const DBO_COMPRESS IDatabase::DBO_COMPRESS
 
const DBO_DDLMODE IDatabase::DBO_DDLMODE
 
const DBO_DEBUG IDatabase::DBO_DEBUG
 
const DBO_DEFAULT IDatabase::DBO_DEFAULT
 
const DBO_IGNORE IDatabase::DBO_IGNORE
 
const DBO_NOBUFFER IDatabase::DBO_NOBUFFER
 
const DBO_PERSISTENT IDatabase::DBO_PERSISTENT
 
const DBO_SSL IDatabase::DBO_SSL
 
const DBO_SYSDBA IDatabase::DBO_SYSDBA
 
const DBO_TRX IDatabase::DBO_TRX
 
const DB_PRIMARY ILoadBalancer::DB_PRIMARY
 
const DB_REPLICA ILoadBalancer::DB_REPLICA
 

Variable Documentation

◆ DB_PRIMARY

const DB_PRIMARY ILoadBalancer::DB_PRIMARY
Since
1.36

Definition at line 28 of file defines.php.

Referenced by MigrateBlocks\doDBUpdates(), MigrateExternallinks\doDBUpdates(), MigrateLinksTable\doDBUpdates(), MigrateRevisionActorTemp\doDBUpdates(), MigrateRevisionCommentTemp\doDBUpdates(), PopulateChangeTagDef\doDBUpdates(), MediaWiki\Deferred\UserEditCountUpdate\doUpdate(), BenchmarkTruncate\execute(), PatchSql\execute(), MwSql\execute(), SqliteMaintenance\execute(), OrphanStats\execute(), UpdateRestrictions\execute(), MediaWiki\Installer\NetworkedDatabaseCreator\existsInLoadBalancer(), UploadStash\fetchFileMetadata(), RefreshLinks\fixRedirect(), Wikimedia\Rdbms\LoadBalancer\getAnyOpenConnection(), FileBackendDBRepoWrapper\getBackendPaths(), MediaWiki\User\TempUser\LocalSerialProvider\getDB(), ForeignDBViaLBRepo\getDBFactory(), LocalRepo\getDBFactory(), Wikimedia\Rdbms\DBAccessObjectUtils\getDBOptions(), UploadStash\getFile(), MediaWiki\Storage\NameTableStore\getName(), ExternalStoreDB\getPrimary(), ForeignDBRepo\getPrimaryDB(), JobQueueDB\getPrimaryDB(), MediaWiki\Revision\RevisionStore\getRecentChange(), MediaWiki\Revision\RevisionRenderer\getRenderedRevision(), Wikimedia\Rdbms\ConnectionManager\getWriteConnection(), MediaWiki\SiteStats\SiteStats\loadAndLazyInit(), WikiPage\loadPageData(), MediaWiki\User\UserFactory\newFromConfirmationCode(), MediaWiki\Storage\NameTableStore\reloadMap(), CategoryMembershipChangeJob\run(), MediaWiki\Watchlist\ClearUserWatchlistJob\run(), and MediaWiki\Storage\SqlBlobStore\storeBlob().

◆ DB_REPLICA

◆ DBO_COMPRESS

const DBO_COMPRESS IDatabase::DBO_COMPRESS

Database related constants

Definition at line 19 of file defines.php.

◆ DBO_DDLMODE

const DBO_DDLMODE IDatabase::DBO_DDLMODE

◆ DBO_DEBUG

const DBO_DEBUG IDatabase::DBO_DEBUG

Database related constants

Definition at line 9 of file defines.php.

Referenced by Wikimedia\Rdbms\DatabaseFactory\create(), MWEval\execute(), MediaWikiShell\setupLegacy(), and MediaWikiShell\setupLogging().

◆ DBO_DEFAULT

const DBO_DEFAULT IDatabase::DBO_DEFAULT

Database related constants

Definition at line 13 of file defines.php.

Referenced by Wikimedia\Rdbms\LoadBalancer\reallyOpenConnection().

◆ DBO_IGNORE

const DBO_IGNORE IDatabase::DBO_IGNORE

Database related constants

Definition at line 11 of file defines.php.

◆ DBO_NOBUFFER

const DBO_NOBUFFER IDatabase::DBO_NOBUFFER

Database related constants

Definition at line 10 of file defines.php.

◆ DBO_PERSISTENT

const DBO_PERSISTENT IDatabase::DBO_PERSISTENT

Database related constants

Definition at line 14 of file defines.php.

◆ DBO_SSL

const DBO_SSL IDatabase::DBO_SSL
Deprecated
since 1.39, use the "ssl" parameter

Definition at line 18 of file defines.php.

◆ DBO_SYSDBA

const DBO_SYSDBA IDatabase::DBO_SYSDBA

Database related constants

Definition at line 15 of file defines.php.

◆ DBO_TRX

const DBO_TRX IDatabase::DBO_TRX

Database related constants

Definition at line 12 of file defines.php.

Referenced by MediaWiki\Deferred\AutoCommitUpdate\doUpdate().