Repository navigation
Conversation
There was a problem hiding this comment.
Pull request overview
Migrates language handling from bitmasks to relational translation tables, removing the language-count ceiling across persistence, search, URL aliases, and upgrades.
Changes:
- Adds relational translation storage and sequential language IDs.
- Reworks persistence and Legacy Search language resolution.
- Adds upgrade migrations, verification commands, and coverage.
Reviewed changes
Copilot reviewed 119 out of 119 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
composer.json |
Updates migration dependency constraint. |
src/bundle/Core/Command/BackfillLanguageTranslationsCommand.php |
Adds manual backfill command. |
src/bundle/Core/Command/VerifyLanguageTranslationsCommand.php |
Adds translation verification command. |
src/bundle/Core/Resources/config/doctrine_migrations.yml |
Registers migrations. |
src/bundle/Core/Resources/config/services.yml |
Registers commands. |
src/bundle/Core/Resources/config/storage/legacy/schema.yaml |
Defines relational schema. |
src/bundle/RepositoryInstaller/Installer/CoreInstaller.php |
Updates exception documentation. |
src/bundle/RepositoryInstaller/Migration/AddContentAlwaysAvailableColumnsMigration.php |
Migrates content availability flags. |
src/bundle/RepositoryInstaller/Migration/AddLanguageTranslationTablesMigration.php |
Creates translation tables. |
src/bundle/RepositoryInstaller/Migration/AddSearchObjectWordLinkLanguageIdColumnsMigration.php |
Migrates search language fields. |
src/bundle/RepositoryInstaller/Migration/AddUrlAliasAlwaysAvailableColumnMigration.php |
Migrates alias availability. |
src/bundle/RepositoryInstaller/Migration/BackfillLanguageTranslationsMigration.php |
Backfills translation rows. |
src/bundle/RepositoryInstaller/Migration/DropLanguageBitmaskColumnsMigration.php |
Removes legacy masks. |
src/bundle/RepositoryInstaller/Migration/sql/add-content-always-available-columns-mysql.sql |
MySQL content migration SQL. |
src/bundle/RepositoryInstaller/Migration/sql/add-content-always-available-columns-postgresql.sql |
PostgreSQL content migration SQL. |
src/bundle/RepositoryInstaller/Migration/sql/add-content-always-available-columns-sqlite.sql |
SQLite content migration SQL. |
src/bundle/RepositoryInstaller/Migration/sql/add-language-translation-tables-mysql.sql |
MySQL translation schema. |
src/bundle/RepositoryInstaller/Migration/sql/add-language-translation-tables-postgresql.sql |
PostgreSQL translation schema. |
src/bundle/RepositoryInstaller/Migration/sql/add-language-translation-tables-sqlite.sql |
SQLite translation schema. |
src/bundle/RepositoryInstaller/Migration/sql/add-search-object-word-link-language-id-columns-mysql.sql |
MySQL search migration. |
src/bundle/RepositoryInstaller/Migration/sql/add-search-object-word-link-language-id-columns-postgresql.sql |
PostgreSQL search migration. |
src/bundle/RepositoryInstaller/Migration/sql/add-search-object-word-link-language-id-columns-sqlite.sql |
SQLite search migration. |
src/bundle/RepositoryInstaller/Migration/sql/add-url-alias-always-available-column-mysql.sql |
MySQL alias migration. |
src/bundle/RepositoryInstaller/Migration/sql/add-url-alias-always-available-column-postgresql.sql |
PostgreSQL alias migration. |
src/bundle/RepositoryInstaller/Migration/sql/add-url-alias-always-available-column-sqlite.sql |
SQLite alias migration. |
src/bundle/RepositoryInstaller/Migration/sql/drop-language-bitmask-columns-mysql.sql |
Drops MySQL masks. |
src/bundle/RepositoryInstaller/Migration/sql/drop-language-bitmask-columns-postgresql.sql |
Drops PostgreSQL masks. |
src/bundle/RepositoryInstaller/Migration/sql/drop-language-bitmask-columns-sqlite.sql |
Drops SQLite masks. |
src/contracts/Test/Repository/SetupFactory/Legacy.php |
Bypasses schema filtering for fixtures. |
src/lib/Persistence/Legacy/Content/Gateway/DoctrineDatabase.php |
Persists relational translations. |
src/lib/Persistence/Legacy/Content/Gateway/DoctrineDatabase/QueryBuilder.php |
Selects availability booleans. |
src/lib/Persistence/Legacy/Content/Language/Gateway.php |
Adds translation-loading APIs. |
src/lib/Persistence/Legacy/Content/Language/Gateway/DoctrineDatabase.php |
Allocates sequential IDs and loads translations. |
src/lib/Persistence/Legacy/Content/Language/Gateway/ExceptionConversion.php |
Wraps new gateway APIs. |
src/lib/Persistence/Legacy/Content/Language/MaskGenerator.php |
Removes bitmask generator. |
src/lib/Persistence/Legacy/Content/Location/Gateway/DoctrineDatabase.php |
Filters locations relationally. |
src/lib/Persistence/Legacy/Content/Mapper.php |
Maps relational version languages. |
src/lib/Persistence/Legacy/Content/ObjectState/Gateway/DoctrineDatabase.php |
Removes object-state masks. |
src/lib/Persistence/Legacy/Content/ObjectState/Mapper.php |
Resolves clean language IDs. |
src/lib/Persistence/Legacy/Content/Type/Gateway.php |
Adds type-translation API. |
src/lib/Persistence/Legacy/Content/Type/Gateway/DoctrineDatabase.php |
Replaces content-type masks. |
src/lib/Persistence/Legacy/Content/Type/Gateway/ExceptionConversion.php |
Wraps type translation loading. |
src/lib/Persistence/Legacy/Content/Type/Mapper.php |
Maps relational type languages. |
src/lib/Persistence/Legacy/Content/UrlAlias/Gateway.php |
Defines relational alias API. |
src/lib/Persistence/Legacy/Content/UrlAlias/Gateway/DoctrineDatabase.php |
Persists alias translations. |
src/lib/Persistence/Legacy/Content/UrlAlias/Gateway/ExceptionConversion.php |
Wraps alias translation APIs. |
src/lib/Persistence/Legacy/Content/UrlAlias/Handler.php |
Uses alias language arrays. |
src/lib/Persistence/Legacy/Content/UrlAlias/Mapper.php |
Maps alias translation rows. |
src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Content/LanguageCodeQueryBuilder.php |
Filters through version translations. |
src/lib/Persistence/Legacy/Filter/Gateway/Content/Doctrine/DoctrineGateway.php |
Fetches relational language data. |
src/lib/Persistence/Legacy/Filter/Gateway/Content/Mapper/DoctrineGatewayDataMapper.php |
Maps relational version languages. |
src/lib/Persistence/Legacy/Filter/Gateway/Location/Doctrine/DoctrineGateway.php |
Selects availability flags. |
src/lib/Persistence/Legacy/SharedGateway/DatabasePlatform/AbstractGateway.php |
Removes mask subquery. |
src/lib/Persistence/Legacy/SharedGateway/DatabasePlatform/PostgresqlGateway.php |
Removes PostgreSQL mask logic. |
src/lib/Persistence/Legacy/SharedGateway/Gateway.php |
Removes obsolete API. |
src/lib/Resources/settings/search_engines/legacy.yml |
Injects language gateway. |
src/lib/Resources/settings/search_engines/legacy/criterion_handlers_common.yml |
Configures relational criterion handlers. |
src/lib/Resources/settings/search_engines/legacy/indexer.yml |
Injects language handler. |
src/lib/Resources/settings/search_engines/legacy/sort_clause_handlers_common.yml |
Configures priority builder. |
src/lib/Resources/settings/storage_engines/legacy/content.yml |
Updates content dependencies. |
src/lib/Resources/settings/storage_engines/legacy/content_type.yml |
Updates content-type dependencies. |
src/lib/Resources/settings/storage_engines/legacy/filter.yaml |
Injects language gateway. |
src/lib/Resources/settings/storage_engines/legacy/language.yml |
Removes mask service. |
src/lib/Resources/settings/storage_engines/legacy/location.yml |
Injects language handler. |
src/lib/Resources/settings/storage_engines/legacy/object_state.yml |
Injects language handler. |
src/lib/Resources/settings/storage_engines/legacy/url_alias.yml |
Updates alias dependencies. |
src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/Field.php |
Uses priority builder. |
src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldBase.php |
Replaces mask priority logic. |
src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldEmpty.php |
Injects priority builder. |
src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FullText.php |
Filters full text by language ID. |
src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/LanguageCode.php |
Uses translation-table criteria. |
src/lib/Search/Legacy/Content/Common/Gateway/LanguagePriorityConditionBuilder.php |
Implements relational language priority. |
src/lib/Search/Legacy/Content/Common/Gateway/SortClauseHandler/Field.php |
Uses relational sort priority. |
src/lib/Search/Legacy/Content/Gateway/DoctrineDatabase.php |
Replaces content mask filtering. |
src/lib/Search/Legacy/Content/Handler.php |
Resolves matched translations relationally. |
src/lib/Search/Legacy/Content/Location/Gateway/DoctrineDatabase.php |
Replaces location mask filtering. |
src/lib/Search/Legacy/Content/WordIndexer/Gateway/DoctrineDatabase.php |
Indexes language IDs and availability. |
src/lib/Search/Legacy/Content/WordIndexer/Repository/SearchIndex.php |
Stores new search language columns. |
tests/bundle/Core/Command/BackfillLanguageTranslationsCommandTest.php |
Tests backfill and verification commands. |
tests/bundle/Core/Resources/services/fixture-services.yaml |
Updates fixture importer service. |
tests/bundle/RepositoryInstaller/DependencyInjection/Compiler/InstallerTagPassTest.php |
Removes obsolete compiler-pass test. |
tests/integration/Core/BinaryBase/BinaryBaseStorage/BinaryBaseStorageGatewayTest.php |
Updates fixture importer. |
tests/integration/Core/Repository/ContentService/MaxLanguagesContentServiceTest.php |
Tests content beyond old limit. |
tests/integration/Core/Repository/LanguageServiceMaximumSupportedLanguagesTest.php |
Tests sequential language capacity. |
tests/integration/Core/Repository/URLAliasServiceTest.php |
Removes alias mask fixtures. |
tests/integration/Core/User/UserStorage/UserStorageGatewayTestCase.php |
Updates fixture importer. |
tests/lib/Persistence/Legacy/Content/Language/Gateway/DoctrineDatabaseTest.php |
Updates sequential-ID expectation. |
tests/lib/Persistence/Legacy/Content/Language/MaskGeneratorTest.php |
Removes obsolete mask tests. |
tests/lib/Persistence/Legacy/Content/LanguageAwareTestCase.php |
Removes mask test helper. |
tests/lib/Persistence/Legacy/Content/Location/Gateway/DoctrineDatabaseTest.php |
Tests translation filtering. |
tests/lib/Persistence/Legacy/Content/Location/Gateway/DoctrineDatabaseTrashTest.php |
Updates gateway dependency. |
tests/lib/Persistence/Legacy/Content/MapperTest.php |
Tests relational content mapping. |
tests/lib/Persistence/Legacy/Content/ObjectState/Gateway/DoctrineDatabaseTest.php |
Updates object-state expectations. |
tests/lib/Persistence/Legacy/Content/Type/Gateway/DoctrineDatabaseTest.php |
Updates type language expectations. |
tests/lib/Persistence/Legacy/Content/Type/MapperTest.php |
Updates mapper dependencies. |
tests/lib/Persistence/Legacy/Content/Type/_fixtures/map_load_type.php |
Removes type mask fixtures. |
tests/lib/Persistence/Legacy/Content/UrlAlias/UrlAliasHandlerTest.php |
Updates alias handler setup. |
tests/lib/Persistence/Legacy/Content/UrlAlias/UrlAliasMapperTest.php |
Tests relational alias mapping. |
tests/lib/Persistence/Legacy/Content/_fixtures/extract_content_from_rows_result.php |
Adds relational translation expectations. |
tests/lib/Persistence/Legacy/Content/_fixtures/extract_version_info_from_rows_multiple_versions.php |
Replaces masks with booleans. |
tests/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Content/LanguageCodeQueryBuilderQueryBuilderTest.php |
Updates language SQL expectations. |
tests/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/LogicalOperatorQueryBuilderQueryBuilderTest.php |
Updates availability SQL expectations. |
tests/lib/Persistence/Legacy/TestCase.php |
Updates fixture importer. |
tests/lib/Search/Legacy/Content/AbstractTestCase.php |
Updates search dependencies. |
tests/lib/Search/Legacy/Content/HandlerContentSortTest.php |
Updates content-sort setup. |
tests/lib/Search/Legacy/Content/HandlerContentTest.php |
Updates content-search setup. |
tests/lib/Search/Legacy/Content/HandlerLocationSortTest.php |
Updates location-sort setup. |
tests/lib/Search/Legacy/Content/HandlerLocationTest.php |
Updates location-search setup. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| private function existsWithColumnValue(int $languageId, string $tableName, string $columnName): bool | ||
| { | ||
| $candidateIds = $languageId % 2 === 0 ? [$languageId, $languageId + 1] : [$languageId]; |
| $missingCount = (int)$this->connection->fetchOne( | ||
| "SELECT COUNT(*) FROM {$maskTable} m | ||
| WHERE m.{$maskColumn} > 1 | ||
| AND NOT EXISTS (SELECT 1 FROM {$translationTable} t WHERE {$joinCondition})" | ||
| ); |
| if ($schemaManager->introspectTable(self::CONTENT_TABLE)->hasColumn(self::ALWAYS_AVAILABLE_COLUMN)) { | ||
| return; |
| if ($schemaManager->tablesExist([self::CONTENT_TRANSLATION_TABLE])) { | ||
| return; |
| if ($schemaManager->introspectTable(self::TABLE)->hasColumn(self::LANGUAGE_ID_COLUMN)) { | ||
| return; |
| if ($schemaManager->introspectTable(self::TABLE)->hasColumn(self::ALWAYS_AVAILABLE_COLUMN)) { | ||
| return; |
| if (!$schemaManager->introspectTable(self::CONTENT_TABLE)->hasColumn(self::LANGUAGE_MASK_COLUMN)) { | ||
| // Already dropped (or a fresh install whose schema.yaml never had it). | ||
| return; |
| $languageIds = $this->languageGateway->loadVersionTranslations([$versionInfo->id])[$versionInfo->id] ?? []; | ||
| $versionInfo->languageCodes = array_map( | ||
| fn (int $languageId): string => $this->languageHandler->load($languageId)->languageCode, | ||
| $languageIds |
| private function buildDryRunCountSql(string $table): string | ||
| { | ||
| return match ($table) { | ||
| self::TABLE_CONTENT => 'SELECT COUNT(*) FROM ibexa_content c |
|
1c234cf to
70399bd
Compare
a25e8d5 to
954db50
Compare
c24f4f9 to
9fe8611
Compare
ibexa/core#801 renames ibexa_content_language to ibexa_language, and FixtureImporter skips fixture tables that don't exist, so the languages were silently left out. Its constructor also takes the schema assets filter bypass now, which the service definition didn't pass.
Points CI at the ibexa/core#801 branch, which renames the language table, so this branch can be tested before it merges.
8b44040 to
8a3a2cc
Compare
ibexa/core#801 renames ibexa_content_language to ibexa_language, and FixtureImporter skips fixture tables that don't exist, so the languages were silently left out. Its constructor also takes the schema assets filter bypass now, which the service definition didn't pass.
Points CI at the ibexa/core#801 branch, which renames the language table, so this branch can be tested before it merges.
25b5c03 to
402c3c4
Compare
ibexa/core#801 renames ibexa_content_language to ibexa_language, and FixtureImporter skips fixture tables that don't exist, so the languages were silently left out. Its constructor also takes the schema assets filter bypass now, which the service definition didn't pass.
Points CI at the ibexa/core#801 branch, which renames the language table, so this branch can be tested before it merges.
402c3c4 to
cacdaf6
Compare
ibexa/core#801 renames ibexa_content_language to ibexa_language, and FixtureImporter skips fixture tables that don't exist, so the languages were silently left out. Its constructor also takes the schema assets filter bypass now, which the service definition didn't pass.
Points CI at the ibexa/core#801 branch, which renames the language table, so this branch can be tested before it merges.
| $this->abortIf( | ||
| $maxLanguageId > self::INT_MAX, | ||
| sprintf( | ||
| 'Language id %d doesn\'t fit in an INT. Ids that large come from the bitmask scheme with more than 30 languages, and need renumbering before the language ids can be narrowed.', |
There was a problem hiding this comment.
A site past 30 languages lands here with the masks dropped (05:00), the table renamed and the foreign keys gone (core's at 06:00:01, product-catalog's at 05:30), and the strip (07:00) never runs. "Need renumbering" with what? Can this at least be checked before anything is dropped?
| -- ibexa:sql-statement-separator | ||
| ALTER TABLE ibexa_content MODIFY COLUMN initial_language_id INT NOT NULL DEFAULT 0; | ||
| -- ibexa:sql-statement-separator | ||
| ALTER TABLE ibexa_content_version MODIFY COLUMN initial_language_id INT NOT NULL DEFAULT 0; |
There was a problem hiding this comment.
Each MODIFY is a full table copy on MySQL, here on ibexa_content_version, ibexa_content and the translation tables, right after the drops from #946. What do we gain from INT that is worth it during an upgrade?
| 'ibexa_object_state_group' => ['default_language_id'], | ||
| 'ibexa_object_state_language' => ['language_id'], | ||
| 'ibexa_object_state_group_language' => ['language_id', 'real_language_id'], | ||
| ]; |
There was a problem hiding this comment.
language_id on ibexa_content_field, ibexa_content_name, ibexa_content_type_name and ibexa_search_object_word_link stays BIGINT in schema.yaml. Intended?
| 'SQLite enforces foreign keys on this connection, so dropping the tables this migration rebuilds would delete the rows referencing them. Run it with PRAGMA foreign_keys = OFF.' | ||
| ); | ||
|
|
||
| $this->addSqlFile(__DIR__ . '/sql/narrow-language-id-column-types-sqlite.sql'); |
There was a problem hiding this comment.
SQLite stores both types the same way. Is the rebuild (272 lines of table definitions to keep in sync with schema.yaml, plus the PRAGMA abort) needed, or can SQLite be skipped like in the FK migrations?
| data_text CLOB DEFAULT NULL, | ||
| data_json CLOB DEFAULT NULL, | ||
| PRIMARY KEY(content_type_field_definition_id, status, language_id), | ||
| CONSTRAINT ezcontentclass_attribute_ml_lang_fk FOREIGN KEY (language_id) |
There was a problem hiding this comment.
ez* name here, ibexa_content_type_field_definition_ml_lang_fk in schema.yaml. Leftover?
| $schemaManager = $this->connection->createSchemaManager(); | ||
| if ( | ||
| !$schemaManager->tablesExist([self::LANGUAGE_TABLE]) | ||
| || !$schemaManager->introspectTable(self::LANGUAGE_TABLE)->getColumn('id')->getType() instanceof BigIntType |
There was a problem hiding this comment.
introspectTable() is deprecated in DBAL (4.5 installed), introspectTableByUnquotedName() replaces it. 7 calls in the four new migrations, 20 more in the test.
| $this->runMigration(new DropLanguageBitmaskColumnsMigration($connection, new NullLogger(), new MigrationRunContext())); | ||
| // Renames "ibexa_content_language" to "ibexa_language" and, SQLite having no ALTER COLUMN | ||
| // TYPE, narrows the columns by rebuilding their tables. Dropping and re-creating the foreign | ||
| // keys is MySQL/MariaDB-only and is verified against real databases, not here. |
There was a problem hiding this comment.
Verified where? This class sits in the unit suite, so it runs on SQLite only, and the MySQL / PostgreSQL jobs install fresh. The key drop / narrow / restore, both aborts and the PostgreSQL renames never run in CI.
|
|
||
| // Simulate a database converted without this migration being recorded (e.g. by an upgrade | ||
| // script), followed by a new language before the next "doctrine:migrations:migrate": its id | ||
| // is odd (MAX(id) + 1), yet genuine, so running the migration again must leave its rows alone. |
There was a problem hiding this comment.
This is the already stripped database. When the narrowing aborts and a language gets created before the retry, the strip returns silently with the tainted rows still there (the #946 case). Not covered, or is it?
| abstract class Gateway | ||
| { | ||
| public const CONTENT_LANGUAGE_TABLE = 'ibexa_content_language'; | ||
| public const CONTENT_LANGUAGE_TABLE = 'ibexa_language'; |
ibexa_search_object_word_link gets language_id and is_main_and_always_available columns, filled from its mask. The field criteria and sort clause, the full-text and language code criteria and the language filter of content and location search use the join tables and those columns instead of arithmetic on the masks. The indexer keeps writing the word link mask until the bitmask is removed, and field language ids are compared without their always-available bit until it is stripped.
ibexa_url_alias_ml gets an is_always_available column, and an alias's languages come from ibexa_url_alias_ml_translation instead of lang_mask, in cleandata.sql too. The gateway keeps lang_mask in step with them until the bitmask is removed.
Content types read their languages from ibexa_content_type_name instead of decoding the type's language_mask, and resolve language ids through the language handler instead of MaskGenerator. They keep writing the mask and the always-available bit of their name rows until the bitmask is removed.
Object states resolve language ids through the language handler instead of MaskGenerator. They keep writing the masks and the always-available bit until the bitmask is removed.
Stops writing the masks and drops them, together with MaskGenerator. New languages get the id after the highest one instead of the next power of two, which lifts the limit of 62 languages, and the always-available bit is stripped from the language_id columns, after removing the stale object state translations eZ Publish left behind.
…disagrees with them
…language ids to INT ibexa_content_language holds every language of the system, not only content ones. Its id and the language_id columns pointing at it were BIGINT only to fit the bitmask. MySQL and MariaDB refuse to change either column of a foreign key, so the keys are dropped before the narrowing and re-created after it; SQLite rebuilds the tables. Also adds the end-to-end upgrade test of the whole migration sequence.
|
|
Closing this one. Without the INT narrowing all that was left here was renaming
|




Related PRs:
The stack that replaces the language bitmask, bottom to top. Each part is green and can be merged on its own, in this order:
MaskGeneratoribexa/installer#246 goes first, as the Experience content it provisions has to match each step. ibexa/data-intelligence-layer#63 goes with #946.
This PR lands together with these, whose tables reference the language table or whose test data uses its old name:
Description:
Top of the stack: #941 to #946 replace the language bitmask with join tables and plain language ids, and this one cleans up the language table after them.
ibexa_content_languageholds every language of the system, not only content languages, so it becomesibexa_language, along with its name index and, on PostgreSQL, its primary key. Its id and thelanguage_idcolumns pointing at it were BIGINT only to fit the bitmask, so they're narrowed to INT. MySQL and MariaDB won't change either column of a foreign key, soDropLanguageIdForeignKeysMigrationdrops core's keys beforeNarrowLanguageIdColumnTypesMigrationandRestoreLanguageIdForeignKeysMigrationre-creates them after it; the companion packages do the same for theirs. PostgreSQL changes the types in place. SQLite can't, so the tables are rebuilt there, and the migration refuses to run while SQLite enforces foreign keys, as dropping a table would delete the rows referencing it.The narrowing aborts when a language id doesn't fit an INT, which is the case under the bitmask scheme past 30 languages, and on MySQL and MariaDB when a foreign key it doesn't know about (a project's own) still points at the language table.
LanguageBitmaskUpgradeSequenceTestruns the whole sequence, from #941's migrations to this one's, on a seeded pre-6.0 database.For QA:
The upgrade test runs the full migration sequence and checks the data the masks encoded ends up in the join tables:
By hand: upgrade a 5.0 database with
ibexa:doctrine:migrations:migrate, then create more than 62 languages and check content creation, search and URL aliases with them.Documentation:
For the 6.0 upgrade guide:
ibexa_language(this PR).MaskGeneratorandSharedGateway::getSetNameLanguageMaskSubQuery()(IBX-13142: Removed the language bitmask #946).UrlAlias\Gateway::historizeBeforeSwap()(IBX-13142: Moved URL aliases off the language bitmask #943),Search\Legacy\Content\Handler::extractMatchedLanguage()(IBX-13142: Moved the legacy search engine off the language bitmask #942);Content\Gatewayhas new abstract methods (IBX-13142: Moved content and version languages from the bitmask to join tables #941).