Commit graph

2053 commits

Author SHA1 Message Date
Translation updater bot ecdbc80290 Localisation updates from https://translatewiki.net.
Change-Id: Id33ffd5ac243c4158c9ee4080ac68e81e0b8b97b
2022-05-02 08:18:40 +02:00
Translation updater bot 24cf9c910d Localisation updates from https://translatewiki.net.
Change-Id: I6a79742b8a52548de5720165d9dd620d9cd7a691
2022-04-29 08:41:32 +02:00
Translation updater bot baac2aec6f Localisation updates from https://translatewiki.net.
Change-Id: I71dac8bdac87e6d8798cf9e4401d427a6ead64c8
2022-04-28 09:27:52 +02:00
Translation updater bot 1ed871a090 Localisation updates from https://translatewiki.net.
Change-Id: Ia69e1e8eb4d7efd29f0502e099b9d5381d41be7f
2022-04-26 08:53:19 +02:00
Translation updater bot f740d72648 Localisation updates from https://translatewiki.net.
Change-Id: Ibe4d3d85622ffb734cb46a6847d45bf4c3590b87
2022-04-25 08:16:34 +02:00
Translation updater bot 64874756ee Localisation updates from https://translatewiki.net.
Change-Id: Ia9ce1b2ef6f8e4f09afec73b91f787f9b90d15c1
2022-04-21 08:11:43 +02:00
proc 1d1215bafb
Add support for regex string replacements.
Bug: T285468
Change-Id: I25f8ad1b58cc10f4c6f6ef5ebab99fe58ec71b1e
2022-04-20 18:38:24 +01:00
Translation updater bot 6cd4fa477e Localisation updates from https://translatewiki.net.
Change-Id: I86e3d3f0a5e66f18c7e212654c32dfc1bf976318
2022-04-19 10:13:39 +02:00
Translation updater bot c4779ed18a Localisation updates from https://translatewiki.net.
Change-Id: I5bf69465459b23e1c377c94310c4d96aa7c23586
2022-04-18 10:04:58 +02:00
Translation updater bot 81b99aad53 Localisation updates from https://translatewiki.net.
Change-Id: Ia0851a4300f0c8026d7cff3ef644281004205a30
2022-04-15 09:55:12 +02:00
Translation updater bot b7d55268c4 Localisation updates from https://translatewiki.net.
Change-Id: Ieb96bcaa92fb555941f203899482800c8be28ba3
2022-04-14 08:25:26 +02:00
Translation updater bot 2c5657af32 Localisation updates from https://translatewiki.net.
Change-Id: Ia1e1a384359442ff7bd4003900b67993436a27a2
2022-04-12 08:13:21 +02:00
Translation updater bot 8fa07e6321 Localisation updates from https://translatewiki.net.
Change-Id: I97b81bb5b772394966f2898d5a11fbff6447d5b9
2022-04-11 08:13:21 +02:00
Translation updater bot 821b58fe94 Localisation updates from https://translatewiki.net.
Change-Id: I904a70c4673c1b1b83164faec1bfbe5bec151444
2022-04-08 08:26:33 +02:00
Translation updater bot ecc6ee295b Localisation updates from https://translatewiki.net.
Change-Id: I070ca68ab0686bded168183d9a4093fcb64e09ed
2022-04-07 08:08:45 +02:00
Translation updater bot 932689ca5d Localisation updates from https://translatewiki.net.
Change-Id: I3b8839cbd97d4ef9bd0838bc2c691153b36fa0d0
2022-04-06 08:26:20 +02:00
Translation updater bot 065b4dfa6b Localisation updates from https://translatewiki.net.
Change-Id: Iaebbba4a4c447033033556219c7c401d1d948dfc
2022-04-05 08:24:38 +02:00
Translation updater bot 354cb06634 Localisation updates from https://translatewiki.net.
Change-Id: Ib17bad7bd065e7c27e8725f1d5f12cfa89e8960d
2022-04-04 09:12:57 +02:00
Translation updater bot cdc6aba3f8 Localisation updates from https://translatewiki.net.
Change-Id: I13dad966fee76eee5a426a472d6e5e375f32ef7d
2022-04-01 08:25:28 +02:00
Translation updater bot f2eec6f2db Localisation updates from https://translatewiki.net.
Change-Id: I88014530044224d2f7f1b45a7dd9ddb04f648bbb
2022-03-31 08:35:12 +02:00
Translation updater bot 20b379f198 Localisation updates from https://translatewiki.net.
Change-Id: I2fbdcc9253dbd5e70e10e0ed151e8343d6830f16
2022-03-29 08:05:09 +02:00
Translation updater bot 0a9520755c Localisation updates from https://translatewiki.net.
Change-Id: I69c5d14a4133a8316011098ba04320713a43b85a
2022-03-28 08:19:29 +02:00
Translation updater bot 4055aa0b01 Localisation updates from https://translatewiki.net.
Change-Id: I088cf5cbfc55ae13960b76e14c7dac07887426df
2022-03-25 08:34:18 +01:00
Translation updater bot cbd29a5ef5 Localisation updates from https://translatewiki.net.
Change-Id: I02c108628a0bfa2744daa1f8aa06aa3d4c8ece84
2022-03-24 08:33:30 +01:00
Translation updater bot 5e7cfb1de7 Localisation updates from https://translatewiki.net.
Change-Id: I907ae7ae8433e9c55d6c9c33e3258b5e5b64a8f8
2022-03-23 08:24:55 +01:00
Translation updater bot 5ea3c5aa5d Localisation updates from https://translatewiki.net.
Change-Id: Id14453cfe95d96b79a7ab87ddf4643fd92fa2ed3
2022-03-22 08:28:27 +01:00
Translation updater bot b973953982 Localisation updates from https://translatewiki.net.
Change-Id: I2bc6d881120e6c187dd6628c207ca8b70a8bffb0
2022-03-21 08:13:53 +01:00
Translation updater bot 1d6d3f4894 Localisation updates from https://translatewiki.net.
Change-Id: Ie12e68464ba46f7dcd030f8203cd3a2e34f8b98a
2022-03-18 08:44:11 +01:00
Translation updater bot 0e5f0d7aad Localisation updates from https://translatewiki.net.
Change-Id: If2ab3ffa29131571b64dd7226e5eb8c052fad079
2022-03-17 08:36:21 +01:00
Translation updater bot 2b61a07078 Localisation updates from https://translatewiki.net.
Change-Id: Id9a7d8be47edfefd6cd28f7ed2f30127eb7022b1
2022-03-16 08:07:06 +01:00
Translation updater bot d11bb13577 Localisation updates from https://translatewiki.net.
Change-Id: I298d997aba9b1602f0758c9dcf2978684f47b261
2022-03-15 08:24:31 +01:00
Translation updater bot d26a84e52f Localisation updates from https://translatewiki.net.
Change-Id: Id8c01ead8de70e5afd2408a1644fdc562e3816c2
2022-03-14 08:13:16 +01:00
Translation updater bot deb9886302 Localisation updates from https://translatewiki.net.
Change-Id: I7c7a3fdfc11d3b043de9bbaa13053c6c7dd86b01
2022-03-11 08:31:32 +01:00
Translation updater bot 70a910e22a Localisation updates from https://translatewiki.net.
Change-Id: Ie6b9b0d95ae7c93d1edff6cd432d24b852c85484
2022-03-10 08:18:27 +01:00
Translation updater bot be51e2a80d Localisation updates from https://translatewiki.net.
Change-Id: If3fc4de518aed7498a715f584cf0af8b1917b372
2022-03-09 08:08:52 +01:00
Translation updater bot 1f123c3dcc Localisation updates from https://translatewiki.net.
Change-Id: I84e8acff10958540a0a5cb4a6bcc7006217a6f9b
2022-03-08 09:00:34 +01:00
Translation updater bot 567f263bad Localisation updates from https://translatewiki.net.
Change-Id: Ia8e25c7e1551bb3367662bff574bdf6684a6bfe4
2022-03-07 08:09:42 +01:00
Daimona Eaytoy a0fd0bae01 Overhaul throttle identifiers
- Use a /64 range for IPv6 instead of /16.
- Fix a curious and serious bug for IPv6, where grouping by range
  would only use the first (!) number of the IP address, due to the
  'v6-' prefix returned by IP::toHex.
- Fail hard if the identifier is unknown -- it's not something that's
  supposed to happen.
- Include the type name in each identifier, instead of prefixing all
  type names to all identifiers. This makes it easier to understand the
  parts of the key.
- Test the whole lot.

Bug: T211101
Change-Id: I54c4209f2f0d5a4c5e7b81bed240ca3e28a2ded7
2022-03-06 13:31:06 +00:00
Translation updater bot b4df25873a Localisation updates from https://translatewiki.net.
Change-Id: I2ba04d64cd75ad2d08064e8d2c21826ec0c8df3b
2022-03-04 08:28:13 +01:00
Translation updater bot 8b03d1dda7 Localisation updates from https://translatewiki.net.
Change-Id: I42fe536f4323e4c6d3865e98a3240213cb97fdcd
2022-03-03 08:21:46 +01:00
Daimona Eaytoy 900915eeb2 Remove unused messages
Added in [1] which didn't use them.

[1] - https://phabricator.wikimedia.org/rEABFf9c9c07ccf3dcd6fffbb30923411687029259f4d

Change-Id: Iddd777d2dc84fddaee01f9ee9b4002224c386e6e
2022-03-02 16:59:59 +01:00
Translation updater bot bd44a9a87e Localisation updates from https://translatewiki.net.
Change-Id: Iafea9421abe50978696a6ee54821ee7fd0912364
2022-03-01 14:32:04 +01:00
Translation updater bot da8d1f7adf Localisation updates from https://translatewiki.net.
Change-Id: Ifb0cc1559930bc9afa297c518a58fad537316db0
2022-02-28 14:27:40 +01:00
Translation updater bot bb3232ca72 Localisation updates from https://translatewiki.net.
Change-Id: I4cfa0feaf5501c4edd1dbfc3a7f2f855a3760676
2022-02-25 09:41:13 +01:00
Translation updater bot a8ff186b08 Localisation updates from https://translatewiki.net.
Change-Id: I3a3442c0d17700de8c3d2fbc878a0373949c824c
2022-02-24 08:47:48 +01:00
Translation updater bot a8352a6624 Localisation updates from https://translatewiki.net.
Change-Id: I4e7ef94ca477b585c1a264438c8fc38acd615c75
2022-02-23 08:18:15 +01:00
Translation updater bot 8994cd0e1f Localisation updates from https://translatewiki.net.
Change-Id: I7b82901e7758a3a6528dbb059a0d500ee2f0d27b
2022-02-22 14:20:03 +01:00
jenkins-bot 203d25f591 Merge "Improve wording for throttled filter warnings" 2022-02-22 11:55:13 +00:00
Daimona Eaytoy b5c22f2b77 Improve wording for throttled filter warnings
List which actions were disabled, or explicitly say that no actions were
disabled if that's the case. Also avoid the word "throttle" in messages
as it may be hard to translate. Also don't suggest optimizations to the
filter conditions -- unoptimized rules have nothing to do with a filter
being throttled.

Bug: T200036
Change-Id: Id989fb185453d068b7685241ee49189a2df67b5f
2022-02-22 11:10:19 +00:00
Translation updater bot 918a19accc Localisation updates from https://translatewiki.net.
Change-Id: Ib9f6f299e149c173c4236232098e59c4102f81d3
2022-02-21 08:14:29 +01:00
Translation updater bot 422c637091 Localisation updates from https://translatewiki.net.
Change-Id: I683e35b190db76ee065329309cf6b6a7145c5bbc
2022-02-16 08:12:33 +01:00
Translation updater bot 3b0f789103 Localisation updates from https://translatewiki.net.
Change-Id: I1ae00fb5f8ea6a5bc00a0745280820f4bacee8a7
2022-02-15 08:16:40 +01:00
Translation updater bot 3cda62340e Localisation updates from https://translatewiki.net.
Change-Id: I06cfd720c9601b252fa1754943e4da12e5f189fc
2022-02-14 08:13:04 +01:00
Translation updater bot bfa72abc91 Localisation updates from https://translatewiki.net.
Change-Id: Idc524246361e11ff5a45757f1bde1d59bc79423a
2022-02-08 08:27:40 +01:00
Translation updater bot b7d147eb5b Localisation updates from https://translatewiki.net.
Change-Id: Ie8a468ca01b44a8d0b17e366dc8fe0bc22802bf6
2022-02-07 08:20:54 +01:00
Translation updater bot 83e038eace Localisation updates from https://translatewiki.net.
Change-Id: I0cd6ffd6413f5a25a63eea000621297516bfa69a
2022-02-04 08:21:27 +01:00
Translation updater bot 4e51cdbe0c Localisation updates from https://translatewiki.net.
Change-Id: Id514da34f78dd93af5081ab1443d9afe8b0997da
2022-02-02 08:19:27 +01:00
Translation updater bot a038e19fa6 Localisation updates from https://translatewiki.net.
Change-Id: Icee51d6057198a54de5f916f467da796eb7142ac
2022-02-01 08:26:31 +01:00
Translation updater bot a55c0e51ed Localisation updates from https://translatewiki.net.
Change-Id: I6ee48670f440fd18fbfac05e1782e6c9e761939c
2022-01-28 08:33:09 +01:00
Translation updater bot f8708e8477 Localisation updates from https://translatewiki.net.
Change-Id: I983aab411c9ebfa0ce7a85039a72ae1c8c671d3f
2022-01-27 08:38:05 +01:00
Translation updater bot 2bdedb0fdd Localisation updates from https://translatewiki.net.
Change-Id: I2fcf4d5b624bef712e5892602b905c47cd03939e
2022-01-26 08:24:16 +01:00
Translation updater bot 0c857b05bf Localisation updates from https://translatewiki.net.
Change-Id: I2ae56e70e23b6215afddd3c739925bea01c9a8a3
2022-01-24 08:26:19 +01:00
Translation updater bot 6debbd0e75 Localisation updates from https://translatewiki.net.
Change-Id: I35d6d49843adf68d31ca80e66a7ba3d069f5acdd
2022-01-20 09:16:37 +01:00
Translation updater bot 98ab3338bd Localisation updates from https://translatewiki.net.
Change-Id: I9c6536f8b5ebb210a60e2fa9f302845d069b84ab
2022-01-19 08:23:38 +01:00
Translation updater bot 7b0ae7329f Localisation updates from https://translatewiki.net.
Change-Id: I1494a2a4e7d7bae9597fbaa2e4c0b17e066b790a
2022-01-18 08:10:22 +01:00
Translation updater bot 5b16939bec Localisation updates from https://translatewiki.net.
Change-Id: Ia97a39a492979ee6583d4bcf4fff1a5b39917549
2022-01-17 08:11:05 +01:00
Translation updater bot 96aeaa9ed9 Localisation updates from https://translatewiki.net.
Change-Id: Ieda4d434276116f4e9ae75c34d842f0b7e3c9d94
2022-01-12 08:24:27 +01:00
Translation updater bot a8aa51b0ea Localisation updates from https://translatewiki.net.
Change-Id: I290cd1f22721c2419bdef866440fc527dec71c6c
2022-01-10 08:10:43 +01:00
Translation updater bot c9a7d1e999 Localisation updates from https://translatewiki.net.
Change-Id: I42f50f1db945268e96e8f976a066b92bdbaf2233
2022-01-07 08:24:20 +01:00
Translation updater bot 7f57216448 Localisation updates from https://translatewiki.net.
Change-Id: I9aae1b6b8f2e96c4bcd382256fb436747bce7ce0
2022-01-06 08:30:43 +01:00
Translation updater bot 1ba7945cda Localisation updates from https://translatewiki.net.
Change-Id: Iae3cf6be0b44c9beafb5028e3f6c53b7ce466c10
2022-01-03 08:10:30 +01:00
Translation updater bot 4ee6405d1b Localisation updates from https://translatewiki.net.
Change-Id: Ib88715c407733d4f9946e99a3dc494f4161215ed
2021-12-31 09:41:38 +01:00
Translation updater bot ad3d4f733b Localisation updates from https://translatewiki.net.
Change-Id: Ie0024d9626c0af06f15f664a4539900cdee83786
2021-12-30 09:37:12 +01:00
Translation updater bot ec8d22294f Localisation updates from https://translatewiki.net.
Change-Id: I1a8019453ea5e8576d0459676609819b2ba4e954
2021-12-27 09:29:10 +01:00
Translation updater bot 3ed6cc1573 Localisation updates from https://translatewiki.net.
Change-Id: Iaf080e48e41716421d399609efcba8ccd725b245
2021-12-24 09:09:15 +01:00
Translation updater bot b630d66361 Localisation updates from https://translatewiki.net.
Change-Id: I3a64a49084c415d9b3f6a29a7ba6e6ae47dc8b9a
2021-12-23 08:37:25 +01:00
Translation updater bot efbef397fb Localisation updates from https://translatewiki.net.
Change-Id: I744392949027ddcbce4da56634ecc06b8f7d6810
2021-12-21 08:11:25 +01:00
Translation updater bot 29a2518281 Localisation updates from https://translatewiki.net.
Change-Id: I943b389215d8db8646d40dbe7feb8d1c79856751
2021-12-20 08:20:13 +01:00
Translation updater bot 094bd64ce0 Localisation updates from https://translatewiki.net.
Change-Id: Idbe161be386f8c6efb114a673262635b7e4eb940
2021-12-17 08:16:23 +01:00
Translation updater bot bf9446ab7f Localisation updates from https://translatewiki.net.
Change-Id: I96350032246c5ed2b67c76dedb87b57df62cdde6
2021-12-16 08:28:40 +01:00
Translation updater bot 7a464f08da Localisation updates from https://translatewiki.net.
Change-Id: Ie180167cfd0be83c3499d0e182cab36bb1390071
2021-12-15 08:08:54 +01:00
Translation updater bot 6f7bdaa71f Localisation updates from https://translatewiki.net.
Change-Id: I07510ba800b1ed452d334b26b4822dc7d5b9fe60
2021-12-14 08:42:13 +01:00
Translation updater bot 8cf4d93248 Localisation updates from https://translatewiki.net.
Change-Id: Ibe54830b59a8a661b5c1a4c71b847d193df7c1ca
2021-12-13 08:20:40 +01:00
Amir E. Aharoni 9e333b38f0 Hyphenating "case-insensitive"
This makes it consistent with core and
other extensions.

Change-Id: I03ba0f2dce754655fc5de6fe28402d2bde1523c5
2021-12-11 09:27:34 +00:00
Translation updater bot 23a401f24b Localisation updates from https://translatewiki.net.
Change-Id: I3bc08f1802fd26be328f12e1f0614d8ad5515ca4
2021-12-06 08:17:51 +01:00
Translation updater bot 4d1d189c45 Localisation updates from https://translatewiki.net.
Change-Id: Ia9b6807c7ac08a7c4490f1bed15a3bc697ec6a86
2021-12-02 08:40:42 +01:00
Translation updater bot bf06df0ae4 Localisation updates from https://translatewiki.net.
Change-Id: Idc49dad2ec59f4ffd944bdb28a0eb798d49f488a
2021-12-01 08:13:58 +01:00
Translation updater bot 1b73a558a6 Localisation updates from https://translatewiki.net.
Change-Id: I9ff8b1abb9c7bebe86f92967bdf4b5b0c45ab64f
2021-11-30 08:20:41 +01:00
Translation updater bot 1c09d86f32 Localisation updates from https://translatewiki.net.
Change-Id: Idd2006160bb2e1ca2b1b982a534ef49aed0ec0fa
2021-11-29 08:10:29 +01:00
Translation updater bot 4160d5ad20 Localisation updates from https://translatewiki.net.
Change-Id: Ica2a7564bdb490e6553f02b9e1c8fd7fdcb7d265
2021-11-26 08:21:56 +01:00
Translation updater bot 24e5f5f33d Localisation updates from https://translatewiki.net.
Change-Id: Ice17e7aff031cca0ae12750032d08dd9d0a22494
2021-11-25 08:23:40 +01:00
Translation updater bot 24012cd014 Localisation updates from https://translatewiki.net.
Change-Id: Ie8fe398c3220ab5d7a75fcee83e8d185e9243762
2021-11-24 08:20:59 +01:00
Translation updater bot 9b473dfafe Localisation updates from https://translatewiki.net.
Change-Id: I0a70841d2c76312bccfa08a82bd8343167588420
2021-11-22 09:01:41 +01:00
Translation updater bot d3aee7e069 Localisation updates from https://translatewiki.net.
Change-Id: I2b7f6eda9abc8b2623d45e1145782bfdcbcb5031
2021-11-19 08:25:53 +01:00
Translation updater bot 90195a6fca Localisation updates from https://translatewiki.net.
Change-Id: If5c853ae5a1ba74d247cb93458b3655220fa979f
2021-11-17 08:29:55 +01:00
Translation updater bot 5475070695 Localisation updates from https://translatewiki.net.
Change-Id: Ib9ba5dcc9b9c471a40878d4135b4747e3cbb751a
2021-11-16 08:15:40 +01:00
Translation updater bot 1c885863a0 Localisation updates from https://translatewiki.net.
Change-Id: Ie817e3bdc41de0ef51e34a6ebd6d6669a4b30501
2021-11-15 08:10:53 +01:00
Translation updater bot a6444d5d85 Localisation updates from https://translatewiki.net.
Change-Id: I53d1d9c5252d9de201629a20d1aeb6dc52db9a5f
2021-11-12 08:29:00 +01:00
Translation updater bot 060e892b16 Localisation updates from https://translatewiki.net.
Change-Id: I7c08d2b66308e0c3b9fae68d3f3aadb67c182f73
2021-11-11 10:01:36 +01:00
Translation updater bot f68fedfdaf Localisation updates from https://translatewiki.net.
Change-Id: I0fac154c46cb1ff29ecd430cba0ab97789eaeeba
2021-11-08 08:16:10 +01:00
Translation updater bot b7cfaecc6c Localisation updates from https://translatewiki.net.
Change-Id: If52a72c316e003d2481eb4b022a6b9f4bf73856e
2021-11-05 08:16:43 +01:00
Translation updater bot 0451d1302f Localisation updates from https://translatewiki.net.
Change-Id: I82da0688a3dc9499b322e768720842a2a7e47f18
2021-11-04 10:07:41 +01:00
Translation updater bot b14296d33f Localisation updates from https://translatewiki.net.
Change-Id: I9647ba46f5c608baca77e6ea4247e14cdce39a05
2021-11-02 08:06:30 +01:00
Translation updater bot db24ba30ee Localisation updates from https://translatewiki.net.
Change-Id: I55a19617b2990a5e78a5fb2f7720a7eef17846ae
2021-11-01 09:32:36 +01:00
Translation updater bot f96d627beb Localisation updates from https://translatewiki.net.
Change-Id: If7a616542a2f90f52c17a27978f5a71986dddaec
2021-10-28 08:26:02 +02:00
Translation updater bot e5c3ad5fa4 Localisation updates from https://translatewiki.net.
Change-Id: I1b2db1eba1bc39715bba6dd4c380b8c3ff402798
2021-10-27 08:21:21 +02:00
Translation updater bot 538050c600 Localisation updates from https://translatewiki.net.
Change-Id: Icd8f9efe21dec78baccdfab32dd4ad0cdb3acbc6
2021-10-26 08:16:14 +02:00
Translation updater bot ffd2be90f9 Localisation updates from https://translatewiki.net.
Change-Id: Ic0e68b628a734a8162d64f2a362f47b8b01c2ff0
2021-10-25 08:50:01 +02:00
Translation updater bot 27953a6a6e Localisation updates from https://translatewiki.net.
Change-Id: Ib51eeeee2270e760f2124e4b17ffce210b81b607
2021-10-22 08:14:22 +02:00
Translation updater bot ca58393d23 Localisation updates from https://translatewiki.net.
Change-Id: I31928502bcb1ddbbc2ee0e5081b519db918526b7
2021-10-21 08:21:00 +02:00
Translation updater bot f0f6f41d04 Localisation updates from https://translatewiki.net.
Change-Id: I4ff263755397081d0821b16845bc9506193dddad
2021-10-20 08:35:49 +02:00
Translation updater bot cfca6824a1 Localisation updates from https://translatewiki.net.
Change-Id: If5db8aaef08eea40560532d8a43b349f9dc4c93b
2021-10-18 15:18:46 +02:00
Translation updater bot 8c4524031b Localisation updates from https://translatewiki.net.
Change-Id: I059c932edec75149551bc7b417693885d18f2e3f
2021-10-07 09:02:12 +02:00
Translation updater bot 774c769c42 Localisation updates from https://translatewiki.net.
Change-Id: I818c3831ea59139e49b50eb847195eb7f92cb5a6
2021-10-05 08:28:51 +02:00
Translation updater bot 7a66312227 Localisation updates from https://translatewiki.net.
Change-Id: I606bdc7dd32f892137bdbfb35f55fdb5fa421535
2021-10-04 08:54:54 +02:00
Translation updater bot fbcaf0c9aa Localisation updates from https://translatewiki.net.
Change-Id: Ia8724716d1a5e1e4f4d9da99b85b4b22c72a46ff
2021-10-01 09:29:17 +02:00
Translation updater bot 208398d96b Localisation updates from https://translatewiki.net.
Change-Id: I58f108045ce27c2bf77c3e5f0818bd700676c06c
2021-09-29 09:01:15 +02:00
Translation updater bot 971ca55488 Localisation updates from https://translatewiki.net.
Change-Id: Idf49765c5ce886675a722bb712a96162aac4a7b4
2021-09-28 08:18:07 +02:00
Translation updater bot f7e760712d Localisation updates from https://translatewiki.net.
Change-Id: I39a24349158a4d57f30312a26b403faf4726a998
2021-09-27 08:33:50 +02:00
Translation updater bot 3f6fc1d9dd Localisation updates from https://translatewiki.net.
Change-Id: I751c4d4d6e972bbfad8d2e656fe362fc3bfa7f8d
2021-09-24 08:25:47 +02:00
Translation updater bot c34a3d9931 Localisation updates from https://translatewiki.net.
Change-Id: I383927110c4eec1dbdeece6c0ff1aec7dad8d2bb
2021-09-23 12:27:03 +02:00
Translation updater bot 1a28b6423d Localisation updates from https://translatewiki.net.
Change-Id: I508bd1915e179ebb375440ce14f34a9b4cd72fbc
2021-09-22 08:10:15 +02:00
Translation updater bot 5d6c62434b Localisation updates from https://translatewiki.net.
Change-Id: I4ed41c20eb7fcbf9e05a7c238a63296f21b21f8f
2021-09-21 08:08:33 +02:00
Translation updater bot a4f9d42705 Localisation updates from https://translatewiki.net.
Change-Id: Icba9f24b2c87ce6e6652044112d44e336adb0eed
2021-09-20 08:17:57 +02:00
Translation updater bot f2cd8ab803 Localisation updates from https://translatewiki.net.
Change-Id: Ie2e7e0053c1c58b10035d48b15919577e9967426
2021-09-17 08:44:35 +02:00
Translation updater bot c42f2b6aae Localisation updates from https://translatewiki.net.
Change-Id: I8cdb41723f2599a2610eb672ae3eb6b1fd240a5b
2021-09-14 08:32:05 +02:00
Translation updater bot 0d2bc7ca17 Localisation updates from https://translatewiki.net.
Change-Id: Icf05d17f79ea9cfaa17fccec25b424c989131b62
2021-09-13 08:28:40 +02:00
Translation updater bot a934ecc3b1 Localisation updates from https://translatewiki.net.
Change-Id: I9ba1b2f7a1d80538502d0ccbf22584c3d0c00ff6
2021-09-10 08:14:57 +02:00
Translation updater bot 4d8242f429 Localisation updates from https://translatewiki.net.
Change-Id: I3981778e72e2ae315f8765cbd294ec9395519269
2021-09-09 08:16:53 +02:00
Translation updater bot 79c7f568f5 Localisation updates from https://translatewiki.net.
Change-Id: I56b56c165580f4ddf7960b94fa39c55d9cd043ca
2021-09-08 08:09:47 +02:00
Translation updater bot 8fe4c04aed Localisation updates from https://translatewiki.net.
Change-Id: I776ede58099f8264e0c61a46bf1bd6446709eace
2021-09-07 08:10:08 +02:00
Translation updater bot 9c8af59d2c Localisation updates from https://translatewiki.net.
Change-Id: I0e6ec717baff0495aabe9f9c3a0f5125ae68335a
2021-09-06 08:19:58 +02:00
jenkins-bot 199cf1edf8 Merge "Add a static analyzer for the filter language" 2021-09-03 19:51:58 +00:00
Translation updater bot c93662e240 Localisation updates from https://translatewiki.net.
Change-Id: Ia0a0f86728aa0431624d9d01c92db9ef0434c427
2021-09-02 08:25:21 +02:00
Translation updater bot fcfd5fbdf6 Localisation updates from https://translatewiki.net.
Change-Id: I20ea2a972c577c87b471ab68a7e503d658b88c23
2021-09-01 08:15:40 +02:00
Translation updater bot 4b01397324 Localisation updates from https://translatewiki.net.
Change-Id: I566cec67a166c1891b4b34d233260e414c1f9503
2021-08-31 08:15:08 +02:00
Sorawee Porncharoenwase 320e3d696f Add a static analyzer for the filter language
This commit adds a class AFPSyntaxChecker which can statically analyze
a filter code to detect the following errors:

- unbound variables (which comes in two modes: conservative and liberal,
  default to conservative)
- unused variables (disabled by default for compatibilty)
- assignment on built-in identifiers
- function application's arity mismatch
- function application's invalid function name
- non-string literal in the first argument of set / set_var

The existing parser and evaluator are modified as follows:

- The new (caching) evaluator no longer needs to perform variable
  hoisting at runtime.
  - Note that for array assignment, this changes the semantics.
- The new parser is more lenient, reducing parsing errors.
  The static analyzer will catch these errors instead, allowing us
  to give a much better error message and reduces the complexity of
  the parser.
  * The parser now allows function name to be any identifier.
  * The parser now allows arity mismatch to occur.
  * The parser now allows the first argument of set to be any expression.

Concretely, obvious changes that users will see are:

1. a := [1]; false & (a[] := 2); a[0] === 1

   would evaluate to true, while it used to evaluate to the undefined value
   due to hoisting

2. f(1)

   will now error with 'f is not a valid function' as opposed to
   'Unexpected "T_BRACE"'

3. length

   will now error with 'Illegal use of built-in identifier "length"'
   as opposed to 'Expected a ('

Appendix: conservative and liberal mode

The conservative mode is completely compatible with the current evaluator.
That is,

false & (a := 1); a

will not deem `a` as unbound, though this is actually undesirable because
`a` would then be bound to the troublesome undefined value.

The liberal mode rejects the above pattern by deeming `a` as unbound.
However, it also rejects

true & (a := 1); a

even though (a := 1) is always executed. Since there are several filters
in Wikimedia projects that rely on this behavior, we default the mode
to conservative for now.

Note that even the liberal mode doesn't really respect lexical scope
appeared in some other programming languages (see also T234690).
For instance:

(if true then (a := 1) else (a := 2) end); a

would be accepted by the liberal checker, even though under lexical scope,
`a` would be unbound. However, it is unlikely that lexical scope
will be suitable for the filter language, as most filters in
Wikimedia projects that have user-defined variable do violate lexical scope.

Bug: T260903
Bug: T238709
Bug: T237610
Bug: T234690
Bug: T231536
Change-Id: Ic6d030503e554933f8d220c6f87b680505918ae2
2021-08-31 03:28:24 +02:00
Translation updater bot 32d5fd0218 Localisation updates from https://translatewiki.net.
Change-Id: Ifcff6e49b0690ebd9dca0a897d49f83f20dbb6a1
2021-08-30 08:19:21 +02:00
Translation updater bot 691e47a4a6 Localisation updates from https://translatewiki.net.
Change-Id: I1111bf7a2410c9fef6f3d4b1db6ba2bd759bd705
2021-08-26 08:35:01 +02:00
Translation updater bot aafbd68667 Localisation updates from https://translatewiki.net.
Change-Id: I24e6daae9e8909c7f0935ba53f02e2901388ce06
2021-08-24 10:16:42 +02:00
Translation updater bot 5c3fbcfb83 Localisation updates from https://translatewiki.net.
Change-Id: I7c4e7977b632f8989b559c28f02d6bc81b7c0e14
2021-08-23 09:03:19 +02:00
Translation updater bot 052240a5a5 Localisation updates from https://translatewiki.net.
Change-Id: I60b9c7326f8d326d932f1ebe3ccc0e51396d727d
2021-08-20 08:23:36 +02:00
Amir Aharoni e03467102c Remove two unused messages
It looks like they were removed in 2008:
6c7b701cc2

Change-Id: I5d91d846523307d8a3adb104503d255d8c726ed8
2021-08-19 22:29:53 +03:00
Translation updater bot d955f2f050 Localisation updates from https://translatewiki.net.
Change-Id: Ieb79b02caef2dafe7d3fe32b588ec1095b3366a2
2021-08-18 08:13:08 +02:00
Translation updater bot ce420438d8 Localisation updates from https://translatewiki.net.
Change-Id: I8b23a371a1884e7242b970db6042bd6234f6f940
2021-08-16 08:15:32 +02:00
Translation updater bot 67528ede69 Localisation updates from https://translatewiki.net.
Change-Id: Iee1758f64d041c6f7b9f12555aa37cdc2b42e50a
2021-08-12 08:09:13 +02:00
Translation updater bot e6eafdf496 Localisation updates from https://translatewiki.net.
Change-Id: I986c4c7c229c0808b6b374a143e42fd6c169faf2
2021-08-11 08:18:59 +02:00
Translation updater bot d512f01e8f Localisation updates from https://translatewiki.net.
Change-Id: I2ed4e9d2c6889b0621010a00eeb10b83444d16b9
2021-08-10 08:06:15 +02:00
Translation updater bot cd7958ba60 Localisation updates from https://translatewiki.net.
Change-Id: Ieb3481038beb857b0eabbae1035af852e92c00cd
2021-08-09 08:22:54 +02:00
Translation updater bot 4be9ef8332 Localisation updates from https://translatewiki.net.
Change-Id: Ia5d42d3b38e18201020a9debb729c753fe61344a
2021-08-06 08:13:09 +02:00