Commit graph

1708 commits

Author SHA1 Message Date
libraryupgrader a055b7e098 build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: I6685574bc3a9cac904df145ff0a4ef18d93950ff
2024-06-12 09:05:23 +00:00
libraryupgrader be68039370 build: Updating eslint-config-wikimedia to 0.28.0
Change-Id: Ia65e58e4812cb5933776484dd3e8edb144d0b1aa
2024-06-08 09:48:13 +00:00
Translation updater bot 9c36a07e5d Localisation updates from https://translatewiki.net.
Change-Id: Ie379541dd5dbed9b89bae4801f6d0eb873cb2534
2024-05-28 09:31:04 +02:00
Translation updater bot cb8aa0faa3 Localisation updates from https://translatewiki.net.
Change-Id: I9c7e6d924a52ddf32f3ef75f349ba479e817374f
2024-05-27 09:29:39 +02:00
Fomafix 2e145b0ff6 Rename language codes sr-ec and sr-el to sr-cyrl and sr-latn
sr-ec and sr-el are not conform to BCP 47. https://tools.ietf.org/html/bcp47
BCP 47 explicit mentions sr-Latn and sr-Cyrl as examples.

This change requires 6839b8599458d978b0596de57c8cb8f31db5a2f6
in MediaWiki core included in MediaWiki 1.39.

The bidirectional fallback between the old and the new language codes
ensures that the magic words supports both language codes. This can be
checked at api.php?action=query&meta=siteinfo&siprop=magicwords&format=json
Just the order of the entries is different after this change.

The rename of the JSON files
* sr-ec.json to sr-cyrl.json and
* sr-el.json to sr-latn.json
has to be done in translatewiki.net.

Bug: T117845
Depends-On: I666fbdea89ccf21aab6ca1849adf22813dec052e
Change-Id: I2746b7986cda454affbc17f467fef233ecd4bf51
2024-05-19 19:30:56 +00:00
libraryupgrader 8e5876ade9 build: Updating grunt-banana-checker to 0.13.0
Change-Id: If2be1302bd06dd1c68ed93231b54d8a484693a74
2024-05-18 21:13:29 +00:00
libraryupgrader 2107e1317b build: Updating grunt-banana-checker to 0.12.0
Change-Id: I41b665467efd7174988b4f8afd0db633ae255364
2024-05-11 02:32:20 +00:00
Translation updater bot 1663c428ae Localisation updates from https://translatewiki.net.
Change-Id: Ib4873e66f49d11e06fd4820070f445af86d22203
2024-05-10 09:29:45 +02:00
Translation updater bot 8fa81888e7 Localisation updates from https://translatewiki.net.
Change-Id: I23e1c4c008cc77ed158113191d4ee984802951d4
2024-05-08 09:24:10 +02:00
libraryupgrader b5f720bb09 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: I7837cc90cdb20545733a0b9a906d13fe5a3850ed
2024-05-06 00:18:53 +00:00
Translation updater bot cdc1e7c813 Localisation updates from https://translatewiki.net.
Change-Id: I1fdef7918f7057808dc9730cb6542825a88a6d48
2024-05-03 09:29:20 +02:00
Translation updater bot c0872718e1 Localisation updates from https://translatewiki.net.
Change-Id: I3bc12d3f9aa6a529d98aff70f1b533280b0ecae1
2024-05-01 09:22:32 +02:00
Translation updater bot c47761503a Localisation updates from https://translatewiki.net.
Change-Id: Iaa1ab2887a89c57923e335a332639dd3a20069b7
2024-04-22 09:29:18 +02:00
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