Commit graph

7384 commits

Author SHA1 Message Date
Translation updater bot b4ee0b6606 Localisation updates from https://translatewiki.net.
Change-Id: Ia5d31755cdaa82b720900c42c539671e7a690b3d
2023-09-04 08:41:48 +02:00
Translation updater bot 05310b3074 Localisation updates from https://translatewiki.net.
Change-Id: I98b71f308c58e2764ab9b0700984f443e73f7dfe
2023-09-01 09:01:49 +02:00
Translation updater bot af5c823491 Localisation updates from https://translatewiki.net.
Change-Id: I1896cd9b091dc1ea6a06d26c298b053f0268687f
2023-08-31 14:34:30 +02:00
Translation updater bot c7ecff9b52 Localisation updates from https://translatewiki.net.
Change-Id: I7d2a383e94860abb2b3ef1459b0e49571483cdf4
2023-08-30 08:43:11 +02:00
Derick Alangi ece707d549
build: Update to the latest wikimedia/equivset package
Depends-On: I141e0d3320085ef8ad5c808f0d219797ce127cc9
Change-Id: I2518496190ab55aae95a5e4825e6cad12a861365
2023-08-29 17:15:25 +01:00
Translation updater bot b2d18a6851 Localisation updates from https://translatewiki.net.
Change-Id: I34b05a247a29ef600cf5d54fd972f2cb5170290d
2023-08-29 08:27:22 +02:00
Translation updater bot 90b1dc05ba Localisation updates from https://translatewiki.net.
Change-Id: I9d2c4aba612035c7e10c53940973a3ea51a0447d
2023-08-28 09:29:06 +02:00
Amir Sarabadani ead29fc0fe Re-enable skipped test
Depends-On: I04c1dcf5129df437589149f0f3e284974d7c98fa
Change-Id: Ib071cd62d21090d28088729d2b2850363b750dae
2023-08-25 17:06:15 +02:00
Amir Sarabadani 2745b58451 Mark FilteredActionsHandlerTest::getFilteredActionsHandler skipped
Temporarily as I rename Status class.

Change-Id: I5f89ecf27ce1471a74f31c6018806461781213c3
2023-08-25 14:59:08 +02:00
Translation updater bot cede774dd6 Localisation updates from https://translatewiki.net.
Change-Id: I2e882e2e62fe29b358d7d0313dd0cec57bf217bc
2023-08-24 09:47:20 +02:00
Translation updater bot 84d3542581 Localisation updates from https://translatewiki.net.
Change-Id: Ib8740e9f7dc74e8fbeb99cdc75cb747648ed5905
2023-08-23 08:33:48 +02:00
Translation updater bot 17c561c630 Localisation updates from https://translatewiki.net.
Change-Id: If4ed2afc784687716fd709f6e6028085846222f8
2023-08-22 09:00:55 +02:00
Derick Alangi 623b9dbea3
Migrate DeferredUpdatesManager to use DeferredUpdates directly
Reverts part of Id9056528a433faf0, to switch to DeferredUpdates in
CirrusSearch back from DeferredUpdatesManager.

Bug: T265749
Change-Id: I8126cc76440724753c356c48ba4e0fcc9be5b41a
2023-08-21 12:59:28 +01:00
Translation updater bot 4668c4a744 Localisation updates from https://translatewiki.net.
Change-Id: I5a1ff58b5d09d6601518a9f142a256b7ec537231
2023-08-21 08:46:50 +02:00
Umherirrender 62127964b7 Use namespaced MediaWiki\User\ActorMigrationBase
Bug: T321681
Change-Id: If3940c982d55643a685e2dedccab0540f86b9ae9
2023-08-20 01:08:09 +02:00
jenkins-bot e23b4bf8ef Merge "Use namespaced Title" 2023-08-19 18:33:50 +00:00
Umherirrender cd7e9d31a7 Use namespaced Title
Bug: T321681
Change-Id: I66fd9b70a5de06ac3c81bdf6a2a5bca64ed094c2
2023-08-19 19:49:36 +02:00
jenkins-bot 96f6e1961f Merge "Clean up AbuseFilterConsequencesTest a bit" 2023-08-19 17:29:27 +00:00
Daimona Eaytoy 85f8f90531 Clean up AbuseFilterConsequencesTest a bit
Most notably, make it not use additional DB tables to test global
filters. Instead, just pretend that the local database is not local (via
config) and "hide" local filters with a simple test-only flag in
FilterLookup.

Change-Id: Ib431dbf6c9d84978ee84e7f0671cfcbf8a54d7a2
2023-08-19 15:31:41 +00:00
MdsShakil 438cb640ed Add Bengali translation of BlockedExternalDomains
Change-Id: I77cb8d29ea30aab4bed5e6933a96cefddd183d40
2023-08-19 11:05:33 +00:00
gerritbot f5258d16bc Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: I0402e835b5c05bac0a890b6fe0036516751c411b
2023-08-19 04:13:30 +00:00
Daimona Eaytoy a10765baec Use real user ID in EchoNotifierTest
Echo will at some point try to load the user with the given ID, and will
throw an exception if it doesn't exist. The test is currently passing
just because we're not properly cleaning DB tables, and the user with ID
1 happens to exist at that point, but it will fail with core change
Ie2f1809d.

Change-Id: Ie686f4d5c2842e45a6ed564b311bb5d9b0265091
2023-08-18 01:51:09 +02:00
Translation updater bot 33a5fec0ec Localisation updates from https://translatewiki.net.
Change-Id: I4055a691ac09acf1f4da71c623bf47df8b51d21f
2023-08-17 12:09:11 +02:00
jenkins-bot ba4de29abf Merge "Use HookHandlers for UserMerge hook" 2023-08-16 08:51:38 +00:00
Umherirrender 8e6d820154 Use HookHandlers for UserMerge hook
Bug: T254306
Depends-On: Ib78dae49854863af1a37a00636737c94694776ae
Change-Id: If2bc517fb612199f4d744efbfa261ee5c556b6a5
2023-08-16 09:44:30 +02:00
Translation updater bot 2e9c7318d8 Localisation updates from https://translatewiki.net.
Change-Id: I34a1a6151690490c1fe68ac70b42324db337db35
2023-08-16 09:10:17 +02:00
jenkins-bot e80a4337c0 Merge "Use HookHandlers for Echo hook" 2023-08-16 05:26:14 +00:00
gerritbot ae1262fb68 Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: I505b97ffbb74f1b1a12bf141b73b1414c60c5020
2023-08-16 01:54:05 +00:00
Umherirrender a328477b8d Use HookHandlers for Echo hook
Bug: T254306
Depends-On: Iffa2b409502b4269c9746e0304feb4aaee37a86e
Change-Id: I0e27c535367b37b7038a54955e43ff96d9c81d32
2023-08-16 00:18:02 +02:00
Translation updater bot df19f5bd13 Localisation updates from https://translatewiki.net.
Change-Id: Idc4e790ad9620e42286421a9b0e398f3a4b26dd6
2023-08-14 09:16:23 +02:00
Translation updater bot 0943d1b521 Localisation updates from https://translatewiki.net.
Change-Id: Iac7319cb2fcdfaba6ff434b7ac9375df082d4966
2023-08-11 08:58:30 +02:00
jenkins-bot 3727a2978b Merge "tests: Split long line in importingFilters.js" 2023-08-10 22:11:58 +00:00
Umherirrender aef4466d4b tests: Split long line in importingFilters.js
tests\selenium\specs\importingFilters.js
   81:1  warning  This line has a length of 106. Maximum allowed is 100
max-len

Change-Id: Ic8bee37971afb6fe4ba7102d687f0fa212092f4c
2023-08-10 23:53:17 +02:00
Translation updater bot 8d387b2c28 Localisation updates from https://translatewiki.net.
Change-Id: I120b2edf8da49b8ad111fd7b8b931b76ce8bb156
2023-08-10 09:39:39 +02:00
Translation updater bot 88d5def911 Localisation updates from https://translatewiki.net.
Change-Id: I47bb883334256d6e587c4943317effd3f6200067
2023-08-09 09:14:10 +02:00
Translation updater bot 13ea7ab8ee Localisation updates from https://translatewiki.net.
Change-Id: I158e6e0ede1ae6982089756cb41faf08ab70787b
2023-08-08 09:00:12 +02:00
jenkins-bot 4f6ff34a26 Merge "tests: Avoid DB access in non-Database tests" 2023-08-07 13:13:27 +00:00
jenkins-bot e566cb1327 Merge "Avoid TestUser in non-database tests" 2023-08-07 13:13:25 +00:00
Translation updater bot 9fe571e33f Localisation updates from https://translatewiki.net.
Change-Id: I6324c4496d60a98515c9b7ae2edf29eb49e6e3ac
2023-08-07 08:36:51 +02:00
Daimona Eaytoy dcef8cebc6 tests: Avoid DB access in non-Database tests
These tests were accessing the Database, for mainly 3 reasons:
- User::newSystemUser
- Static methods in ChangeTags
- Echo's Event class

There isn't much we can do about them, so add tests to the Database
group where needed. In some cases, there are already comments that these
tests should be made unit tests once possible.

Bug: T155147
Change-Id: I8a0d52e0a4cae8a4059b62867853a73e60c878a1
2023-08-06 22:19:03 +00:00
Daimona Eaytoy 2a6b7edecb Avoid TestUser in non-database tests
TestUser requires a DB connection, so avoid using it in database-less
tests. Add to the Database group tests that are making DB writes (e.g.,
for log entries).

Change-Id: I211cb60296e5c2446128fcdf2caaadc728a8c272
2023-08-06 22:18:49 +00:00
Amir Sarabadani 049e602b07 BlockedDomains: Move filtering logic to a dedicated class
I'm planning to add support for bypass and regex-based blocking which
means it'll grow a bit. So let's give it a dedicated class.

Bug: T337431
Change-Id: I5a6fe2fd2f1efdebd8cada0ba6c481341f830e27
2023-08-06 16:27:23 +02:00
jenkins-bot a3ffaba341 Merge "Replace userNameUtils with UserIdentityUtils" 2023-08-06 10:00:04 +00:00
jenkins-bot 8618667500 Merge "Migrate ILB::getConnectionRef() calls to ILB::getConnection()" 2023-08-06 08:48:46 +00:00
Translation updater bot 29eb7a4f43 Localisation updates from https://translatewiki.net.
Change-Id: Id88a71c869500f878d5f641469f7e705ac33a468
2023-08-04 09:19:31 +02:00
gerritbot 806ac5285d Migrate ILB::getConnectionRef() calls to ILB::getConnection()
Deprecated since 1.39 (I6e7544763bd)

Bug: T343277
Change-Id: I1d6d8d8bee8b39a5d364d8bb65f5f9a85194114d
2023-08-03 22:28:51 +00:00
Translation updater bot cb408cb1cb Localisation updates from https://translatewiki.net.
Change-Id: I34957049f2475e18ad851648390a3649e5bd9a6a
2023-08-02 09:03:07 +02:00
Translation updater bot e387f34908 Localisation updates from https://translatewiki.net.
Change-Id: Ic190aad42e19f30593592996c0a58510a2662c02
2023-08-01 08:35:54 +02:00
Translation updater bot 01d087e62a Localisation updates from https://translatewiki.net.
Change-Id: I64b64567ca7d8cdf18d615535543ed3ea86ed21d
2023-07-31 08:53:16 +02:00
Umherirrender c72b6a20f0 Pass ParserFactory to LazyVariableComputer
Make the init of Parser lazy

Bug: T343070
Change-Id: If0f0ca3c4aa2136c85903289f7f80b95dc5132c8
2023-07-29 14:20:07 +02:00