提交图

7343 次代码提交

作者 SHA1 备注 提交日期
jenkins-bot 65e25c96ed Merge "look up global user rights also for anon users with name set" 2024-05-16 21:57:26 +00:00
jenkins-bot 5713ba5eb7 Merge "Use virtual db domains for CentralAuth" 2024-05-16 21:25:03 +00:00
jenkins-bot ad2a3e9275 Merge "Stop using gu_salt" 2024-05-16 20:10:18 +00:00
jenkins-bot cabe4e0c7e Merge "migrateAccount.php: Improve documentation" 2024-05-16 08:49:09 +00:00
Translation updater bot 9f35c7ab88 Localisation updates from https://translatewiki.net.
Change-Id: I65b16cd9b309189818429f3d0a1e1fb72ea58e1b
2024-05-16 09:25:35 +02:00
jenkins-bot d11667f6dd Merge "Use ObjectCacheFactory instead of deprecated ObjectCache method" 2024-05-15 17:50:18 +00:00
jenkins-bot 071c9e0049 Merge "migrateGuSalt: Fix copy/paste mistake" 2024-05-15 13:42:13 +00:00
jenkins-bot 4ac77c2114 Merge "Revert "build: Updating grunt-banana-checker to 0.12.0"" 2024-05-15 13:04:52 +00:00
Alexander Vorwerk c3fdadafb9 Stop using gu_salt
The salt of the user password is also stored in the gu_password column
of the globaluser table. The exact format depends on which hashing
algorithm is used to store users password.

Bug: T364435
Change-Id: Ia5610c08d0f2f723a88ed3b40e2ebc5f72e59654
2024-05-15 12:46:15 +00:00
Wandji69 0efc5a5c70 Use ObjectCacheFactory instead of deprecated ObjectCache method
Bug: T363770
Change-Id: Iace87e3b3d1a7e269bafeaa3bdffc51361ee197d
2024-05-15 12:19:05 +00:00
Krinkle 451b8a6c83 Revert "build: Updating grunt-banana-checker to 0.12.0"
This reverts commit b962294ad7.

Reason for revert: Changes to translations must be made on
translatewiki.net, as these are automatically overwritten the next
midnight otherwise.

Bug: T364727
Change-Id: I85ae16d32dc02f8250722881531837b3bc9ccbee
2024-05-15 12:09:03 +00:00
Alexander Vorwerk 9e85954227 migrateGuSalt: Fix copy/paste mistake
Change-Id: I6c273200089ff1911cad47caa48620e8aac96e60
2024-05-15 01:00:21 +02:00
Translation updater bot 5968892cea Localisation updates from https://translatewiki.net.
Change-Id: I63cd6b0db4cf4c2d98ac683d2853acdb734d5e67
2024-05-14 09:25:30 +02:00
Translation updater bot c50398610b Localisation updates from https://translatewiki.net.
Change-Id: Ic129b489106d6f09c793f218c3cb0fa250d40620
2024-05-13 09:26:36 +02:00
jenkins-bot 8291164dc7 Merge "wrapOldPasswordHashes: Fix console output on last batch" 2024-05-11 16:05:53 +00:00
Alexander Vorwerk 1be0586281 wrapOldPasswordHashes: Fix console output on last batch
also do not give out an output if the result set is empty

Change-Id: I37f08a322a40ca7ed8f286532cedb77626e4ca10
2024-05-11 09:04:27 +00:00
Gergő Tisza 6a03035fb0
migrateGuSalt: Use transaction
Locks are released at the end of the transaction, without the use
of explicit BEGIN...COMMIT MediaWiki has no way of figuring out
when that should happen.

Follows up Iebf9a79646c8f4e9a1b994064d5ccf04262b7a9f.

Bug: T364435
Change-Id: Icebbcbb08bdc71ad8d8a1331517e5c3a2b8d6b1b
2024-05-11 09:53:17 +02:00
jenkins-bot f9aca2c13b Merge "Add migrateGuSalt.php script" 2024-05-10 23:18:17 +00:00
Ariel T. Glenn 8326b0acda Use virtual db domains for CentralAuth
Not yet tested

* get rid of calls to getMainLB() for the centralauth db where
possible, preferLBFactory->getPrimaryDatabase() and getReplicaDatabase()
since these methods understand virtual db domains
* use ReadOnlyMode->isReadOnly() or getReadOnlyReason() with the
domain rather where possible

Bug: T348486
Change-Id: Ia095922ae18189dfd54861e02ad9a2fd05f0ee40
Depends-on: Iebf9dec38973ddc44a4c64915978971c86314e9c
2024-05-10 13:41:13 +03:00
libraryupgrader b962294ad7 build: Updating grunt-banana-checker to 0.12.0
Change-Id: Ibec26269da3161cd47957033572e6c35d18d31ac
2024-05-10 01:57:00 +00:00
Alexander Vorwerk e7ef4cbcb7 Add migrateGuSalt.php script
Bug: T364435
Change-Id: Iebf9a79646c8f4e9a1b994064d5ccf04262b7a9f
2024-05-09 20:01:39 +00:00
Gergő Tisza 1a748b183f
migrateAccount.php: Improve documentation
Change-Id: I604de047e2392218e19695e792505730f94a9bf0
2024-05-09 15:35:02 +02:00
Translation updater bot 57f8c79d39 Localisation updates from https://translatewiki.net.
Change-Id: Id3290436db05c70eb19986036c33076433ac542c
2024-05-09 09:37:47 +02:00
Umherirrender 5f9376f35e tests: Migrate assertSelect() to SelectQueryBuilder
Change-Id: Ic2cfdd111c5e905b179e22db5d6dda36af8b77b7
2024-05-08 23:14:54 +02:00
Alexander Vorwerk 224fcb473a wrapOldPasswordHashes: Reduce batch size
We are using "LOCK IN SHARE MODE" and since it takes rather long to
migrate a single user (since password hashes are expensive), we
should not look for so long.

Change-Id: I58d683b47851689047235271915924e03244fd2e
2024-05-08 12:28:58 +02:00
Translation updater bot fac8d1f9df Localisation updates from https://translatewiki.net.
Change-Id: Ia8bdb9a15902afd817557002e2eaeaf2bf9d3e87
2024-05-08 09:23:30 +02:00
Translation updater bot 41c45510a9 Localisation updates from https://translatewiki.net.
Change-Id: Iecda180794c5d86fde5cbac812c3f5c47128a565
2024-05-07 09:22:14 +02:00
Translation updater bot b9a278fe9d Localisation updates from https://translatewiki.net.
Change-Id: I493cce93af2b789c53ca4f1c889b94c6346bc2f4
2024-05-06 09:25:10 +02:00
libraryupgrader 6e78f3c97a build: Updating composer dependencies
* mediawiki/minus-x: 1.1.1 → 1.1.3
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

Change-Id: Ie37241c43eda69963b1047d91745a05fb904507a
2024-05-05 06:17:52 +00:00
Reedy 087fca71e3 wrapOldPasswords: Improve output further..
Change-Id: I547eacf7bdd0d3fdb24adc328c9b9859fe3129c1
2024-05-04 23:08:56 +00:00
Reedy da2d6db2c0 wrapOldPasswords: Better progress...
Change-Id: I3d6ebbe56982a5a89619a9b8111911ee7cf52527
2024-05-04 22:09:53 +00:00
Reedy a09e50656c wrapOldPasswordHashes: Add progress output
Change-Id: Ifa394ee542fa92fd0d9725e92c5a43d1b4775836
2024-05-04 21:41:16 +00:00
Alexander Vorwerk ed1cebe3b4 Properly require_once Maintenance
Change-Id: I49d412340b60c3516a337df0aaa49a47e3f929f0
2024-05-04 23:18:26 +02:00
Amir E. Aharoni 6989e8b174 Add a parameter to an AbuseFilter message
Patch I3283c91b6b1d5fe9b48b1477cd454d9def3a7ded adds
the capabililty to automatically mention the name of
the AbuseFilter function in AbuseFilter's code editor.
This patch uses this capability.

Bug: T360909
Depends-On: I3283c91b6b1d5fe9b48b1477cd454d9def3a7ded
Change-Id: I3906b1bc148d68abd23554a72c9a0df232c791d1
2024-05-04 17:11:33 +03:00
Dringsim 2c4b09f814
Remove use of $wgLang
Change-Id: I1f5c39ade2c5a42f0e3fcf0eb2e4c8ed07ddb763
2024-05-04 15:38:44 +08:00
Translation updater bot 6be4058daf Localisation updates from https://translatewiki.net.
Change-Id: Ia59ab934c6420a91b654436c4c3d0b2bd741d82a
2024-05-03 09:28:11 +02:00
Umherirrender ddb82360a2 Migrate to IReadableDatabase::newSelectQueryBuilder
Bug: T312394
Change-Id: I2ef838591307fd1a56a7358f6f710af023e01965
2024-04-30 20:32:55 +02:00
jenkins-bot 96ae72516e Merge "CentralLogin: Log temp user name conflict" 2024-04-30 15:19:26 +00:00
Translation updater bot abd04fc549 Localisation updates from https://translatewiki.net.
Change-Id: I432d443e79b6c57e243925ae62523ca1b72e85c3
2024-04-30 09:20:34 +02:00
jenkins-bot 7d25750ec4 Merge "maintenance: Migrate to IReadableDatabase::newSelectQueryBuilder" 2024-04-29 22:58:43 +00:00
jenkins-bot d4d52c8e2d Merge "Display the user name by itself in forced creation log messages" 2024-04-29 22:07:40 +00:00
Umherirrender cf66874541 maintenance: Migrate to IReadableDatabase::newSelectQueryBuilder
Bug: T312394
Change-Id: I6940bfc01d363bb49d2a03d77589c4522a97521b
2024-04-29 23:18:40 +02:00
Ariel T. Glenn d09f24dcec look up global user rights also for anon users with name set
This allows autocreation of local accounts to work based on
global rights.

Bug: T316303
Depends-On: I9ffe2d1a59ff8f9b4eb0ab0677c0fdf5200f4b79
Change-Id: I180fe6b197ebd2223f48389b74a40a281d097948
2024-04-29 22:20:21 +03:00
Ariel T. Glenn 7a613824df Display the user name by itself in forced creation log messages
Bug: T305338
Change-Id: Ifc25167074fbb5a3ea123e9aa541a56ead3b0837
2024-04-29 11:25:32 +00:00
Translation updater bot 8ae57d61ce Localisation updates from https://translatewiki.net.
Change-Id: I5409f14d1d947924523f7fdd5c5984fc4ac3bcf6
2024-04-29 09:22:53 +02:00
Gergő Tisza c8776e44d4
CentralLogin: Log temp user name conflict
Change-Id: I65620452b599fd0f53a8a96fdfd0a6515eb3c6d3
2024-04-28 15:12:30 +02:00
jenkins-bot 83ecc75168 Merge "Add intro/summary text on top of Special:GlobalRenameUser" 2024-04-26 19:22:34 +00:00
Paladox 8fefb2a46c Add intro/summary text on top of Special:GlobalRenameUser
Co-Authored-By: DatGuy
Co-Authored-By: ArielGlenn <ariel@wikimedia.org>
Bug: T138919
Change-Id: I56942a75f6b571507560690ebb8353f6e90e4012
2024-04-26 19:13:16 +00:00
Translation updater bot 58a41ecc7b Localisation updates from https://translatewiki.net.
Change-Id: I21b2b8f8cb0cc84dd97ad389b9de86fd1f7d10b8
2024-04-25 09:17:20 +02:00
Translation updater bot 502064702c Localisation updates from https://translatewiki.net.
Change-Id: I5b476d6287a9288f0a12dc6d80eb8e12f6cc2c4a
2024-04-24 09:18:25 +02:00