Commit graph

676 commits

Author SHA1 Message Date
Umherirrender 4b45420cec Pass function name to IDatabase::onTransactionCommitOrIdle
Change-Id: I1baac429c08f95339a7456d6dd5e52b1aee2a69c
2024-09-19 23:31:13 +02:00
Translation updater bot 55060a5a35
Localisation updates from https://translatewiki.net.
Change-Id: If1ff7bdb06f03fc8451eef077f4f10b7fb27eb96
2024-08-28 09:38:50 +02:00
jenkins-bot d7d86c0e5e Merge "Use real type hints for class properties holding injected services" 2024-08-25 11:32:53 +00:00
jenkins-bot 1e6d5ea267 Merge "build: Update MediaWiki requirement to 1.43" 2024-08-24 12:29:21 +00:00
libraryupgrader 4fd78d0825 build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: Ief8a9c4cf1e5d8fc6d154857dcf4fda956f1864a
2024-08-24 06:26:44 +00:00
Umherirrender 87dd7827ee Use real type hints for class properties holding injected services
Provided services are already type-hinted on the construtor
and it is safe to use the same type on the class property

Change-Id: I15b5346353100e2e55d68b0a52fe3398778d60a5
2024-08-23 21:50:41 +00:00
James D. Forrester ece148a71e build: Update MediaWiki requirement to 1.43
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I79fe983cf39d1a2c8f5a96b86d504bc992ef7e60
2024-08-22 17:38:47 -04:00
Translation updater bot a78b263690
Localisation updates from https://translatewiki.net.
Change-Id: Id8ffa4adae3ac3058e0919d25ad653e9e1a0bc02
2024-08-19 09:23:54 +02:00
libraryupgrader f00a300709 build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: Ic124cb710d78e75ddd46a2d3158c0f4b95c7f6ce
2024-08-11 19:44:57 +00:00
Translation updater bot c35018da0c
Localisation updates from https://translatewiki.net.
Change-Id: I9f6b6f8afc5d4e3a0dfae16dc7cafa408517b119
2024-07-31 09:22:58 +02:00
Translation updater bot d357ccc023
Localisation updates from https://translatewiki.net.
Change-Id: Iea4afea6c540aa04ad2b912e7f32a52853b94243
2024-07-29 09:27:33 +02:00
Translation updater bot 583a669619
Localisation updates from https://translatewiki.net.
Change-Id: I82792585a3212b49bc163fe480617c21ab15fabf
2024-07-08 09:33:19 +02:00
Translation updater bot 251b90ac3a
Localisation updates from https://translatewiki.net.
Change-Id: If08bf8f4656b80fad22b37f84ee453546c56da9e
2024-06-28 09:41:58 +02:00
libraryupgrader ca4562725f build: Updating eslint-config-wikimedia to 0.28.2
Change-Id: Ibd3e13db9779ef20da89d93fe131b766482de227
2024-06-22 07:19:23 +00:00
Translation updater bot 034d8d7894
Localisation updates from https://translatewiki.net.
Change-Id: I7d677010ae8c0439d65e0d16cfedc6bef3594868
2024-06-17 09:31:39 +02:00
libraryupgrader e6ab8ea88f build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: I6481f2727956c71172c1406bede7d0a3caa013ac
2024-06-12 00:19:52 +00:00
Umherirrender 5285a10b91 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I8a1b268d94d7ddb4e50ded3cf44aa7a372b58a72
2024-06-09 18:39:06 +02:00
libraryupgrader 31d88415ed build: Updating eslint-config-wikimedia to 0.28.0
Change-Id: Ie6f2c6bc7e2ea87076dc9f359c0ffb68d29886fc
2024-06-08 00:34:34 +00:00
Translation updater bot 4af03fbd4b Localisation updates from https://translatewiki.net.
Change-Id: I06abd6655a977864fa0594b60be5cc11d646fde9
2024-05-30 09:36:51 +02:00
Translation updater bot c3825b8182 Localisation updates from https://translatewiki.net.
Change-Id: I19e92faa4636862af95820ad856fedb310a64f36
2024-05-27 09:29:21 +02:00
Translation updater bot 406ccadf65 Localisation updates from https://translatewiki.net.
Change-Id: I081e1dd6fefe75b1aade8f942e026d07c62bd270
2024-05-22 09:20:41 +02:00
libraryupgrader d010411d4a build: Updating grunt-banana-checker to 0.13.0
Change-Id: Id25ea79f90a67ecb9cfc160b2d3cfb1c6656363c
2024-05-18 15:57:24 +00:00
libraryupgrader 9736eb4f16 build: Updating grunt-banana-checker to 0.12.0
Change-Id: I738856a76cdba8ecfa7d8a29e36e838d68b9b153
2024-05-11 01:57:29 +00:00
Translation updater bot 0ab0648958 Localisation updates from https://translatewiki.net.
Change-Id: I32455ed07139dd5b90f868a836805ab05dbc9cae
2024-05-10 09:29:18 +02:00
libraryupgrader f28fa8915d 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: Ied0958fb8376a7a18dd8ad4c661f26477d944bd1
2024-05-05 21:59:42 +00:00
Translation updater bot bc05842dea Localisation updates from https://translatewiki.net.
Change-Id: I848dbfaf89c7c73ea42097fb95d9a4f00a188eca
2024-04-26 09:48:33 +02:00
jenkins-bot 9dc76fbf83 Merge "Use loginnotify_seen_net table by default" 2024-04-24 07:16:01 +00:00
Translation updater bot 47118f0ef2 Localisation updates from https://translatewiki.net.
Change-Id: I76509cea34aa430e83acf0925dc6f9393d393ad5
2024-04-22 09:28:45 +02:00
libraryupgrader 2a07d8896d build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: Id21110fd0f3b6fedba623a49740c23703055b9cb
2024-04-19 01:03:01 +00:00
Dreamy Jazz 8afd8f865c Use loginnotify_seen_net table by default
Why:
* Because of schema changes being made in CheckUser, the cu_changes
  table will soon only contain rows for edit-like actions. Log
  events, including successful login attempts, will be stored to
  the cu_log_event and cu_private_event tables.
* As the integration with CheckUser is being removed, it does not
  make sense to add support to read data from these tables.
  Furthermore, the schema changes should not break LoginNotify
  which means that no changes are needed to prevent server errors.
* As such, making wikis use the loginnotify_seen_net table by
  default should mean that only third-party wikis which understand
  the deprecation would still continue to use the CheckUser
  integration.

What:
* Set wgLoginNotifyUseSeenTable as true and
  wgLoginNotifyUseCheckUser as false in extension.json

Bug: T362321
Change-Id: Ic1e81c547b6e7e3d012aa91c6bcd2e4b4d0913b5
2024-04-11 13:02:44 +01:00
Translation updater bot caa84fe162 Localisation updates from https://translatewiki.net.
Change-Id: I49527984d35a7d70dc348a94c14cc9267ab69374
2024-04-09 09:27:05 +02:00
Translation updater bot 57dcb88c04 Localisation updates from https://translatewiki.net.
Change-Id: Ifca17a9b436c3fab67cfe3ffec509ed4f9aff393
2024-04-08 09:26:14 +02:00
Translation updater bot f711c0c05c Localisation updates from https://translatewiki.net.
Change-Id: I2174b268304fcf823587b754b43dec21c75e8efa
2024-03-26 08:20:03 +01:00
Translation updater bot 58da740494 Localisation updates from https://translatewiki.net.
Change-Id: If236842d04df119ed8df070c1b56a5bbc1ca4c66
2024-03-18 08:31:18 +01:00
Umherirrender 0cf9669e85 build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: Ibad3f653c0b78249eff781596c567182cce281c6
2024-03-11 19:29:34 +01:00
Translation updater bot 7ae7e22e54 Localisation updates from https://translatewiki.net.
Change-Id: I0f0f96ee1ed2d6ce0de49ce5a140d5f0d834057f
2024-03-06 08:19:57 +01:00
Translation updater bot 2c6dbe2d2f Localisation updates from https://translatewiki.net.
Change-Id: I5a6028f73ae4b5b8f11ca399681b0a3a6d7e52b8
2024-03-05 08:27:49 +01:00
Umherirrender 7fdd24ac9b Use LogicException instead of Exception
Change-Id: I7fcf5e33d1db4d137b0275b0a11f4d69db619515
2024-02-21 22:46:45 +01:00
jenkins-bot c54cea398a Merge "build: Updating dependencies" 2024-02-17 22:49:18 +00:00
libraryupgrader b6289eea14 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: I831a3db961171cba3fd62861a5f6f596d7c51a32
2024-02-16 18:34:43 +00:00
Tim Starling fc9a494f29 Use Database::expr()
Bug: T350980
Change-Id: I369778002a880f1547940a097d96e55bcba9a08d
2024-02-16 14:20:53 +11:00
libraryupgrader e845943d60 build: Updating npm dependencies
* eslint-config-wikimedia: 0.25.0 → 0.26.0
* grunt-eslint: 24.0.1 → 24.3.0

Change-Id: I4e85a5f0b473442f479b06dbcdf2d9d893aee13b
2024-02-09 07:03:19 +00:00
libraryupgrader 624c4002b3 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: I89e57e6bea74bfd3a0875cf927cbfefff3f58929
2024-02-04 03:12:57 +00:00
Reedy d96e30ec80 LoginNotify: Simplify returns in getMinExpiredId()
Follows-Up: Iea716e660353f16c47f873fe42edc2aeec1b4346
Change-Id: Ie351a210eea4eaf4101930fb18e6e149d4294ab4
2024-01-24 22:11:55 +00:00
Umherirrender 7a424d1fdb Stop writing to tablesUsed in tests
Bug: T351733
Change-Id: I6bb37ef79caac7738e70eed54554790deb762149
2024-01-20 12:30:57 +01:00
James D. Forrester 60a0218a1a build: Update MediaWiki requirement to 1.42
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I57fbf5626575b7f1d7df67f6aecbb99d04504210
2024-01-12 14:12:07 -05:00
Umherirrender 160368a296 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I8943e4e63fb41ca758c9ed25a4abb7664e13bb9f
2024-01-06 17:07:32 +01:00
jenkins-bot 255ab2d74f Merge "tests: Pass HideUserUtils to LocalIdLookup" 2023-12-30 21:32:12 +00:00
Translation updater bot cfe84ef605 Localisation updates from https://translatewiki.net.
Change-Id: Iec1178ea12d43afe8859832eabd55de6edbd6d89
2023-12-22 17:46:18 +01:00
Umherirrender 19c781b681 tests: Pass HideUserUtils to LocalIdLookup
Follow-Up: I408acf7a57b0100fe18c455fc13141277a598925
Change-Id: I4f0190b416873a2aae0c579750b4999ba91baa17
2023-12-15 23:31:12 +01:00