Commit graph

1745 commits

Author SHA1 Message Date
libraryupgrader e1b337cb92 build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: Ib9d3f4b40a40057959d407d1920a920dd089b1c4
2024-04-18 01:42:36 +00:00
Translation updater bot 28b664dc37 Localisation updates from https://translatewiki.net.
Change-Id: Ie2795875f7fcc5185d3528490d89d5243d11f5dd
2024-04-08 09:26:38 +02:00
Translation updater bot 1c266cbd0e Localisation updates from https://translatewiki.net.
Change-Id: I774a04fb33a70f9cb507da5d1edf67670c56e68b
2024-04-01 09:23:01 +02:00
Umherirrender ad83bc2f76 Replace isset() with null check in ParserFunctions
Found usage of isset() on expression self::$mExprParser that appears to
be always set. isset() should only be used to suppress errors. Check
whether the expression is null instead.
See https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#isset

Change-Id: Idcc51fc215fb727e84aaba5ac2510c052ce6b4d6
2024-03-27 23:06:57 +00:00
jenkins-bot 3c84c1f115 Merge "build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0" 2024-03-12 09:08:38 +00:00
Umherirrender ef40cf4a67 build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: I137fe0fe2d6486b6a2a90d57582d837ec22bd1e0
2024-03-11 20:42:17 +01:00
Translation updater bot e27ecfcf2f Localisation updates from https://translatewiki.net.
Change-Id: I16c7b357c2541ce3836b8dccd6e18b424b423cb4
2024-03-11 08:27:46 +01:00
Translation updater bot 127b836696 Localisation updates from https://translatewiki.net.
Change-Id: I108adc52dd20124d73385333edc1f4e1ef9bf27d
2024-03-08 08:23:31 +01:00
Translation updater bot b710647a66 Localisation updates from https://translatewiki.net.
Change-Id: I7c91cf4d6c8bb0525890b5e1449179f47d123929
2024-03-07 08:49:06 +01:00
Translation updater bot be7f8ade77 Localisation updates from https://translatewiki.net.
Change-Id: I11b2bb45ea463763f57248c1bfce20d5075ce0e9
2024-03-06 08:20:09 +01:00
Translation updater bot f933d1d603 Localisation updates from https://translatewiki.net.
Change-Id: I6334ba8683c25e20703cc5c8904fe02481d9e189
2024-03-05 08:28:06 +01:00
jenkins-bot 798fce2d43 Merge "Replace '<' with 'less than'" 2024-03-04 08:20:37 +00:00
Translation updater bot aaead7be59 Localisation updates from https://translatewiki.net.
Change-Id: I598cbb33c96498eaa9200aa4fc004550ab3ba200
2024-02-28 08:14:46 +01:00
Translation updater bot c547a86ef6 Localisation updates from https://translatewiki.net.
Change-Id: I8019dd75bc640fe20eccef6efbac937ca35a40ca
2024-02-26 08:36:46 +01:00
Amir E. Aharoni ab71d29af1 Replace '<' with 'less than'
Bug: T358395
Change-Id: Ib4f17067857e5971fdb50195802103663a489957
2024-02-23 17:41:24 -05:00
Translation updater bot fe6ffd7b86 Localisation updates from https://translatewiki.net.
Change-Id: If517c59b991e970dcad69952d1ae51b564b8a888
2024-02-23 08:45:02 +01:00
libraryupgrader 5ff83ff0ab 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: If44319bd1342ccd4cb3e692724826c3f4d7fbf02
2024-02-10 21:31:58 +00:00
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