Commit graph

1678 commits

Author SHA1 Message Date
libraryupgrader feb9db121d build: Updating npm dependencies
* eslint-config-wikimedia: 0.25.0 → 0.26.0
* grunt-eslint: 24.0.1 → 24.3.0

Change-Id: I91935ed4a8139895552b3775e8ee9fea803c402c
2024-02-09 09:46:39 +00:00
libraryupgrader ee7a0c1a06 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: Ia27c81329f19b54bb7f6e63ae6f90613b058309b
2024-02-04 07:45:07 +00:00
James D. Forrester a70b16936d build: Update MediaWiki requirement to 1.39
Fundraising needs this to still be compatible with 1.39 as the latest
LTS, but at least we can raise it from 1.35!

Change-Id: I3f69e49fe52bd1a042dc3f7177fa311b57d0e15e
2024-01-12 18:16:28 -05:00
jenkins-bot bccd783b45 Merge "Fix implicit conversion to int" 2023-11-22 09:06:40 +00:00
Translation updater bot 078d2a47c9 Localisation updates from https://translatewiki.net.
Change-Id: I8db611775c1725fe33a4a0673493b2731fe282db
2023-11-22 08:20:26 +01:00
Sophivorus 3fc8f0a129 Fix implicit conversion to int
Bug: T351312
Change-Id: Ie4094ffa304b2a301dc32690a89adcd847f43779
2023-11-21 12:50:38 -08:00
Translation updater bot a72753c05c Localisation updates from https://translatewiki.net.
Change-Id: I5e18ddea51cee48505985294112add7f2bbaa45f
2023-11-20 08:51:56 +01:00
jenkins-bot 163ad3f824 Merge "Use HookHandlers for Scribunto hook" 2023-11-06 21:49:27 +00:00
Fomafix 825485042a Remove else after return
This reduces indenting.

Change-Id: I02454fa40cc38a47d146256948decc3d9027cf80
2023-11-02 20:29:24 +00:00
Fomafix d332bcbccd Inject service HookContainer
Change-Id: I4a6292890c4cdad0d8e192e0c9fdc1c24abcd580
2023-11-01 21:34:40 +00:00
Fomafix 0e3cb3e009 Inject services
* LanguageConverterFactory
* LanguageFactory
* LanguageNameUtils

Change-Id: Ifabb61a6cc64bc00ff27aec7048c940df0d81bad
2023-11-01 21:33:33 +00:00
Fomafix 0f4984dc86 Inject service LinkCache
Change-Id: I254a4a20bac60eb505c30ddbf0fd1f5aea9bdd04
2023-11-01 20:29:36 +00:00
Fomafix 4cf0a84ebd Inject service SpecialPageFactory
Change-Id: I8ed6478cc2db8598177d06ed7a5562581f4bc9f9
2023-11-01 20:22:25 +00:00
Fomafix aa79f43d54 Inject service RepoGroup
Change-Id: I37f91c762f4ce22bee13ee8cdd0e2859f76441ec
2023-11-01 20:21:22 +00:00
Fomafix 99507e193d Inject service Config and replace global variables
Change-Id: I67d7b2314d3d519953ad95d18154962252412a8a
2023-11-01 20:04:23 +00:00
Umherirrender 72e956c82a Use HookHandlers for Scribunto hook
Cannot use the interface as the required version is not reached yet.
Cannot bump due to use in fundraising

Bug: T271022
Change-Id: I78771f948d4d1e03fc7565525f562c61af9d749a
2023-11-01 14:10:30 +01:00
zoranzoki21 67df7364be Add magic words for Serbian language
Added magic word for "if" in Serbian (Cyrillic script), and everything in Serbian (Latin script) from Serbian (Cyrillic script).

Bug: T349952
Change-Id: If33383174c9176b1e4018e02de1eea52cf4489ca
2023-10-28 16:20:52 +02:00
Translation updater bot 1dc6926ce4 Localisation updates from https://translatewiki.net.
Change-Id: I9e3e783d046faa12d5157351f8063ec7026c046a
2023-10-23 09:51:10 +02:00
Translation updater bot 43bc169167 Localisation updates from https://translatewiki.net.
Change-Id: Id339431139898c83a73015b4640dd162d89a0cad
2023-10-09 08:56:42 +02:00
Umherirrender 433b5b3788 Remove check for return value false from pow()
phan under php8.1 reports this as impossible
the message is still in use and not removed.

Change-Id: I6dcb7d7f76a659ec20476530ba02a201926a00dd
2023-10-06 19:21:01 +02:00
Translation updater bot ab985b8460 Localisation updates from https://translatewiki.net.
Change-Id: Ic468d20fa508e9ca138df8c5aec8f38ef9d7c2ed
2023-10-05 09:12:07 +02:00
Umherirrender bae978d140 Rethrow TimeoutException when handling {{#time:}} parser 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: I0d0decdeb5f4c14d009c6df2ff37920100ba320f
2023-10-02 21:03:18 +02:00
Translation updater bot d5193a9d98 Localisation updates from https://translatewiki.net.
Change-Id: Ia4f7473da4e39e33e21666dcb3053886de7676b3
2023-09-26 08:44:35 +02:00
Translation updater bot 8bec4481cb Localisation updates from https://translatewiki.net.
Change-Id: I0dade24f23470dc51bc320a686a7f6698e680e94
2023-09-19 09:25:50 +02:00
Translation updater bot 27fbf42e4d Localisation updates from https://translatewiki.net.
Change-Id: Ibd51578a18d12f0d7557c692e10f34b44e2e5905
2023-09-07 11:12:50 +02:00
Translation updater bot e260cf3269 Localisation updates from https://translatewiki.net.
Change-Id: Iffcd20d26a18eafacf2c9737ce1bf7261e95f74a
2023-08-28 09:30:39 +02:00
Translation updater bot 16a8ce58b7 Localisation updates from https://translatewiki.net.
Change-Id: I7a5747f611f5dfc2c8b85b814fd5410cf2e9be13
2023-08-07 08:39:20 +02:00
Translation updater bot 9d0bc17ffd Localisation updates from https://translatewiki.net.
Change-Id: I76c76a31f8dc68ec68a07f65870d612251305666
2023-07-24 09:39:14 +02:00
Winston Sung cabeecef03 Follow-up of "Localisation updates from https://translatewiki.net."
Change-Id: I3a48f26f1b2d529d3d8fdd70e86671e2f8b0b057
2023-07-17 08:53:48 +00:00
Translation updater bot f252a24639 Localisation updates from https://translatewiki.net.
Change-Id: Iff0125f6740d284a5189083aca6e51c5290825e4
2023-07-17 10:18:22 +02:00
Translation updater bot d65caf6eac Localisation updates from https://translatewiki.net.
Change-Id: Ica9c126f04096b9c33256b61b81c31c6ba3e75fb
2023-06-19 11:07:44 +02:00
libraryupgrader 4521f4059a build: Updating grunt-banana-checker to 0.11.0
Change-Id: I907c5c67bb8916527381af0bbfdc6e23f6352707
2023-06-01 23:41:29 +00:00
Umherirrender a30fb4b54b tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: I38462a30a3c739f1475bab07bd355c2e058e7110
2023-05-20 13:54:24 +02:00
Translation updater bot f25f9ca861 Localisation updates from https://translatewiki.net.
Change-Id: Ie739fb13538ee3489bace952e1faa0db03e7dfc5
2023-05-08 10:33:00 +02:00
Translation updater bot 02b5744fd8 Localisation updates from https://translatewiki.net.
Change-Id: Ie3948d99f12208a1aced354076adcb93a1f10a48
2023-05-05 10:40:28 +02:00
libraryupgrader fe356286ff build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I7b51fff33c34f019a073347e315498c97afeecdd
2023-05-04 09:33:04 +00:00
Translation updater bot 3b49976d0d Localisation updates from https://translatewiki.net.
Change-Id: Ie9e366b235198f090c9181cfd2fa241ecfa240ed
2023-05-02 09:00:27 +02:00
libraryupgrader edac9f8dd2 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: Id050590110453e6a0dd31b6f154f3ce2282243e2
2023-04-29 08:30:18 +00:00
Translation updater bot d1ed59560a Localisation updates from https://translatewiki.net.
Change-Id: If954aecad83525edcf6bdae216cf3142d5ab74c8
2023-03-20 09:02:07 +01:00
libraryupgrader a27c47d769 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1

Change-Id: If08eb94f64f5c1e16ef4abb43b8aa65615e67681
2023-03-15 22:08:34 +00:00
libraryupgrader 4bd8077ff5 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: I3c98c857c7ba35dae60b8eef04b85d011866cb39
2023-03-12 08:01:29 +00:00
thiemowmde 3a20f81f31 Reduce very deep indention in some larger if/elseif blocks
Change-Id: I176f3cd5d28fde83bb2e243cc72d9e7c77ca6f51
2023-01-10 11:56:28 +01:00
Translation updater bot f6d9139116 Localisation updates from https://translatewiki.net.
Change-Id: I9d026b7f21fb75c57e1d72afe73b14067fd71cca
2023-01-09 09:28:14 +01:00
Translation updater bot 2764c0968a Localisation updates from https://translatewiki.net.
Change-Id: Ifad50fa70de8347b989d47ca5c5147c9a3c3ef2a
2022-12-21 09:17:13 +01:00
thiemowmde 02106770a7 Add test cases for {{#if:… and such with no possible output
These are edge-cases we should make sure are covered so we don't
accidentally change how they behave.

Change-Id: Iddd08a7e752ad1fe813ed42b665e4f656c9f516c
2022-12-16 21:50:16 +01:00
Translation updater bot d0881dacd0 Localisation updates from https://translatewiki.net.
Change-Id: I9bec61273e8991b980b7e3e6ca45759d7e87de84
2022-12-05 08:34:09 +01:00
Translation updater bot 5adfb8840f Localisation updates from https://translatewiki.net.
Change-Id: Icfc0efe712fb61668b76c0f76b4279f71919ecd2
2022-11-29 08:59:07 +01:00
jenkins-bot acb8030591 Merge "Replace Parser::getFunctionLang() with ::getTargetLanguage()" 2022-11-16 21:50:41 +00:00
libraryupgrader 3547e7bc23 build: Updating mediawiki/mediawiki-codesniffer to 40.0.1
Change-Id: Ibca0d14724177e2a6dee8b7df15fac798f1e304d
2022-11-16 13:09:05 +00:00
jenkins-bot c72e162c96 Merge "Use HookContainer to register hooks on the fly." 2022-11-09 14:49:06 +00:00