Commit graph

1249 commits

Author SHA1 Message Date
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
Translation updater bot 218f7405f2 Localisation updates from https://translatewiki.net.
Change-Id: Ia454a773daf1682e6c5f4b183b031d0c9f82d160
2023-08-22 09:02:02 +02:00
jenkins-bot dc63bb3141 Merge "Replace some moved Title class uses, now MediaWiki\Title\Title" 2023-08-19 13:18:04 +00:00
James D. Forrester 4eb23258e2 build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I5fa16305724eb8dcbbcc489cbe88c04775e65907
2023-08-19 14:07:29 +08:00
James D. Forrester a8cb9d0aa0 build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I12ae00ecf3e2647f3613b173c6f8b04803c76e41
2023-08-19 14:07:20 +08:00
gerritbot effea0bde6 Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: I36f07ad64f90049b412969654cff0d3da31777e6
2023-08-19 04:19:23 +00:00
Translation updater bot 675b6ac7bd Localisation updates from https://translatewiki.net.
Change-Id: Ic942c29d4355df033287a3e956080652c07f9ee1
2023-08-17 12:10:48 +02:00
Translation updater bot d27d028e52 Localisation updates from https://translatewiki.net.
Change-Id: I780dd089e2d56c1b9f9b2b64edcc57d9089cd43e
2023-08-07 08:39:46 +02:00
Translation updater bot daa70f9235 Localisation updates from https://translatewiki.net.
Change-Id: I97c9fc3feacf64619fda4b7dae741e10d44c5831
2023-07-31 09:01:09 +02:00
Translation updater bot a011ca6b2c Localisation updates from https://translatewiki.net.
Change-Id: I440954954bbf732a887f9b4b185c1fcc3b2c074f
2023-07-21 08:42:38 +02:00
jenkins-bot 0c5c35bf59 Merge "Disable remote loading during PHPUnit tests" 2023-07-04 08:42:59 +00:00
Tim Starling 51941a42ec Disable remote loading during PHPUnit tests
Bug: T65015
Change-Id: I205c5e247f314f734178f6c745eaa507f736083a
2023-07-04 09:37:12 +10:00
Translation updater bot cfb064f276 Localisation updates from https://translatewiki.net.
Change-Id: If9a4a4f3c3033c398f6d621156902b3a8f53e282
2023-07-03 10:16:30 +02:00
Translation updater bot c3c92b748f Localisation updates from https://translatewiki.net.
Change-Id: I9d504ad1e89badfcf18f10d925bffbaece81be3d
2023-06-26 12:40:59 +02:00
Umherirrender 713263f5ce api: Remove old apihelp i18n description messages
No longer used since 1.33

Automatically removed message keys with "doc-apihelp-description" in qqq

Bug: T340253
Change-Id: Id93315f30badbe0b52511afcb99bad693e935392
2023-06-24 00:21:43 +02:00
Translation updater bot 754fa4ba22 Localisation updates from https://translatewiki.net.
Change-Id: Ia3e74cb71f9e49d1cffed6e31b97942754fdbbb2
2023-06-19 11:08:06 +02:00
Translation updater bot 555e9d6a7e Localisation updates from https://translatewiki.net.
Change-Id: I19d32cc39a3393d6aee56e522715e85ad27f03f8
2023-06-14 13:07:59 +02:00
Translation updater bot 313916f192 Localisation updates from https://translatewiki.net.
Change-Id: I13f541b49be378a84d2d090d9b2cfc00b780b3b4
2023-06-12 13:08:15 +02:00
libraryupgrader ca9c956a0f build: Updating grunt-banana-checker to 0.11.0
Change-Id: I4d72f2ba13439e06f9154024decfd01dca0b2f43
2023-06-02 03:17:21 +00:00
Translation updater bot f76148fb6f Localisation updates from https://translatewiki.net.
Change-Id: I7bb28610b51d4be6c5a6ddf35a965f22472e8cd5
2023-05-31 08:21:01 +02:00
Amir Sarabadani a4484d08e8 Avoid checking for email denylist if user has sboverride right
Similar to the ones above

Change-Id: I3b7e0596eed2c8abe02762a13dde9adc64e17a9f
2023-05-30 09:09:00 +02:00
Translation updater bot d81428eb85 Localisation updates from https://translatewiki.net.
Change-Id: I44af42c6e3dd144ee8f7caed828f25491d3fe831
2023-05-29 10:00:07 +02:00
Kunal Mehta 498738a54f Grant bots the "sboverride" userright by default
It's kind of useless to not give this right to anyone by default since
the whole point of introducing the userright was to use it.

Bots are a good place to start as they're usually pre-vetted and
normally just copying already existing links when being blocked
(e.g. archive bots).

Bug: T313107
Bug: T334344
Change-Id: Ib0ff42ed730d3fe5f5bb6c06f0a87b4959c1f989
2023-05-27 02:28:15 -04:00