Commit graph

238 commits

Author SHA1 Message Date
Translation updater bot 9e3d33ba19 Localisation updates from https://translatewiki.net.
Change-Id: I88de890b6bf74aeed03ce469cb58ae6d56e092cd
2023-08-28 09:31:06 +02:00
SecureLinkFixer updater bot 0aade52b79 Updating domains.php from Mozilla
Change-Id: I34ae3451a2f1a559ebd3b3085e9a75a5977d083b
2023-08-27 00:01:25 +00:00
James D. Forrester 4f66c3613e build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I6122a963f04c77ff30cf602bc5cf0fb528281bb1
2023-08-19 14:05:43 +08:00
SecureLinkFixer updater bot 81eb141e53 Updating domains.php from Mozilla
Change-Id: Ib49877e9d81116029906a11db0a3a830afb49f9f
2023-07-30 00:02:48 +00:00
SecureLinkFixer updater bot 00968cdb38 Updating domains.php from Mozilla
Change-Id: I806ea78228c8721acdae6ecc0e4861042d1ff60f
2023-07-23 00:02:08 +00:00
SecureLinkFixer updater bot adb8d7076b Updating domains.php from Mozilla
Change-Id: I8ea6bd5a6b8b2ffe95d9c365e8e322a011829736
2023-07-09 00:01:10 +00:00
SecureLinkFixer updater bot 17aebfbb8d Updating domains.php from Mozilla
Change-Id: Id60349e6253f1fbdb534004a49edadf5ea78264b
2023-06-25 00:02:05 +00:00
SecureLinkFixer updater bot 0b5e83a72a Updating domains.php from Mozilla
Change-Id: I97418f617d9e5bf6c67f79e3bc50a39c59710250
2023-06-18 00:03:38 +00:00
thiemowmde e5df1df69e Lazy load large domains.php file only when it's really needed
I have seen this popping up once in a recent flame graph. I think most
services should be designed in a way that they can be instantiated
very quickly and only start doing expensive stuff when we are sure we
really need it. This was not the case here. The file domains.php is
about 150,000 lines long and can take several 100ms to load in the
worst case.

Bug: T200758
Change-Id: I7c0c787230e8cff40e8e73fede0ac1dce63ea1ca
2023-06-14 22:19:40 -04:00
SecureLinkFixer updater bot b7a6a9e3e4 Updating domains.php from Mozilla
Change-Id: Ia01b33e5523502465def79d4a7ea4d8366ac980d
2023-06-11 00:01:47 +00:00
SecureLinkFixer updater bot 562b6045f1 Updating domains.php from Mozilla
Change-Id: Ia82d78e3d50a5cd98f90287cfc5da7dbf403fc24
2023-06-04 00:06:26 +00:00
libraryupgrader f05fd5fe94 build: Updating grunt-banana-checker to 0.11.0
Change-Id: I6bb4887d6bdc6da9714f6466416ea2014c32aa89
2023-06-02 02:35:11 +00:00
SecureLinkFixer updater bot 9fd3b35bee Updating domains.php from Mozilla
Change-Id: I6287764722d4e650baedda6c31e9e5e1e143270a
2023-05-28 00:03:14 +00:00
SecureLinkFixer updater bot 0018b098f5 Updating domains.php from Mozilla
Change-Id: I6640f35ae0d5bf62cb51ed458fef4db42b02affa
2023-05-21 00:01:44 +00:00
Umherirrender da8ba82393 tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: I7cc7ccda4db61bc20f6b3ee225c9a5b7d484dd88
2023-05-20 14:02:30 +02:00
SecureLinkFixer updater bot b5c4c045c2 Updating domains.php from Mozilla
Change-Id: I5a07d2efcf7108bc3829dd0e8fe2ccab71821ca5
2023-05-07 00:02:12 +00:00
libraryupgrader f20f9ea903 build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: Ifff106500dc432e703411a5cb2047f889474645f
2023-05-05 12:41:41 +00:00
SecureLinkFixer updater bot 66e2718979 Updating domains.php from Mozilla
Change-Id: If0286a65edb48b30d05e1988d04cb473b201a9ea
2023-04-30 00:01:03 +00:00
libraryupgrader 30a2ec852f build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: I599665b397b5320f59aea58ba31cfcf508eabb0e
2023-04-29 10:26:22 +00:00
SecureLinkFixer updater bot f84834bddd Updating domains.php from Mozilla
Change-Id: I03fdb5b52e317bf583b5aea9c949409e32cac3db
2023-04-23 00:01:56 +00:00
SecureLinkFixer updater bot 1951a75f5f Updating domains.php from Mozilla
Change-Id: I6d6e6483fd660d90fe54fd948f98cf493a9232c2
2023-04-16 00:02:19 +00:00
SecureLinkFixer updater bot 39d7a6f4a1 Updating domains.php from Mozilla
Change-Id: I35f07d9d96bb6c2c2adbb75ea2bf5e8bd2c6220a
2023-04-09 00:01:38 +00:00
SecureLinkFixer updater bot a68b87d093 Updating domains.php from Mozilla
Change-Id: Ic2006f764c63d87a985f71d783fb6a16f7f4a022
2023-04-02 00:00:53 +00:00
SecureLinkFixer updater bot d387adfc32 Updating domains.php from Mozilla
Change-Id: I20752f3de76c8e18fad02cce5c7011eba1e282b2
2023-03-19 00:00:39 +00:00
libraryupgrader 2e96eeee00 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1

Change-Id: Iad89dea579365887cda36fca20d4815ce9408546
2023-03-16 06:38:58 +00:00
libraryupgrader 64edc1f367 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: I6b0ec76bdeb6940da6eaab11d48a2bc2958e29dd
2023-03-13 04:08:00 +00:00
SecureLinkFixer updater bot d3582c0ea6 Updating domains.php from Mozilla
Change-Id: Idf2d275a4276460aca2ee0d57df035f59e18b9e4
2023-03-12 00:01:07 +00:00
SecureLinkFixer updater bot 02db54be9c Updating domains.php from Mozilla
Change-Id: I2b0c87ecdef980443a4190d038aadaee16963979
2023-03-05 00:00:43 +00:00
SecureLinkFixer updater bot 392c5d189d Updating domains.php from Mozilla
Change-Id: I38eafceb91b1aee0d243abc865eb2206da2fe97b
2023-02-19 00:00:42 +00:00
SecureLinkFixer updater bot 7d003654f9 Updating domains.php from Mozilla
Change-Id: I2b55daddfdd33932d52818dd92ab53d4d1de47f4
2023-02-12 00:00:40 +00:00
SecureLinkFixer updater bot a2c081d0ad Updating domains.php from Mozilla
Change-Id: I6e8f90e0b2f19c629db6cbdc0b91fede0064f8ff
2023-02-05 00:00:38 +00:00
SecureLinkFixer updater bot 0202680d39 Updating domains.php from Mozilla
Change-Id: I1a289164f4dc1bc339c38ad4618b8b345c09ad70
2023-01-29 00:00:52 +00:00
SecureLinkFixer updater bot 920904b444 Updating domains.php from Mozilla
Change-Id: I8c82a670c62b91347dca7399b6eac9c8dd15e15b
2023-01-22 00:01:07 +00:00
SecureLinkFixer updater bot d4b90cc343 Updating domains.php from Mozilla
Change-Id: I0531c2b23973872bd53a0868609267859e3c3dc6
2023-01-15 00:00:38 +00:00
SecureLinkFixer updater bot 5af963505a Updating domains.php from Mozilla
Change-Id: I2cd59fdbdb099827fef3f7554f5b5fa88ce74a53
2023-01-08 00:00:38 +00:00
Alexander Vorwerk fecbbea085 Update domains.php from Mozilla
Change-Id: Icfb3373d549a7c588310bcfc4cc78b5a9b4ff2d0
2023-01-04 00:15:33 +01:00
libraryupgrader 0b37a340b7 build: Updating mediawiki/mediawiki-codesniffer to 40.0.1
Change-Id: Ifd5d13747b33681456f7267b68d605f35351a2ad
2022-11-16 16:12:33 +00:00
Alexander Vorwerk b0791f0bf3 Update domains.php from Mozilla
Change-Id: I3ae6765c044575bd7e907ffcc557debfb720e49f
2022-11-03 22:49:28 +01:00
Translation updater bot 6465b0462d Localisation updates from https://translatewiki.net.
Change-Id: I308c2a8912aefb1966c953b4ffd70988112ab7f5
2022-10-26 08:20:00 +02:00
libraryupgrader 7f0b091873 build: Updating minimatch to 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: I8e677ae7d387c3980bfdf2cedfa81e5f3f28f6cf
2022-10-21 15:27:51 +00:00
libraryupgrader 256fe3650b build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: I49878345a7cd4b45833fd11a63779407c3134c13
2022-10-09 10:05:14 +00:00
Reedy 4341066093 tests: Replace assertRegExp with assertMatchesRegularExpression
The method was renamed in PHPUnit 9.

Bug: T320334
Change-Id: I0a3f80ca07eecede80e21c4937ce70ef557c5ca7
2022-10-08 23:55:14 +01:00
libraryupgrader 0c45f09e32 build: Updating grunt-banana-checker to 0.10.0
Change-Id: I2fce55e8da81268f54d6e4328cf346519e52f97e
2022-10-07 05:31:04 +00:00
Translation updater bot b58ad43fa6 Localisation updates from https://translatewiki.net.
Change-Id: Ia25c55181a96dc1612c0c3c88fb42e2b9b7690b0
2022-09-28 08:22:42 +02:00
Alexander Vorwerk 3688e145f2 Update domains.php from Mozilla
Change-Id: I262d497235b12f5b5bcfe5d73182d3834523519d
2022-09-25 20:01:31 +02:00
Reedy ef73b2224a extension.json: Bump required MW version to >= 1.35.0
1.34 doesn't have PHP 8 polyfills, nor does it require PHP >= 8.0

Follows-Up: Ibc0cbe5f7f14bd56d4e126fa7ed183a807d9a99c
Change-Id: I3aed519a755c5b4812c5c2d21dafb04e7f376884
2022-08-28 18:23:28 +01:00
Reedy b5c04d58c2 Updating domains.php from Mozilla
Change-Id: I3d1b850839419a77937ebbf672a1ae2f83c79c2d
2022-08-28 18:20:11 +01:00
Umherirrender f49dab01a1 Improve performance of string operation on domain lookup
The benchLookup.php shows that the lookups take half the time as before,
without more memory

In the lookup use offsets instead of preg_replace to create the smaller
strings, also simplify the return

In the hook handler use str_starts_with to check start of string,
strpos needs to scan the whole string for a negative check,
but we need only need information about the begin

Bug: T316443
Change-Id: Ibc0cbe5f7f14bd56d4e126fa7ed183a807d9a99c
2022-08-27 19:35:03 +00:00
Translation updater bot 6017162947 Localisation updates from https://translatewiki.net.
Change-Id: I5878b830330830945f41f0c31435b167c2951b98
2022-08-22 08:23:49 +02:00
Reedy c578d56db4 Updating domains.php from Mozilla
Change-Id: I4b07cc52233b632635d26396050961245615627b
2022-08-05 23:28:36 +01:00