Commit graph

1817 commits

Author SHA1 Message Date
Translation updater bot 802c4fbde7 Localisation updates from https://translatewiki.net.
Change-Id: I382386d5bbe8ddbe35931d61a644184361bfe49e
2021-10-06 09:28:51 +02:00
libraryupgrader e9041cff69 build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: Ice1ef6761846052b07589538c7d36c5f4680d31e
2021-10-05 22:52:36 +00:00
Petr Pchelko ae920ae5b8 Replace deprecated ParserOptions::getUser with ::getUserIdentity
Bug: T292589
Change-Id: I381863a62340292e8bbc7840256f591a31afb42e
2021-10-05 14:48:28 -07:00
Translation updater bot e45e7b2f64 Localisation updates from https://translatewiki.net.
Change-Id: Ib307e56e9da6b2e1378c5f163e70b818bd676024
2021-10-04 08:56:26 +02:00
Translation updater bot 666ca3e349 Localisation updates from https://translatewiki.net.
Change-Id: I03c0002c9039786b0a38cc331d108b9204e4a2c1
2021-09-28 08:19:08 +02:00
Translation updater bot a12cf74816 Localisation updates from https://translatewiki.net.
Change-Id: Ic2c16d6931d877aa69daca7316ea24ba9fde2c36
2021-09-27 08:35:31 +02:00
Translation updater bot b791efdabf Localisation updates from https://translatewiki.net.
Change-Id: I92719130400c32539d0a70f0f9b92419fbce5830
2021-09-22 08:11:03 +02:00
Translation updater bot 1ad9c71971 Localisation updates from https://translatewiki.net.
Change-Id: I00def9501c7175d22374a1b3d22e2dd4fb469282
2021-09-15 08:14:47 +02:00
Translation updater bot 5e2ed3ae1a Localisation updates from https://translatewiki.net.
Change-Id: Ibc5d94c97792dfe85059e573845d4ad8291c075c
2021-09-14 08:33:12 +02:00
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