Commit graph

1981 commits

Author SHA1 Message Date
Translation updater bot 7fdf15b188
Localisation updates from https://translatewiki.net.
Change-Id: Ifd0a44e168b48b8eb9833827eb082746ba02ff43
2024-10-30 07:33:08 +01:00
Translation updater bot 36d9d81acf
Localisation updates from https://translatewiki.net.
Change-Id: I775cf48f8f92a45299fd9e4453d7443e9bb77aa4
2024-10-16 10:44:19 +02:00
Translation updater bot 06f76e5fff
Localisation updates from https://translatewiki.net.
Change-Id: Id8ab98af8674b66f05aaf1b5b1f95cb4cf80bec0
2024-10-02 08:37:18 +02:00
Translation updater bot 91409de309
Localisation updates from https://translatewiki.net.
Change-Id: I0c28127001f28968824f1d82efa02a6cd9d16381
2024-09-25 08:44:39 +02:00
Translation updater bot 49c708a373
Localisation updates from https://translatewiki.net.
Change-Id: I5c5660e242402a7da802443299235b376fccc3a7
2024-09-04 07:51:29 +02:00
libraryupgrader 4b63b255e2 build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: I46b2eab074dddd9da4efd6b5d2ccbebcbf154d98
2024-08-29 03:33:15 +00:00
Translation updater bot 3203c550f5
Localisation updates from https://translatewiki.net.
Change-Id: I79a8f02b09b998beb1e30fb9441927a324ba8b3a
2024-08-21 08:13:23 +02:00
Translation updater bot f19d12011b
Localisation updates from https://translatewiki.net.
Change-Id: I6c49d583cc23238df542bb4220d472d18e8889c4
2024-08-14 07:55:04 +02:00
Translation updater bot 03c7fc3afb
Localisation updates from https://translatewiki.net.
Change-Id: I43db2dace8bb9d8b45676575c69701990a204abb
2024-08-07 07:55:00 +02:00
Translation updater bot 9c68da5a2f
Localisation updates from https://translatewiki.net.
Change-Id: I65eeb229497753af81f230f8a9fb606a37ec6cc5
2024-07-31 08:16:55 +02:00
Translation updater bot 5c867c1e9f
Localisation updates from https://translatewiki.net.
Change-Id: I2dd0c763c41d4358a6877baae556768330b1eb88
2024-07-17 08:15:23 +02:00
Translation updater bot 7b99c95f58
Localisation updates from https://translatewiki.net.
Change-Id: I44565c165d48f237130e93e89f007670eafa53f2
2024-07-10 08:08:11 +02:00
Translation updater bot 63e6fe4013
Localisation updates from https://translatewiki.net.
Change-Id: I2848d4bf0d571d3fa404af3ce7f4636cc4989438
2024-07-03 08:06:23 +02:00
Translation updater bot cf723baff8
Localisation updates from https://translatewiki.net.
Change-Id: I8154f56e9034ddf737dfddc30b73d69c589e9bb7
2024-06-19 08:28:42 +02:00
libraryupgrader 2463e4da1b build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: I0e80fa97f4519c0fdf0c985d7fd6df5584a5f2a1
2024-06-15 22:58:02 +00:00
Translation updater bot b0c8923f1e
Localisation updates from https://translatewiki.net.
Change-Id: Ieab47fb71ec96db240740edb8b51c8e39e7953ce
2024-06-12 08:32:52 +02:00
Translation updater bot 00b864ce76 Localisation updates from https://translatewiki.net.
Change-Id: I108f11f97791972226fe7b1a6b8fdb3254f24b7a
2024-06-05 08:12:42 +02:00
Translation updater bot 0bddbb8edc Localisation updates from https://translatewiki.net.
Change-Id: Ic337596c0edb1a2ae04349a843e81049c4fac269
2024-05-29 08:44:51 +02:00
Translation updater bot a7a9012cd1 Localisation updates from https://translatewiki.net.
Change-Id: Id6e59c42863e4c5d9014d8eb212451c0713330b7
2024-05-22 07:53:38 +02:00
Translation updater bot 84c0d0d11a Localisation updates from https://translatewiki.net.
Change-Id: I3a149805dbda4aad8772e7d9d7fc42131b4b33ee
2024-05-08 08:24:17 +02:00
Translation updater bot d4cb974c15 Localisation updates from https://translatewiki.net.
Change-Id: I8a48922524590b27f815b537674f46d249662968
2024-05-01 08:08:19 +02:00
Translation updater bot 5d15a44543 Localisation updates from https://translatewiki.net.
Change-Id: Ifad86eac9aac1fbd8e7ad1bf8573f34d2d035d72
2024-04-24 07:52:56 +02:00
Translation updater bot a2f4dff502 Localisation updates from https://translatewiki.net.
Change-Id: Ifed333fd4da5c214abdbd40cf8cf825d814e9783
2024-04-10 07:52:03 +02:00
Translation updater bot 825e1203b0 Localisation updates from https://translatewiki.net.
Change-Id: Ic942b2c074228dff48218fd3beccd545852a8181
2024-03-13 07:03:59 +01:00
Translation updater bot d9df5c18b9 Localisation updates from https://translatewiki.net.
Change-Id: I823f106bc43871f7820474c0367e46cde4bdab29
2024-03-06 07:18:04 +01:00
Translation updater bot db0c314ea6 Localisation updates from https://translatewiki.net.
Change-Id: I24eb0370fb68f5d85bbfbf598cd76319202fff9b
2024-02-28 07:18:07 +01:00
Translation updater bot 4edf346e06 Localisation updates from https://translatewiki.net.
Change-Id: If171f9322b38f653b9969fb33a64045e218a05a9
2024-02-21 07:17:52 +01:00
Translation updater bot 008ed88850 Localisation updates from https://translatewiki.net.
Change-Id: Id14fe977bbd199f40b698fe5a7d2c1941e5446e2
2024-02-14 07:21:40 +01:00
libraryupgrader 709ade604f build: Updating npm dependencies
* eslint-plugin-compat: 4.1.2 → 4.2.0
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* postcss: 8.4.19 → 8.4.35
  * https://github.com/advisories/GHSA-7fh5-64p2-3v2j
* semver: 5.7.1, 6.3.0, 7.3.8 → 5.7.2, 6.3.1, 7.6.0
  * 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: I0ff4709b4e8995eb4f24d03d9665d23f859a1645
2024-02-09 12:46:32 +00:00
Translation updater bot 6e9fbbe237 Localisation updates from https://translatewiki.net.
Change-Id: Id8fc1229dfbee108bc860dbb7892a8480968e294
2024-02-07 07:32:58 +01:00
Translation updater bot 9304571335 Localisation updates from https://translatewiki.net.
Change-Id: Icd64b70ece970c5bb8704c1611f9abec41012988
2024-01-24 07:34:41 +01:00
Translation updater bot c152e6a97a Localisation updates from https://translatewiki.net.
Change-Id: I2fa511d350d8284884813622f7da1f391292a88a
2024-01-10 07:42:59 +01:00
Translation updater bot f728c15caf Localisation updates from https://translatewiki.net.
Change-Id: I11b1ae0d84baf4ef1122b0b6b5e3a7d19aaecd8c
2023-12-27 07:13:49 +01:00
Reedy 4b702cbc54 LuaBit: Minor cleanup
Bug: T353678
Change-Id: I19527eb162c20b5a6017dc3c4dd2b98bf5cad5d9
(cherry picked from commit 836baa7142)
2023-12-19 21:44:59 +00:00
Reedy e891a9f025 LuaBit: Save files with unix EOL
Change-Id: Ia757198e32e2beb060ccee9577012bf3c91d49e5
(cherry picked from commit 54e9dd05be)
2023-12-19 21:42:16 +00:00
Translation updater bot 97cfaab70d Localisation updates from https://translatewiki.net.
Change-Id: I0d34a12b1c69b8bc211930a3709f3bf8013945c7
2023-11-29 08:00:58 +01:00
Translation updater bot d4372d0aad Localisation updates from https://translatewiki.net.
Change-Id: I14930075b6996138aa50d92f303f80beb227d41e
2023-11-01 07:58:04 +01:00
Translation updater bot 58d30b0f2b Localisation updates from https://translatewiki.net.
Change-Id: I37dfa8e6940a26100ac21866448dfe11d56644ca
2023-10-25 07:30:22 +02:00
Translation updater bot 8b38961ba2 Localisation updates from https://translatewiki.net.
Change-Id: Ie5e5e732ee3e737754ecfc471596b582b93f6a35
2023-10-18 07:23:29 +02:00
Umherirrender 29a9a8aec6 build: Change phan suppression to @phan-var for proc_get_status return
phan under php8.1 also detects PhanImpossibleTypeComparisonInLoop here,
but that cannot suppressed under php7.4,
so use @phan-var to set to the correct type, but keep the comment.
The suppression was added with 8328acb9 for a update of phan

According to the doc proc_get_status can only return array
(at least under php8.1)

Change-Id: Ieda5abc30126eed2e3a9f5fc283d36e64180f496
2023-10-06 19:37:10 +00:00
Umherirrender d734759316 tests: Declare class properties in LuaEngineTestHelper
Dynamic properties are deprecated under php8.2

Change-Id: I062f034295bf951d5761571e20d3e6d45df85ac3
2023-10-06 20:19:22 +02:00
Umherirrender e126de6a78 Rethrow TimeoutException when using mw.language.formatDate function
timeout while converting timestamps should be a timeout for the whole
parse of that wikitext and not hidden by a invalid time.
Just let the exception bubble up to the caller
See ca71e69f for more information

Change-Id: I1f44e45dcc9b052717814990a3f5ce3a1bdf9d26
2023-10-02 21:03:02 +02:00
Translation updater bot a63d074572 Localisation updates from https://translatewiki.net.
Change-Id: I101ad1c679e8885f125dc67c3b999d947e3423e5
2023-09-25 08:46:56 +02:00
Umherirrender 80198cd635 Use ::class for class name resolution
Change-Id: I92a73fd6eccd3cf963ce1ff50ccf4f7aac6a0e1e
2023-09-21 22:46:00 +02:00
Translation updater bot c81f3aec5f Localisation updates from https://translatewiki.net.
Change-Id: I50d2512cf628fd7c4613b838f358f0d8eee7e48a
2023-09-18 08:44:49 +02:00
Jdlrobson 77286ebc87 Revert "Replace use of ParserOutput::addJsConfigVars(), deprecated since 1.38"
This reverts commit 9f8d16f9c9.

Reason for revert: Causes internal error on certain pages.

Bug: T346094
Change-Id: Ia9ccffbbbe2fe2413b54fb5e16f5cfc53527990e
2023-09-11 20:18:13 +00:00
C. Scott Ananian 9f8d16f9c9 Replace use of ParserOutput::addJsConfigVars(), deprecated since 1.38
Most uses can be replaced with ::setJsConfigVar(); the major semantic
change is that ::setJsConfigVar() is not expected to overwrite
previous values.  That *may* be an issue here, but if so it's not
a change from existing behavior, as the way ::addJsConfigVars() was
being called it would override previous values as well.

Bug: T300307
Bug: T305161
Change-Id: Ibd3fbcbc774491179b0d4fe29ba3b6a128220703
2023-09-11 16:55:54 +00:00
Lucas Werkmeister b39d3589ba Remove Database group again where possible
Override the target language in the parser options, so that it isn’t
looked up from the database; this lets UriLibraryTest avoid database
access. And since the Database group is no longer strictly required,
remove the statement to that effect from the phpdoc again.

Bug: T345372
Change-Id: I79f35257b123eb939d9ab67b16aa56d34586bb67
2023-09-06 11:33:42 +02:00
Daimona Eaytoy 7e54c088ac Avoid DB access in databaseless tests
- Force a content model on the title used by LuaEngineTestBase, so that
  calls to getPageLanguage() won't end up hitting the DB
- Don't actually use SiteStats from SiteLibrary in unit tests. There
  seem to be no test actually using this data.

Bug: T345372
Change-Id: I35884f04b582678982fb5f64d9199bab41cd8bce
2023-08-31 19:12:55 +00:00
Lucas Werkmeister ea0707c437 Add UriLibraryTest to Database group and add advice for others
All LuaEngineTestBase subclasses must be in the Database group, as far
as I can tell it can’t be avoided. (Several already are anyway.) We
can’t centrally do this in the base class anymore (needsDB() can no
longer be overridden), so just add it to the phpdoc here.

Bug: T345372
Change-Id: I47016ec84ed227f755f94a383bee8053975b4c81
2023-08-31 18:08:37 +02:00