Commit graph

1688 commits

Author SHA1 Message Date
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
libraryupgrader 869d938889 build: Updating eslint-config-wikimedia to 0.19.0
Change-Id: Ief6731419816a7bbaa124a3d5dce86903600986b
2021-03-14 12:29:50 +00:00
Translation updater bot 62231ec8e7 Localisation updates from https://translatewiki.net.
Change-Id: Ie9305c89a25bdc95102e56a7da6635a15c297e83
2021-03-11 08:38:34 +01:00
libraryupgrader 7f8b0b3fb3 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I4101a24cc858fe565f7752424ab6002f3eaba697
2021-03-07 20:24:32 +00:00
Translation updater bot 1707beb2ff Localisation updates from https://translatewiki.net.
Change-Id: Icc261dc92f3b77acc70f99178f39349da3ef8b68
2021-03-02 08:50:34 +01:00
vladshapik 7ee79747e8 Avoid using User::getDefaultOption
Remove using of User::getDefaultOption since this method will be hard-deprecated. Now it is soft-deprecated

Bug: T276035
Change-Id: I34a9ece7ee25c8fa85849c9dc8d6634cde53cfe5
2021-03-01 13:19:04 +02:00
Translation updater bot 76c52cc96c Localisation updates from https://translatewiki.net.
Change-Id: I2af3f9bd52b0742c647a93dadceffd7926fba44c
2021-03-01 08:53:18 +01:00
C. Scott Ananian 96da9fe0e9 Replace use of Parser::$mStripState, deprecated in 1.35
The replacement, Parser::getStripState(), was added to MediaWiki in
1.34.

The extension.json for this extension already requires MW >= 1.35.

Bug: T275160
Change-Id: I062ac8b69756a7ad35d8cc744b4735fd2e70f13e
2021-02-25 03:03:29 +00:00
Translation updater bot eba0e49c71 Localisation updates from https://translatewiki.net.
Change-Id: I8323001c94f1a08b7c892a3c6a857c38b8be0ab6
2021-02-23 08:49:31 +01:00
Translation updater bot f52eb14361 Localisation updates from https://translatewiki.net.
Change-Id: I63d73630714feeea65d66e7d279e61f79532a734
2021-02-22 08:53:35 +01:00
Translation updater bot 16cbaff6e6 Localisation updates from https://translatewiki.net.
Change-Id: I042f366c31635934eca190f61d8c3bf515c2b16d
2021-02-11 08:40:01 +01:00