Commit graph

1958 commits

Author SHA1 Message Date
Arlo Breault 97cae0d3e0 Apply utf normalize to lua module name in error messages
This previously bypassed normalization because only the "value" part
of the internal exception message was normalized, the "module" part
can be invalid as well since it's derived from the original message.

Similar to Idc5514261e99d64222b86877dd0500d425a26988

Bug: T289358
Change-Id: I1ce09dd521eb80ba0d2fb6f84508a1a77d339496
2021-09-13 19:33:24 +00:00
Translation updater bot 1e22875a0d Localisation updates from https://translatewiki.net.
Change-Id: Ic476f2dffc0421aa3ce4b93d2d22d09e1c31fb33
2021-09-13 08:30:16 +02:00
libraryupgrader 5c63190944 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

npm:
* stylelint-config-wikimedia: 0.10.3 → 0.11.1

Change-Id: I82e56565364f0502b0e70fe7414057ae876c0b98
2021-09-11 22:36:44 +00:00
daniel 1a24ade06c Use mock restriction store in tests
This fixes an incompatibility introduced by Ia73ea587586cb69eb5.

Depends-On: I1f24703b80566220ac6fe8ee500e838ed7fd29af
Change-Id: I31ca0a8987f9694bc3b312a48c2c111ceda6fa3e
2021-09-10 14:50:04 +00:00
Translation updater bot 3d7ec0339c Localisation updates from https://translatewiki.net.
Change-Id: I6e3a7c84d8ecb95ef380e6d2fa292f7d460293d6
2021-09-09 08:18:01 +02:00
Translation updater bot d8b861c101 Localisation updates from https://translatewiki.net.
Change-Id: I93342f9fafb7a80a513b66e4b25d706b08a6c5c3
2021-09-02 08:26:44 +02:00
Translation updater bot 1e24719999 Localisation updates from https://translatewiki.net.
Change-Id: I25db13ef5699c4bddd6b12ba5480288c70d38859
2021-09-01 08:16:40 +02:00
Translation updater bot a8ef8791cd Localisation updates from https://translatewiki.net.
Change-Id: Idcc471971696f486a998eb9da0c60eaa59d73946
2021-08-31 08:16:05 +02:00
Translation updater bot 212153169b Localisation updates from https://translatewiki.net.
Change-Id: Ia3da4b80a3301579aa5aeeabd15334c147ed47ce
2021-08-30 08:20:36 +02:00
Translation updater bot 04495f0715 Localisation updates from https://translatewiki.net.
Change-Id: I24e2772cf137fc7d80f89ac8881133ff4962f92f
2021-08-26 08:36:52 +02:00
libraryupgrader a5a910e802 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I177d28882ba2bc12ec818c7d7fe16595b2dc7eb1
2021-08-25 10:17:50 +00:00
Translation updater bot 275366428d Localisation updates from https://translatewiki.net.
Change-Id: Ia34990e541102ed408aef874577190b6a858b723
2021-08-24 10:24:25 +02:00
Translation updater bot cd2d551855 Localisation updates from https://translatewiki.net.
Change-Id: Id4f64e5aaa8ab23874812c6f3315ca1dcb431088
2021-08-23 09:04:21 +02:00
Translation updater bot 77fc89d5e2 Localisation updates from https://translatewiki.net.
Change-Id: I32aa0673b57304c0d00d5ece50d59b3058019bd9
2021-08-16 08:16:49 +02:00
Translation updater bot b007655481 Localisation updates from https://translatewiki.net.
Change-Id: If7fb812508756398cd11b0a41ff3d0e9f4cc2096
2021-08-12 08:09:48 +02:00
Translation updater bot f88f013912 Localisation updates from https://translatewiki.net.
Change-Id: Idff311b13d06c7b3e64866776cd25d74b164d273
2021-08-09 08:25:06 +02:00
libraryupgrader 29f4c03de1 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.0 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: If0310d25d0380a6d4e936e666729e6a65a90a710
2021-07-23 21:34:32 +00:00
Translation updater bot 4aca14ae6d Localisation updates from https://translatewiki.net.
Change-Id: Ic33a4b007767cfdd39646e6e2e85a7e29ecbbed9
2021-07-19 08:16:29 +02:00
Translation updater bot 83e6142ce9 Localisation updates from https://translatewiki.net.
Change-Id: I2438897b74d13a68e2230195d63281482595e7f9
2021-07-13 08:12:00 +02:00
Translation updater bot 2cbce31a4f Localisation updates from https://translatewiki.net.
Change-Id: I67d8af743b668abf12bf94fbd14a6a853a5d44d0
2021-07-05 08:07:17 +02:00
ZabeMath 91a762312e Update Module_talk name in Tigrinya
Bug: T263840
Change-Id: I3ab577dbf646b6b478318ea529689be25b67e118
2021-06-28 13:08:17 +00:00
Func b765524ac8 Handle EditFilterMergedContent hook properly to break hook chains and display error message
Extensions are supposed to return false to break hook chains when failed, which can avoid unnecessary call of later handlers in other extensions and work around with problems caused by difference betwen multiple triggers.

On mediawiki version 1.36 and before, just returning false in this hook can't display error message by default.
Set $status->value manually still to provide backward compatibility.

Bug: T280312
Change-Id: I935eb40d41c4bf9c123e131a54f6bfca2d517450
2021-06-26 12:21:06 +00:00
DannyS712 cd885e83cb Use WikiPage::doUserEditContent() instead of ::doEditContent()
::doUserEditContent() is available since 1.36 as a replacement
for ::doEditContent(), which has been deprecated. Bump the
required version of MediaWiki to 1.36 accordingly.

Results in passing a user where previously the fallback
to $wgUser was being used.

Bug: T255507
Change-Id: I11e4a305e66935ea1d1b4692561fb5d49871a729
2021-06-24 05:58:13 +00:00
Translation updater bot 047f21264f Localisation updates from https://translatewiki.net.
Change-Id: I49a6e5288efb73dc4c294aa91f82c3c15453fd77
2021-06-22 08:09:50 +02:00
Alexander Vorwerk 0533aa40ab Avoid using MWNamespace
The MWNamespace class has been deprecated in favor of the NamespaceInfo
service. All methods in the MWNamespace should be replaced with the
equavilent methods of the NamespaceInfo service.

Change-Id: I964d3b191cc3129b8e467e6fbbccd2fcc0b89e11
2021-06-09 01:25:55 +00:00
Translation updater bot e001d6613b Localisation updates from https://translatewiki.net.
Change-Id: I7fd9bbbef2bf35d8006df822843bbce8f1666827
2021-06-08 08:36:27 +02:00
Translation updater bot cdeaf40277 Localisation updates from https://translatewiki.net.
Change-Id: I53f349da9e136388b8f9ea65aed7402250ff1cc9
2021-06-04 08:37:16 +02:00
Translation updater bot fc587e4f3e Localisation updates from https://translatewiki.net.
Change-Id: Id6ae7f65437ecc07f7d17918e8294f0737910891
2021-05-31 08:32:46 +02:00
Translation updater bot 57a5e5c206 Localisation updates from https://translatewiki.net.
Change-Id: I1beb3759d4573af0bbad935631ab566e74f50b00
2021-05-28 09:07:05 +02:00
Translation updater bot c745bd1afd Localisation updates from https://translatewiki.net.
Change-Id: I231097ff2f9f41216e248b218495514b4010ba71
2021-05-27 12:06:11 +02:00
libraryupgrader cf5cbd83bf build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I7493e64edda0b93f4af094cf513ac06b9dbf58b0
2021-05-26 03:00:04 +00:00
Translation updater bot ade2c061f5 Localisation updates from https://translatewiki.net.
Change-Id: I4d1172ab60870e5dc03159850f03d38ce227b55f
2021-05-25 08:54:01 +02:00
Translation updater bot a87186be13 Localisation updates from https://translatewiki.net.
Change-Id: Ia91a41239bd6ddcad3ce2726497600c7c0798136
2021-05-24 09:55:19 +02:00
Translation updater bot 3b28a83302 Localisation updates from https://translatewiki.net.
Change-Id: I699493919b6615ee33d003d349607f55ec8535d3
2021-05-19 08:44:04 +02:00
Amir Aharoni f4746373c1 Add namespace name translations for ms and ms-arab
ms translation by User:SNN, see
https://ms.wikipedia.org/w/index.php?title=Perbincangan_Wikipedia:Kedutaan&oldid=5089660#Namespace_names

ms-arab translations confirmed by User:Tofeiku.

Change-Id: I58387fca3241fb0dae99c59d4cbf0f04418f0589
2021-05-18 15:36:46 +00:00
Translation updater bot b300fb8aa9 Localisation updates from https://translatewiki.net.
Change-Id: I2aee2c6ab21205a40896f2602e2a416e2b03b76c
2021-05-17 08:43:37 +02:00
Umherirrender 87e2d2ed18 Remove PHP 5.3 $this closure workaround
Change-Id: I7f2b71823844e39339811ca4bee316b432b54adb
2021-05-15 02:03:24 +02:00
Translation updater bot aecd6b7dda Localisation updates from https://translatewiki.net.
Change-Id: I1063b2768f39af3686d1fcbe8fd086d5e0a5166b
2021-05-14 08:45:28 +02:00
libraryupgrader 31335d4602 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 3.0.7 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* postcss: 7.0.35 → 8.2.15
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: If78d89f465be14d63824f2701daca5a257edba30
2021-05-13 08:26:27 +00:00
Translation updater bot 74d4180131 Localisation updates from https://translatewiki.net.
Change-Id: Ib3518cb54bbad050274f346f78f4c7c5e88ff17a
2021-05-12 09:23:08 +02:00
Translation updater bot d05765b706 Localisation updates from https://translatewiki.net.
Change-Id: I174611db4d6b7e7f25958ddb09cbddff4cf6879e
2021-05-11 09:07:59 +02:00
Translation updater bot ac47365e66 Localisation updates from https://translatewiki.net.
Change-Id: Ia1704e2f6341ebdbe90e7200464c3af20a8f6a5c
2021-05-10 08:53:36 +02:00
Translation updater bot e0e2c289c6 Localisation updates from https://translatewiki.net.
Change-Id: I47014548119668549ec747d98947233ebd985410
2021-05-07 08:43:21 +02:00
Translation updater bot 7baa3e36f1 Localisation updates from https://translatewiki.net.
Change-Id: Ic0ef4587e838ea44f57db8a00968e9a20194acda
2021-05-06 08:55:01 +02:00
Translation updater bot 2399b57379 Localisation updates from https://translatewiki.net.
Change-Id: Ib5747d9ad6e7a66405e17129814dcafea763465e
2021-05-05 08:39:11 +02:00
Translation updater bot bb6f5331a3 Localisation updates from https://translatewiki.net.
Change-Id: I0f07c87a5eb65509d3c325bff1381707a2237db8
2021-05-04 08:53:03 +02:00
Translation updater bot ed5b8febcd Localisation updates from https://translatewiki.net.
Change-Id: I36966ec71dd238affe67246901a5369f76c5eb93
2021-05-03 08:37:57 +02:00
Translation updater bot ca2c778964 Localisation updates from https://translatewiki.net.
Change-Id: I3214abe2ce17213e495dedc736bfd3b040f02355
2021-04-28 16:43:18 +02:00
Translation updater bot babf3839de Localisation updates from https://translatewiki.net.
Change-Id: I0569ce63b126feb6b9ed5bedf12ba3cd16f2c598
2021-04-27 08:38:53 +02:00
Translation updater bot f37c1b7df2 Localisation updates from https://translatewiki.net.
Change-Id: If935f9d17885e7ccea7d80c032bbe354a64b8216
2021-04-26 07:16:11 +00:00