[ 'table' => 'revision_comment_temp', 'pk' => 'revcomment_rev', 'field' => 'revcomment_comment_id', 'joinPK' => 'rev_id', 'stage' => MIGRATION_OLD, 'deprecatedIn' => null, ], ]; /** * @param Language $lang Language to use for comment truncation. Defaults * to content language. * @param int $stage One of the MIGRATION_* constants, or an appropriate * combination of SCHEMA_COMPAT_* constants. Always MIGRATION_NEW for * MediaWiki core since 1.33. * @param array $tempTableStageOverrides */ public function __construct( Language $lang, $stage, $tempTableStageOverrides ) { parent::__construct( self::TEMP_TABLES, $lang, $stage ); foreach ( $tempTableStageOverrides as $key => $stageOverride ) { $this->tempTables[$key]['stage'] = $stageOverride; } } /** * @since 1.31 * @deprecated in 1.31 Use DI to inject a CommentStore instance into your class. Hard-deprecated since 1.40. * @return CommentStore */ public static function getStore() { wfDeprecated( __METHOD__, '1.31' ); return MediaWikiServices::getInstance()->getCommentStore(); } } class_alias( CommentStore::class, 'CommentStore' );