Commit graph

1289 commits

Author SHA1 Message Date
Umherirrender 4bac912eb3 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: Ifa450560a587a9d51de91b6f5a855f82d4fd8fe4
2024-10-20 11:55:49 +02:00
Translation updater bot f3a1e39c31
Localisation updates from https://translatewiki.net.
Change-Id: I2f93df9ea7856e5b24aa7949e826fdf9a66de004
2024-09-02 09:21:36 +02:00
libraryupgrader 19227e2853 build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: I71e3ae6a1ecb678d3fc29d9cb702fd28925de2bd
2024-08-30 04:06:43 +00:00
Translation updater bot 8233768eed
Localisation updates from https://translatewiki.net.
Change-Id: I8d6fa8bb395df60163f43436c884b099cd24ae75
2024-08-28 09:40:18 +02:00
Translation updater bot fd92dd6e91
Localisation updates from https://translatewiki.net.
Change-Id: I828a7a5d55dd18561b5abb3b28c50807b23e0c70
2024-08-26 09:23:20 +02:00
Umherirrender 232d0293e6 Parse message for Html::errorBox
Follow-Up: I6897388ef05b5f1d61f09caaa9c328cdbe84f431
Change-Id: I52ec756a8e722fe82b333e3a764af0c763722e4b
2024-08-24 23:06:57 +02:00
jenkins-bot 051766563d Merge "build: Update MediaWiki requirement to 1.43" 2024-08-24 11:37:56 +00:00
Translation updater bot 60236c6b22
Localisation updates from https://translatewiki.net.
Change-Id: Icabef615ab7dd167f567d87ca063fc26832c21e7
2024-08-23 09:47:08 +02:00
James D. Forrester 3db06b08ce build: Update MediaWiki requirement to 1.43
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: Ic5d8c66a40d83169450dd664060e4ca5d4bd7f92
2024-08-22 18:24:11 -04:00
Fomafix fd5995b244 Use overrideConfigValue instead of setMwGlobals
Change-Id: I0ca6f1c546b6284d30c9251ee1719baa86e33bfc
2024-08-22 20:02:21 +00:00
Translation updater bot 8124b9eb6c
Localisation updates from https://translatewiki.net.
Change-Id: I304143dc9ca30fb5537d062ca8a64795575a595d
2024-08-19 09:25:11 +02:00
libraryupgrader 76fbfa4974 build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: Id26cfbc3480d16f366d7c4ea0455122399cc45e8
2024-08-12 04:14:16 +00:00
Translation updater bot 35fb14f41e
Localisation updates from https://translatewiki.net.
Change-Id: I3f29374e2b4c8f796f984fc2e3be8b27d5687b33
2024-08-05 09:25:49 +02:00
Translation updater bot 20cd224eda
Localisation updates from https://translatewiki.net.
Change-Id: I3d5b5ccdf2bd6041f69c683ca23ea85100004fd8
2024-08-02 09:40:50 +02:00
Translation updater bot f1a5709bb5
Localisation updates from https://translatewiki.net.
Change-Id: Ie5f8daacb384a6eb8dd0b565949a31309c5a0fa6
2024-07-15 09:24:51 +02:00
libraryupgrader 19120607fb build: Updating eslint-config-wikimedia to 0.28.2
Change-Id: I43454bdeda4cb5fc99976828af77655695c03fac
2024-06-22 02:07:34 +00:00
Translation updater bot 162b06ea3b
Localisation updates from https://translatewiki.net.
Change-Id: I587b64c3109751386580163875f1a871e2cfd54a
2024-06-18 09:28:12 +02:00
Translation updater bot e6a2bc53e1
Localisation updates from https://translatewiki.net.
Change-Id: Ic601b34587862d9f83481bc8ee67b8f406ec5762
2024-06-17 09:32:56 +02:00
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