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_MASTER ILoadBalancer::DB_PRIMARY
 
const DB_PRIMARY ILoadBalancer::DB_PRIMARY
 
const DB_REPLICA ILoadBalancer::DB_REPLICA
 

Variable Documentation

◆ DB_MASTER

const DB_MASTER ILoadBalancer::DB_PRIMARY
Deprecated
since 1.36, Use DB_PRIMARY instead

Definition at line 30 of file defines.php.

◆ DB_PRIMARY

const DB_PRIMARY ILoadBalancer::DB_PRIMARY
Since
1.36

Definition at line 28 of file defines.php.

Referenced by MediaWiki\Storage\NameTableStore\acquireId(), MigrateBlocks\doDBUpdates(), MigrateExternallinks\doDBUpdates(), MigrateLinksTable\doDBUpdates(), MigrateRevisionActorTemp\doDBUpdates(), MigrateRevisionCommentTemp\doDBUpdates(), PopulateChangeTagDef\doDBUpdates(), PopulateFilearchiveSha1\doDBUpdates(), PopulateIpChanges\doDBUpdates(), PopulateRecentChangesSource\doDBUpdates(), PopulateRevisionLength\doDBUpdates(), PopulateRevisionSha1\doDBUpdates(), MediaWiki\Deferred\UserEditCountUpdate\doUpdate(), BenchmarkTruncate\execute(), PatchSql\execute(), MwSql\execute(), SqliteMaintenance\execute(), OrphanStats\execute(), UpdateRestrictions\execute(), UploadStash\fetchFileMetadata(), RefreshLinks\fixRedirect(), Wikimedia\Rdbms\LoadBalancer\getAnyOpenConnection(), FileBackendDBRepoWrapper\getBackendPaths(), MediaWiki\User\TempUser\LocalSerialProvider\getDB(), ForeignDBViaLBRepo\getDBFactory(), LocalRepo\getDBFactory(), 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(), MediaWiki\User\UserFactory\newFromConfirmationCode(), MediaWiki\Storage\NameTableStore\reloadMap(), CategoryMembershipChangeJob\run(), ClearUserWatchlistJob\run(), and MediaWiki\Storage\SqlBlobStore\storeBlob().

◆ DB_REPLICA

const DB_REPLICA ILoadBalancer::DB_REPLICA

Valid database indexes Operation-based indexes

Definition at line 26 of file defines.php.

Referenced by MediaWiki\Block\DatabaseBlock\__construct(), BackupDumper\backupDb(), CleanupInvalidDbKeys\cleanupTable(), MediaWiki\Revision\RevisionStore\countRevisionsBetween(), PopulateIpChanges\doDBUpdates(), MediaWiki\Deferred\UserEditCountUpdate\doUpdate(), RecountCategories\doWork(), CategoryChangesAsRdf\execute(), CleanupPreferences\execute(), CleanupSpam\execute(), DumpCategoriesAsRdf\execute(), RefreshLinks\execute(), MwSql\execute(), OrphanStats\execute(), UpdateArticleCount\execute(), MediaWiki\Revision\RevisionStore\getAuthorsBetween(), FileBackendDBRepoWrapper\getBackendPaths(), WikiPage\getCategories(), DBAccessObjectUtils\getDBOptions(), MediaWiki\Revision\RevisionStore\getKnownCurrentRevision(), MediaWiki\Storage\NameTableStore\getName(), Wikimedia\Rdbms\ConnectionManager\getReadConnection(), MediaWiki\Revision\RevisionStore\getRecentChange(), MediaWiki\Revision\RevisionRenderer\getRenderedRevision(), ExternalStoreDB\getReplica(), JobQueueDB\getReplicaDB(), MediaWiki\Revision\RevisionStore\getRevisionSizes(), BackupDumper\initProgress(), MediaWiki\SiteStats\SiteStats\loadAndLazyInit(), WikiPage\loadPageData(), RecentChange\newFromConds(), MediaWiki\User\UserFactory\newFromConfirmationCode(), MediaWiki\SiteStats\SiteStats\numberingroup(), MediaWiki\SiteStats\SiteStats\pagesInNs(), TextPassDumper\rotateDb(), CategoryMembershipChangeJob\run(), and ClearUserWatchlistJob\run().

◆ DBO_COMPRESS

const DBO_COMPRESS IDatabase::DBO_COMPRESS

Database related constants

Definition at line 19 of file defines.php.

Referenced by MWLBFactory\applyDefaultConfig().

◆ DBO_DDLMODE

const DBO_DDLMODE IDatabase::DBO_DDLMODE

Database related constants

Definition at line 16 of file defines.php.

Referenced by MediaWiki\Installer\DatabaseUpdater\__construct(), and MediaWiki\Installer\DatabaseUpdater\insertUpdateRow().

◆ 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