wiki.techinc.nl/includes/installer
Aaron Schulz 4659cbcccc rdbms: fix table prefixing in "FOR UPDATE" clause generation in Postgres
Make SqlPlatform::tableNameWithAlias() include the unqualified table
name as an alias if doing so is not redundant. This assures that the
default alias from JoinGroupBase::addJoin(), equal to the unqualified
table name, will be usable in SQL (regardless of table prefixes).

Clean up use of identifier quotes for sqlite_master tables. The called
methods expect unqualified names and a passthrough exception already
exists for sqlite_* tables.

Use "block_target.bt_user" directly in ApiQueryBlocks and BlockPager,
instead of using addIdentifierQuotes(). The "block_target" alias is
automatically added to the SQL by the rdbms layer when it's not clearly
redundant, so it is always safe to use block_target.bt_user. Also, there
is no reason for aliases to include quote characters. They are supposed
to be simple alphanumerics like column names. This makes it easy for
tableNameWithAlias() to avoid redundant aliases by checking tableName().

Avoid unneeded quotes around pg_catalog.* table names in the Postgres
installer. The relevant documentation of methods like selectField() is
that the table names be unqualified (no quotes nor dots), though dots
are still supported internally for compatibility reasons and ease of
querying schemas like pg_catalog and information_schema.

Change-Id: Ic7d7826da31f49915141692cb3bd84ed1e872e96
2025-06-24 22:33:30 +01:00
..
Hook installer: Namespace remaining classes 2024-01-13 23:45:14 +00:00
i18n Localisation updates from https://translatewiki.net. 2025-06-24 07:33:27 +02:00
CliInstaller.php installer: Restore success messages 2025-02-18 02:01:00 +00:00
ConnectionStatus.php Use explicit nullable type on parameter arguments 2024-10-16 20:58:33 +02:00
DatabaseConnectForm.php Split web-specific code out of DatabaseInstaller 2024-03-13 13:04:13 +11:00
DatabaseForm.php Split web-specific code out of DatabaseInstaller 2024-03-13 13:04:13 +11:00
DatabaseInstaller.php installer: Merge manual table creation into the create-tables step 2024-10-01 19:58:53 +00:00
DatabaseSettingsForm.php installer: Parse messages for Html::warningBox 2024-09-26 19:22:53 +00:00
DatabaseUpdater.php [DatabaseUpdater] Don't interact with updatelog on virtual domains 2024-10-17 15:12:35 +01:00
InstallDocFormatter.php installer: Namespace more installer classes 2024-01-13 23:42:08 +00:00
Installer.php installer: Restore success messages 2025-02-18 02:01:00 +00:00
InstallerOverrides.php installer: Namespace more installer classes 2024-01-13 23:42:08 +00:00
InstallerSessionProvider.php installer: Namespace more installer classes 2024-01-13 23:42:08 +00:00
InstallException.php Use explicit nullable type on parameter arguments 2024-10-16 20:58:33 +02:00
LocalSettingsGenerator.php installer: Consistently use double quotes when outputting settings 2024-09-27 14:53:46 +02:00
MysqlConnectForm.php Unify installer connection handling 2024-09-26 12:42:18 +10:00
MysqlInstaller.php installer: fix MySQL create user permissions check 2025-04-18 03:02:04 +00:00
MysqlSettingsForm.php rdbms: stop passing bogus $dbname values to DatabaseMySQL::open() 2024-06-05 02:49:53 +00:00
MysqlUpdater.php Add migrateSearchindex functions 2024-11-26 17:59:30 +00:00
Pingback.php Pass function name to HttpRequestFactory::create 2024-09-19 19:59:46 +02:00
PostgresConnectForm.php Unify installer connection handling 2024-09-26 12:42:18 +10:00
PostgresInstaller.php rdbms: fix table prefixing in "FOR UPDATE" clause generation in Postgres 2025-06-24 22:33:30 +01:00
PostgresSettingsForm.php Unify installer connection handling 2024-09-26 12:42:18 +10:00
PostgresUpdater.php Add migrateSearchindex functions 2024-11-26 17:59:30 +00:00
SqliteConnectForm.php Split web-specific code out of DatabaseInstaller 2024-03-13 13:04:13 +11:00
SqliteInstaller.php rdbms: fix table prefixing in "FOR UPDATE" clause generation in Postgres 2025-06-24 22:33:30 +01:00
SqliteUpdater.php Merge "Move update-keys.sql to a PHP array" 2024-09-16 10:27:53 +00:00
WebInstaller.php installer: Restore "complete" success message 2025-02-18 02:01:37 +00:00
WebInstallerComplete.php installer: Restore "complete" success message 2025-02-18 02:01:37 +00:00
WebInstallerCopying.php
WebInstallerDBConnect.php Add namespace and deprecation alias to Xml and XmlSelect 2024-05-16 15:23:14 +03:30
WebInstallerDBSettings.php Split web-specific code out of DatabaseInstaller 2024-03-13 13:04:13 +11:00
WebInstallerDocument.php installer: Namespace more installer classes 2024-01-13 23:42:08 +00:00
WebInstallerExistingWiki.php Unify installer connection handling 2024-09-26 12:42:18 +10:00
WebInstallerInstall.php
WebInstallerLanguage.php Add namespace and deprecation alias to Xml and XmlSelect 2024-05-16 15:23:14 +03:30
WebInstallerName.php Namespace includes/password 2024-05-18 16:17:38 +01:00
WebInstallerOptions.php installer: Parse messages for Html::warningBox 2024-09-26 19:22:53 +00:00
WebInstallerOutput.php Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
WebInstallerPage.php Add namespace and deprecation alias to Xml and XmlSelect 2024-05-16 15:23:14 +03:30
WebInstallerReleaseNotes.php Replace more instances of unchecked MWException 2024-01-23 16:20:53 +00:00
WebInstallerRestart.php installer: Parse messages for Html::warningBox 2024-09-26 19:22:53 +00:00
WebInstallerUpgrade.php installer: Restore success messages 2025-02-18 02:01:00 +00:00
WebInstallerUpgradeDoc.php
WebInstallerWelcome.php installer: Restore success messages 2025-02-18 02:01:00 +00:00