Commit graph

1271 commits

Author SHA1 Message Date
Translation updater bot f5141a966c
Localisation updates from https://translatewiki.net.
Change-Id: I2a0a2ba2e3cba714ae8a87706b47d0433bbf57d9
2024-06-13 09:29:16 +02:00
libraryupgrader 3e65320491 build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: I2631eabb2198eafafeea41fedc7b3fca9d88db75
2024-06-12 22:52:41 +00:00
Translation updater bot 1d79993fc2 Localisation updates from https://translatewiki.net.
Change-Id: I1c5b019620648f35cedde0e1c39fd586cca35637
2024-06-11 09:55:39 +02:00
Umherirrender 00f58b2d52 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I6fd8bf5240359bf7e2ab23f9581471714f0a01d3
2024-06-10 20:42:18 +02:00
Translation updater bot f675244b1e Localisation updates from https://translatewiki.net.
Change-Id: I836bce34d2135f15168ac12d323e758cc5380940
2024-06-10 09:56:09 +02:00
libraryupgrader 592845c3b9 build: Updating eslint-config-wikimedia to 0.28.0
Change-Id: I292575df8136529ebd9769c6f2490369287b2f37
2024-06-08 12:15:52 +00:00
Translation updater bot 5dc5286daf Localisation updates from https://translatewiki.net.
Change-Id: I5464ae7500027b5523a6b45972a7af98408a5b57
2024-06-07 09:46:19 +02:00
Translation updater bot 8e0b584fd5 Localisation updates from https://translatewiki.net.
Change-Id: I35172a5108a59a5615b1f3cbcd6b209a941b73e5
2024-06-05 09:23:58 +02:00
Wandji69 b93b997de5 Use ObjectCacheFactory instead of deprecated ObjectCache methods
Bug: T363770
Change-Id: I235642d059855a8c5f7296095965687ae73c6efb
2024-05-29 18:07:48 +00:00
Translation updater bot 40a66cf54f Localisation updates from https://translatewiki.net.
Change-Id: I143b21adb6b040c5e05cfe348d89312edcb6a76b
2024-05-27 09:29:57 +02:00
libraryupgrader a112136e42 build: Updating grunt-banana-checker to 0.13.0
Change-Id: I5ebb1e350c382b8b70e3a593a51edd6e99aad140
2024-05-19 03:16:00 +00:00
Translation updater bot bbeabce3f9 Localisation updates from https://translatewiki.net.
Change-Id: I02c3c2ca3ddbd4aab43a9f9e00ed2d77ee3604c3
2024-05-17 09:49:45 +02:00
libraryupgrader 8dbed159ff build: Updating grunt-banana-checker to 0.12.0
Change-Id: I3b556d5d49c21d663d38d530d27b46990ce97379
2024-05-11 03:12:01 +00:00
jenkins-bot a096d07930 Merge "Make SpamBlacklistTest::testSpamEdit pass when temp accounts enabled" 2024-05-10 16:44:27 +00:00
libraryupgrader 952a565af8 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: I413e82fbae773eebeb7ecbca201aee2fadc61a44
2024-05-06 06:42:46 +00:00
Dreamy Jazz 6f021e90da Make SpamBlacklistTest::testSpamEdit pass when temp accounts enabled
Why:
* SpamBlacklistTest::testSpamEdit fails to run when temporary
  accounts are enabled, because the EditPage object does not have
  the user set as the same as the RequestContext user (which is
  a named test user).
* Making the test pass is necessary for running tests when
  temporary accounts are enabled in CI.

What:
* Set the EditPage context user as the same as the test user used
  for the article context above.

Bug: T355879
Change-Id: I34e0299a9d9e3078f9067390e30dca7ce9665de4
2024-05-04 17:24:45 +03:00
Translation updater bot a59c5598a1 Localisation updates from https://translatewiki.net.
Change-Id: I2547c8948a6a74cebcf1f66e812f1489c8c703b5
2024-04-30 09:21:16 +02:00
Translation updater bot 46a90ec41f Localisation updates from https://translatewiki.net.
Change-Id: I76d6156fc17e66a6d032eca8bb316015aab55b21
2024-04-22 09:29:46 +02:00
Umherirrender f0e11c2d1e Migrate to IReadableDatabase::newSelectQueryBuilder
Bug: T312469
Change-Id: I5774b8d0dc59df3404f26026b1aeeceeda413e13
2024-04-20 21:20:29 +02:00
libraryupgrader 96189d343b build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: I26da3fd098f33b0350bf391fafe72eae0c65ab59
2024-04-19 06:17:33 +00:00
Translation updater bot 79ee052bd9 Localisation updates from https://translatewiki.net.
Change-Id: I53a50273786cb5d70347f68b7ca56782660c4bc5
2024-04-15 09:28:48 +02:00
Translation updater bot 0038d85b11 Localisation updates from https://translatewiki.net.
Change-Id: If56ce670597685f963c197bf67d2acf7ee1c2035
2024-04-11 09:22:07 +02:00
Translation updater bot 42ace273a3 Localisation updates from https://translatewiki.net.
Change-Id: I115be7e51374bd4b110ec34d171a3918e96f6892
2024-04-04 09:39:25 +02:00
Kosta Harlan 3e0747d103
tests: Pass FauxRequest to TempUserCreator
Needed-by: I99d5973498a89ac227847de5837c0a8e895c28fb

Bug: T343101
Change-Id: If660aad1d0f04f366414084aff3f88484a19d416
2024-03-28 13:44:32 +01:00
Translation updater bot 58dc9db5d5 Localisation updates from https://translatewiki.net.
Change-Id: Iba31939263e0fb7d6f6504503fe6bd1633585c98
2024-03-26 08:20:58 +01:00
Translation updater bot e27bc2a992 Localisation updates from https://translatewiki.net.
Change-Id: I8f09283d8e92c65d495bb3fd7b43f326d69241a9
2024-03-25 08:36:44 +01:00
Translation updater bot 8665ad0082 Localisation updates from https://translatewiki.net.
Change-Id: Ia44f4baebf1988947fb0ab41e5abfa6f817a08b9
2024-03-22 08:45:31 +01:00
Translation updater bot 22bda08a02 Localisation updates from https://translatewiki.net.
Change-Id: Ib1835bd4a62d8f9333a7522bd3ea05bb5e2e292f
2024-03-21 08:56:33 +01:00
Amir Sarabadani 055daa65ef Switch away from wfGetDB()
Bug: T357657
Change-Id: I54f95397958c99b87083894cdf867d5ef6612fe7
2024-03-18 21:34:56 +01:00
libraryupgrader e986e0f83b build: Updating mediawiki/mediawiki-codesniffer to 43.0.0
Change-Id: Id221d37397de19e027fddc84fac6e9d7986e1d3f
2024-03-18 01:26:27 +00:00
Kosta Harlan 0016a9a6f1
tests: Support temp accounts in testSpam()
Why:

- Temp accounts require special handling in the test case, since we call
  SpamBlacklist->filter() directly.
- We want to continue to test both IP editing and temp account editing
  paradigms

What:

- Duplicate the testSpam() method to have one invocation run with temp
  users, and a second one with the anonymous IP editing paradigm
- Have the testSpamAnonEditing use a anonymous user object returned from
  user factory, to avoid ActorStore deprecation warnings where the
  mocked wiki ID is null while the wiki's wiki ID is false
- Rename setUp to a "prepareGlobals" method, and invoke this after the
  enable/disable temp account method. That's needed because
  disableAutoCreateTempUser ends up invoking resetServices()

Bug: T355879
Change-Id: I604c521f00d5cc64b8102c93f9a013bcac557001
2024-03-07 10:53:17 +01:00
Translation updater bot b9989b369d Localisation updates from https://translatewiki.net.
Change-Id: Ia75157237bb6efee8164be6048055153f61daff1
2024-02-26 08:37:04 +01:00
Translation updater bot 16641661ac Localisation updates from https://translatewiki.net.
Change-Id: I83d48f15073e1a48186d15448d63a15a5c02d595
2024-02-23 08:45:17 +01:00
Translation updater bot e0eb2c35c2 Localisation updates from https://translatewiki.net.
Change-Id: I8e527b1d9b320845ba86f4ffc88193fb956fc194
2024-02-19 08:41:03 +01:00
libraryupgrader fb751efbc5 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* grunt-banana-checker: 0.11.0 → 0.11.1

Change-Id: I7ad279ce54fd99dcdef439718b32baad112de9e9
2024-02-12 19:01:28 +00:00
libraryupgrader af8a304473 build: Updating npm dependencies
* eslint-config-wikimedia: 0.25.0 → 0.26.0
* grunt-eslint: 24.0.1 → 24.3.0

Change-Id: I4f0e600160e7e16a722ad7d852cb558b417418f6
2024-02-09 17:25:00 +00:00
libraryupgrader 84b8a2aa3e build: Updating npm dependencies
* eslint-plugin-compat: 4.0.2 → 4.2.0
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* semver: 7.3.5 → 7.5.4
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* word-wrap: 1.2.3 → 1.2.5
  * https://github.com/advisories/GHSA-j8xg-fqg3-53r7

Change-Id: I7657babf43891ff485745aff1b1c3aad583d2acf
2024-02-04 12:01:41 +00:00
Translation updater bot dd513577b9 Localisation updates from https://translatewiki.net.
Change-Id: Ic6d381ef730e0b41661a32e2ac761fabb90b13c6
2024-01-31 08:29:41 +01:00
Translation updater bot c57745d68c Localisation updates from https://translatewiki.net.
Change-Id: I491b30ea7f124967ccfbcefb619cc8d033467ebc
2024-01-28 16:08:03 +01:00
James D. Forrester 5f1d2eb5f5 extension.json: Drop RL targets definitions, no longer honoured
Bug: T328497
Change-Id: Ibf39a95210ea227909a0081c76829d60eaa5c8a3
2024-01-12 08:52:23 -05:00
Umherirrender fc369e9457 Use namespaced classes
This requires 1.42 for some new names

Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I9a7df2df9407ef10d855bc19db247983682a5fc8
2024-01-05 19:28:12 +01:00
Translation updater bot 645f4b3c6a Localisation updates from https://translatewiki.net.
Change-Id: I696e0569455724d2bae565c3ce2b9b74c2430ff6
2024-01-02 10:17:26 +01:00
Translation updater bot 9c3fe8ecdf Localisation updates from https://translatewiki.net.
Change-Id: I3a69dfcd10e854692260a1a466f8b86c897e0228
2023-12-22 17:46:52 +01:00
Translation updater bot b437e636ba Localisation updates from https://translatewiki.net.
Change-Id: Iad9a07e9d248c6093925e4dc1efa9db74220f3a8
2023-11-27 08:33:25 +01:00
Translation updater bot a208dece8f Localisation updates from https://translatewiki.net.
Change-Id: I402c7b34fa5844ead35e6ffb607462d61a356c06
2023-11-06 08:57:49 +01:00
Umherirrender 54bb17f0a0 tests: Use assertStatusOK for better failure messages
Change-Id: I1bd4665024a311c4264b9bb680c6d6b4c31be333
2023-10-27 16:20:53 +02:00
Translation updater bot ce0cafb4ba Localisation updates from https://translatewiki.net.
Change-Id: Iba1643d854c4546a3b3af804d2fc99be82268c8d
2023-10-16 09:16:37 +02:00
Translation updater bot a53cdd09a8 Localisation updates from https://translatewiki.net.
Change-Id: Ib05a58730470e0a54ded5e09664ae773d9432f97
2023-09-07 11:13:49 +02:00
jenkins-bot 7461aed80e Merge "build: Update MediaWiki requirement to 1.41" 2023-09-05 21:38:12 +00:00
Translation updater bot e4a69297e6 Localisation updates from https://translatewiki.net.
Change-Id: Ic1d2a04a12c949e283b09b7e1268ddac72dc3e41
2023-08-23 08:40:33 +02:00