aboutsummaryrefslogtreecommitdiffstats
path: root/includes/installer
Commit message (Collapse)AuthorAgeFilesLines
* rdbms: Remove Database::attributesFromType and hard-deprecate ::factoryAmir Sarabadani2023-02-233-6/+8
| | | | | | | | They have been soft-deprecated since 1.39 and the first one is not used anywhere, ::factory is used in some third party code but not in Wikimedia-deployed ones Change-Id: Icd0f743d9c76554dd02471485ee732e25b9fb932
* Localisation updates from https://translatewiki.net.Translation updater bot2023-02-232-1/+6
| | | | Change-Id: I821f2adcbf873e7489bfe405f393e1a0c35e2911
* Localisation updates from https://translatewiki.net.Translation updater bot2023-02-221-1/+2
| | | | Change-Id: If4ece6fb8a3c31e947bb62c33015a5c818c670d6
* Merge "Reorg: Move HTML-related classes out of includes/ to Html/"jenkins-bot2023-02-2110-0/+15
|\
| * Reorg: Move HTML-related classes out of includes/ to Html/Amir Sarabadani2023-02-1610-0/+15
| | | | | | | | | | Bug: T321882 Change-Id: I5dc1f7e9c303cd3f5b9dd7010d6bb470d8400a18
* | Localisation updates from https://translatewiki.net.Translation updater bot2023-02-211-18/+26
| | | | | | | | Change-Id: If83a3198ee37d894a402b74183b41c4e24fa65bc
* | Localisation updates from https://translatewiki.net.Translation updater bot2023-02-203-5/+6
| | | | | | | | Change-Id: I6e078d0fde6965b327fac4f9c251c8908676fe89
* | Merge "Allow some maintenance scripts to be called without a LocalSettings"jenkins-bot2023-02-181-19/+34
|\ \
| * | Allow some maintenance scripts to be called without a LocalSettingsdaniel2023-02-161-19/+34
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subclasses of Maintenance that can function without database access can now override canExecuteWithoutLocalSettings to return true. This is useful for scripts that need to be able to run before or without installing MediaWiki. When no config file is present, the storage backend will be disabled. Any attempt to access the database will result in an error. NOTE: This makes MediaWikiServices::disableBackendServices() more comprehensive, to avoid premature failures during service construction. This change makes it necessary to adjust how the installer manages service overrides. The CLI installer is covered by CI, I tested the web installer manually. Change-Id: Ie84010c80f32cbdfd34aff9dde1bfde1ed531793
* / Localisation updates from https://translatewiki.net.Translation updater bot2023-02-171-0/+1
|/ | | | Change-Id: I13837156f9fb36d8840c886f77c38d4f9f42757d
* Merge "Drop 1.34 db updates"jenkins-bot2023-02-154-57/+13
|\
| * Drop 1.34 db updatesAlexander Vorwerk2023-02-094-57/+13
| | | | | | | | | | | | | | Per official policy, updates from versions older than two TLS releases are not supported. Change-Id: I3dc98fe61c8a508aa3ade694f8c0a6a00115031b
* | Localisation updates from https://translatewiki.net.Translation updater bot2023-02-131-0/+3
|/ | | | Change-Id: I69e4ab2a78d92217c07d5e27d3734986c34bfc60
* Merge "Remove unused arguments to private functions"jenkins-bot2023-02-081-2/+1
|\
| * Remove unused arguments to private functionsUmherirrender2023-02-081-2/+1
| | | | | | | | | | | | Found by phan dead detection Change-Id: I93379b7b9a733206d0e53add04fcdb9478c58755
* | Localisation updates from https://translatewiki.net.Translation updater bot2023-02-071-0/+1
| | | | | | | | Change-Id: I9435a8dad7a43eea303f00d626a4f906d184a106
* | Localisation updates from https://translatewiki.net.Translation updater bot2023-02-061-2/+2
|/ | | | Change-Id: Ibc5e8cee9e076c8952eb24839d5e97d4eca4ccf4
* Localisation updates from https://translatewiki.net.Translation updater bot2023-02-031-1/+1
| | | | Change-Id: I105ccf8e5c73c7bf1c04d2e9d16a3c3d4d393c98
* Localisation updates from https://translatewiki.net.Translation updater bot2023-02-014-0/+7
| | | | Change-Id: I027f596dc06f49e257f84dfcc2a1087c43c77ce5
* Localisation updates from https://translatewiki.net.Translation updater bot2023-01-3056-55/+16
| | | | Change-Id: I19c9fc2c87991f341bde256d5eb42ecc9ae0e271
* Merge "Clean up old ICU version checks"jenkins-bot2023-01-273-19/+6
|\
| * Clean up old ICU version checksKevin Israel2023-01-263-19/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 1.36, intl has been a required PHP extension, and PHP 7.4 dropped support for ICU < 50.1 (Unicode 6.2), so: * In SpecialVersion, don't check whether INTL_ICU_VERSION is defined. * Remove check in the installer for outdated Unicode normalization. It was added over twelve years ago in r70126 (a21fb8651f20f1ef) with a comment that it should be kept up to date, but no one ever did. * Remove IcuCollation::getUnicodeVersionForICU(), which contained a long list of ICU versions and corresponding Unicode versions that had to be kept up to date manually. Instead use IntlChar::getUnicodeVersion(), which was added in PHP 7.0. There are no known callers outside core. * Remove LinkFilter::supportsIDN(), as ICU has had support for UTS#46 since version 4.6. There are no known callers outside core. Also remove $flags and $variant from the idn_to_utf8() call, which match PHP 7.4's defaults. (INTL_IDNA_VARIANT_2003 was the default in 7.3.) * Display the ICU and Unicode versions in the installer, just below the PHP version. The ICU version is shown on Special:Version near the PHP version, and it probably makes sense to show it there as well. Change-Id: Ibdfac1a6f46fd56b84de1140292e0ec863f043ee
* | Localisation updates from https://translatewiki.net.Translation updater bot2023-01-275-5/+6
| | | | | | | | Change-Id: If4279c616580689a6d9563ae5f776135416f9283
* | Merge "Replace more usages of MWException"jenkins-bot2023-01-261-1/+0
|\ \ | |/ |/|
| * Replace more usages of MWExceptionDaimona Eaytoy2023-01-261-1/+0
| | | | | | | | | | Bug: T86704 Change-Id: I14abf71b7dcf432d0eb35f0b4ab2fa4fb797e2e8
* | Localisation updates from https://translatewiki.net.Translation updater bot2023-01-2669-101/+34
| | | | | | | | Change-Id: I7ce51da1a06be9de452eb0543dd29e986f5dfa1f
* | Merge "Installer: Don't tell people they're using Intl"jenkins-bot2023-01-253-4/+1
|\ \
| * | Installer: Don't tell people they're using IntlJames D. Forrester2022-11-153-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since 82e55ee118dc this is now always required, so mentioning it is silly. Shift the Intl link to the warning message, as it'll no longer appear on the line above. Follows-Up: eb3d1e89e0e3761cfdf6331865f7ac63812218a7 Change-Id: I2b5c66051990e60817b90e46f9402c622738dd8a
* | | Running maintenance scripts is now done with the `run.php` scriptDerick Alangi2023-01-251-1/+1
| | | | | | | | | | | | Change-Id: Icbaf3104eb4841f54f161f7d5fba30d3c164619b
* | | Localisation updates from https://translatewiki.net.Translation updater bot2023-01-242-1/+7
| | | | | | | | | | | | Change-Id: Id1b5ec00528bda9e75acc9adf846f002c35fe845
* | | Localisation updates from https://translatewiki.net.Translation updater bot2023-01-233-2/+4
| |/ |/| | | | | Change-Id: Ifd9ef53d48828338888600c8d411db4c299a3630
* | Merge "rdbms: remove IDatabase::selectDB()"jenkins-bot2023-01-172-7/+27
|\ \
| * | rdbms: remove IDatabase::selectDB()Aaron Schulz2023-01-172-7/+27
| | | | | | | | | | | | Change-Id: I0e5f9d82d487a1f74348942609625c58a7b1df32
* | | Localisation updates from https://translatewiki.net.Translation updater bot2023-01-162-1/+2
| | | | | | | | | | | | Change-Id: I63f2b44f1b1b5dfe0ef12d2606eecb5b5aa3d6a1
* | | Localisation updates from https://translatewiki.net.Translation updater bot2023-01-132-1/+3
|/ / | | | | | | Change-Id: Ibb67b36acba77380539b85417e7d8347995fe3b8
* | Merge "installer: Improve message handling for cli installer/install.php"jenkins-bot2023-01-101-1/+5
|\ \
| * | installer: Improve message handling for cli installer/install.phpUmherirrender2022-12-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid showing the error messages twice Make the installer responsible to show the detail error text Bug: T253341 Change-Id: I8f146cb1affca3711c102284534783cc50b514f8
* | | Localisation updates from https://translatewiki.net.Translation updater bot2023-01-094-34/+35
| | | | | | | | | | | | Change-Id: I15a1e4cf119fbef63c411eeba89223dbadbc3574
* | | Localisation updates from https://translatewiki.net.Translation updater bot2023-01-062-2/+3
| | | | | | | | | | | | Change-Id: I831336cdef6b999550f02ec15d58472bff4fad21
* | | Localisation updates from https://translatewiki.net.Translation updater bot2023-01-032-0/+4
| | | | | | | | | | | | Change-Id: Ieab934f176a8bc9b16e759a4b8030320c9fc8c0b
* | | PostgresUpdater: Move setDefault ahead of changeNullableFieldFunc2022-12-311-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | A user named "Anonymous" existed in setups with Postgres before 1.37, default values should be set before changing the fields to not nullable. Bug: T297031 Bug: T326039 Change-Id: Ib0e00a0c608ccca7f40524c135c8f58daded7d69
* | | Localisation updates from https://translatewiki.net.Translation updater bot2022-12-293-1/+110
| | | | | | | | | | | | Change-Id: Iee9a9a81d19d90860feda760c03fcfcd96f5abd9
* | | SECURITY: Make sqlite DB files not world readableBrian Wolff2022-12-231-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that SQLite DB files are created as 0600. Previously they were created 0644 (world-readable). This was somewhat mitigated by the fact that if MediaWiki had to create the parent directory, it would be created as 0700. However if the parent directory already existed and had loose permissions, than anyone on the server could read the DB file and all the private data contained therein. This only affects newly created DB files during the installation process. It does not adjust previously created DB files. Bug: T322637 Change-Id: I167ec1b5cd9a7e96919886fd20917b5733d59fc7 (cherry picked from commit dad0b3a66993a7ff3c27f6101558edc0a212c68a)
* | | Localisation updates from https://translatewiki.net.Translation updater bot2022-12-232-0/+3
| | | | | | | | | | | | Change-Id: I26ce0eb0c59fbdf1b78cc63f1b0e4fcfbe2b40c1
* | | Localisation updates from https://translatewiki.net.Translation updater bot2022-12-221-1/+1
| | | | | | | | | | | | Change-Id: I86be77310e9ac104705ff99bbfd9653cea22b13f
* | | Localisation updates from https://translatewiki.net.Translation updater bot2022-12-214-0/+5
| | | | | | | | | | | | Change-Id: Ib21fd530a7a3a1497b0d2ca0ed92ff489fd64676
* | | Merge "Make use of ??= in more places"jenkins-bot2022-12-211-3/+1
|\ \ \
| * | | Make use of ??= in more placesDannyS7122022-12-171-3/+1
| |/ / | | | | | | | | | | | | | | | New feature from PHP 7.4 Change-Id: Ifa7a9bc7b2ec415ad7ecb23f4c1776f51f58fd6b
* | | Localisation updates from https://translatewiki.net.Translation updater bot2022-12-202-2/+15
| | | | | | | | | | | | Change-Id: I50785f86f6803193939253076be0f3637b1987e3
* | | Localisation updates from https://translatewiki.net.Translation updater bot2022-12-1910-1/+10
|/ / | | | | | | Change-Id: Id53af6a076ee410d89cbeef513e45cf35d964742