Commit graph

1698 commits

Author SHA1 Message Date
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
Translation updater bot 244b57da1a Localisation updates from https://translatewiki.net.
Change-Id: I6865cdec7a288274f142b09bceb50753b03b335c
2021-04-26 08:57:41 +02:00
ZabeMath 8710f7cb15 Add translations for az
Bug: T280577
Change-Id: I596b73118c0517d1cd5a5bec849e2a88ef298e05
2021-04-21 14:37:57 +02:00
Translation updater bot 4657a3368b Localisation updates from https://translatewiki.net.
Change-Id: Id7a8dd491c6bfdeed5109f9d474895f13556b0e1
2021-04-19 08:51:29 +02:00
libraryupgrader 0a982a560e build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I6fd43f001a6ed5b3c807378c672a7fa2df30824a
2021-04-14 04:16:54 +00:00
Translation updater bot 695f2cdff1 Localisation updates from https://translatewiki.net.
Change-Id: I658c0e65adf7c35a71e02541c1f845e5693e2b61
2021-04-07 08:52:30 +02:00
Translation updater bot 084ab1a629 Localisation updates from https://translatewiki.net.
Change-Id: Ic1c25046369cc2ea2a11898de4367a0ecd8bae32
2021-04-06 12:03:17 +02:00
Umherirrender d5781bd8a2 build: Swap deprecated @codingStandardsIgnore to phpcs:ignore
Bug: T278594
Change-Id: I33cc55782915f819ca3a05f2c6a535d73ac03e00
2021-04-04 19:06:50 +00:00
Translation updater bot 84e91eb4cf Localisation updates from https://translatewiki.net.
Change-Id: Ibad28b3d1740412f2f6d88ad6b5088cfa3037e39
2021-03-29 08:37:06 +02:00
Translation updater bot 231674adf0 Localisation updates from https://translatewiki.net.
Change-Id: Ibf88800b53575d16438d815d63d89f4c5425aba4
2021-03-26 08:50:53 +01:00
Ori Livneh 47f0194c2a Avoid calling into PHP from Lua to check if 'current' or 'empty' frames exist
On the Wikimedia cluster, 1.6% of MediaWiki wall-clock time is burnt on
calls from Lua into Scribunto_LuaSandboxCallback::frameExists()[1]. We
can optimize away many of these calls by not calling into PHP to check
if 'empty' or 'current' exist: the engine always reports that the
'empty' frame exists, and 'current' is guaranteed to have been set up
(in LuaEngine::setupCurrentFrames) prior to calling into Lua.

To help validate this, I added debug logging to the current production
branch of Scribunto[2] to see if there are any cases where
Scribunto_LuaSandboxCallback::frameExists('current') is false. As I
write this commit message, the logging code has been active for 24H and
there have not been any occurrences.

  [1]: https://performance.wikimedia.org/arclamp/svgs/daily/2021-03-16.excimer-wall.all.reversed.svgz
  [2]: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Scribunto/+/672836

Change-Id: I1902b711c9a442a5a42745a582a6a9ff988a355f
2021-03-17 18:04:09 -07:00