Commit graph

1846 commits

Author SHA1 Message Date
libraryupgrader b5e7230698 build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
Change-Id: Id55b598a81bd22cbe0f415f32fd28ba3825bf61e
2021-07-22 20:01:41 +00:00
Translation updater bot e43aa2629a Localisation updates from https://translatewiki.net.
Change-Id: I607ad59d9d1c601299e5c86d2664079e28a1b31e
2021-07-20 08:20:32 +02:00
Translation updater bot c5cec478d5 Localisation updates from https://translatewiki.net.
Change-Id: Idbbb765b1a64de845c5a2d88595c92f578a446ea
2021-07-19 08:15:48 +02:00
Roman Stolar ffa6b4de09 Override ContentHandler::getDeletionUpdates and ContentHandler::getSecondaryDataUpdates.
Use it instead of Content::getDeletionUpdates and Content::getSecondaryDataUpdates.

Bug: T285730
Bug: T285729
Change-Id: Ie4ea0917f120809be59e2b7afad51cd189d64dd1
2021-07-16 12:46:41 +02:00
jenkins-bot 5b4ee6084f Merge "Change Tigrinya translations for Gadgets namespaces" 2021-06-28 13:04:09 +00:00
jenkins-bot d18d79ac7f Merge "Handle EditFilterMergedContent hook properly to display error message" 2021-06-26 12:00:21 +00:00
Translation updater bot cf3bfd77e7 Localisation updates from https://translatewiki.net.
Change-Id: Ib0313e275e23eaac2a0bd6eef92f75759fa01e3a
2021-06-14 08:36:58 +02:00
Translation updater bot 27858ba338 Localisation updates from https://translatewiki.net.
Change-Id: Ia426c6929dfba0ffaaff41e6997397b314cfc174
2021-06-04 08:36:30 +02:00
Translation updater bot e42882f040 Localisation updates from https://translatewiki.net.
Change-Id: Ifabc413e3bd648e2c2d9fd2538b15af9a2b06dcf
2021-05-31 08:31:12 +02:00
Umherirrender e9f6ea3492 Reduce message parse in GadgetHooks::getPreferences (second time)
Multiselect can build by message keys only and allows to parse them.

This reverts fix for T32182, there is no way to handle the dir on each
item/checkbox at the moment

Reintroduce Iccd6202c443bd699aa3a911c8ba36a2b7bcdcfed (reverted by
I1cf3c7c61e9e90567587350639590691add1af34)

Bug: T58633
Bug: T278650
Depends-On: I8f52f21ae2641ddcad1aa85ce6bf14de1a09ab4b
Change-Id: If71008195f58faff9f302f7ea2bf9dbb1a527844
2021-05-28 20:52:58 +02:00
Translation updater bot 70579af3fe Localisation updates from https://translatewiki.net.
Change-Id: I3d4f03847ff894a5de42f9f654cad4505100feb2
2021-05-26 09:04:37 +02:00
jenkins-bot 62b0f7de11 Merge "Add namespace name translations for ms and ms-arab" 2021-05-25 23:12:26 +00:00
libraryupgrader fc00cb7cb8 build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I1961e43b907952bb71289fcb5fc6d5c3e3fd93ea
2021-05-25 14:08:48 +00:00
Translation updater bot 832dc50d63 Localisation updates from https://translatewiki.net.
Change-Id: Ia8c8d3aa1243c260bb56025d64f69dc138156fbe
2021-05-24 09:53:55 +02:00
Translation updater bot dd28c2588e Localisation updates from https://translatewiki.net.
Change-Id: Iece4475e140cca8a814e9ad0eab6f23ca1bd0882
2021-05-17 08:42:09 +02:00
Umherirrender 6132dbae64 Remove PHP 5.3 $this closure workaround
Change-Id: Ib1f2808a9e0d9c93b2b598fd07e0f2a61c122f2a
2021-05-15 01:57:51 +02:00
ZabeMath 93c8fb372e Change Tigrinya translations for Gadgets namespaces
Bug: T263840
Change-Id: I0b159179225b2346e258fe20104ece9052621982
2021-05-12 10:47:03 +02:00
Translation updater bot ab6bbc8352 Localisation updates from https://translatewiki.net.
Change-Id: Id5e8fcafdfeae030b328735109840eb34c9823c9
2021-05-12 09:21:51 +02:00
Translation updater bot cc554d3d96 Localisation updates from https://translatewiki.net.
Change-Id: I75d1653e0f3b447fe1b56702eb249178ff2e8703
2021-05-11 09:06:29 +02:00
libraryupgrader 6f3509157f build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)

Change-Id: Ide7a2311db8ab1766451207525c1d3f751e1495a
2021-05-10 07:23:45 +00:00
Translation updater bot a9d1fa6bc6 Localisation updates from https://translatewiki.net.
Change-Id: I0b01d5787e41b5c9c3300dc228a96fc21f98938d
2021-05-10 08:51:39 +02:00
Amir Aharoni 32bdb1b572 Add namespace name translations for ms and ms-arab
ms translations 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: Ia88066d076805d6decc25de6d3dcca68d2bdb1fb
2021-05-08 10:20:37 +03:00
jenkins-bot 0c5539d437 Merge "Do not use SpecialPage::getConfig in constructor on Special:GadgetUsage" 2021-05-04 20:50:02 +00:00
libraryupgrader c3c98c1146 build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

Change-Id: I5e0b9e78f0436355cc21dc356fb78e96e59cb536
2021-05-04 18:43:54 +00:00
Translation updater bot 1f084d6507 Localisation updates from https://translatewiki.net.
Change-Id: Ic1b25ec2d31e83de98db462a059884318eb01c97
2021-05-04 08:51:58 +02:00
Umherirrender b0cc049a4f Do not use SpecialPage::getConfig in constructor on Special:GadgetUsage
The context source is not set at this point and the global request is
used and logged:
SpecialPage::getContext called and $mContext is null. Using
RequestContext::getMain(); for sanity

Change-Id: I50f96f8e6517ec7221c4b82872208787af63e12b
2021-04-30 16:28:20 +00:00
Translation updater bot d26b18ad66 Localisation updates from https://translatewiki.net.
Change-Id: I6731efaf58c008a5de4c7f8a84729cd942702c81
2021-04-28 08:48:25 +02:00
Func fb7ac5619b Handle EditFilterMergedContent hook properly to display error message
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: Ic80fd227668794c21299a3f7879f61a20a2f55bd
2021-04-24 01:52:58 +00:00
jenkins-bot d13e509e4e Merge "Revert "Reduce message parse in GadgetHooks::getPreferences"" 2021-04-21 22:23:23 +00:00
Jforrester b50309db2c Revert "Reduce message parse in GadgetHooks::getPreferences"
This reverts commit 662c63882c.

Reason for revert: plain() is too plain for our needs, sadly.

Change-Id: I1cf3c7c61e9e90567587350639590691add1af34
2021-04-21 21:55:32 +00:00
jenkins-bot f6969bfafd Merge "Add namespaces translations for az" 2021-04-21 06:22:13 +00:00
ZabeMath 0b18d12ece Add namespaces translations for az
Bug: T280577
Change-Id: I27ba981bed79d65cbe9e0b2fe2bb27287be970eb
2021-04-20 21:26:29 +02:00
Umherirrender 662c63882c Reduce message parse in GadgetHooks::getPreferences
Multiselect can build by message keys only

This reverts fix for T32182, there is no way to handle the dir on each
item/checkbox at the moment

Bug: T58633
Bug: T278650
Depends-On: Ie983757081dc39f3685ba5b01b02bd124880e1af
Change-Id: Iccd6202c443bd699aa3a911c8ba36a2b7bcdcfed
2021-04-20 18:49:19 +00:00
libraryupgrader 8c3115fd86 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I8670e22fa69ba6af488a4f1c32c8e3e4881a77d1
2021-04-17 08:44:05 +00:00
Translation updater bot ac45fa2820 Localisation updates from https://translatewiki.net.
Change-Id: If10b2b8e394240cb241a1bcb13709c7c773fd0be
2021-04-12 08:37:42 +02:00
Umherirrender ab552f3e2d Use ::class for class name
Change-Id: I31900653180fa9667ac119fefaf1ea1c33aa2c83
2021-04-08 20:34:17 +02:00
Translation updater bot 169f4ecd5a Localisation updates from https://translatewiki.net.
Change-Id: I8c0af9a1f3db8365ed57756a16a8d8382c3edaf3
2021-04-06 12:02:16 +02:00
rail 2bc48a85c2 Add PL special page alias for "GadgetUsage"
This change adds two PL aliases for "GadgetUsage" special page.
Currently aliases for Polish are missing and the special pagename is untranslated.

Change-Id: Ibb9527523b56151396c28aaed233036a85f3ab8d
2021-04-03 17:08:13 +02:00
James D. Forrester c5dddba954 Drop MW <= 1.34 compatibility
As a Wikimedia-deployed extension, we don't keep B/C for older MW branches,
instead people should use the release branches.

Change-Id: I8b8e554a8a8663c19ce3ea52f047c8d40537b042
2021-03-24 14:22:11 -07:00
Translation updater bot 8148b01f2c Localisation updates from https://translatewiki.net.
Change-Id: I91ee3970eea6831821813d4f75a8daa763721544
2021-03-23 08:24:51 +01:00
libraryupgrader 0e1c35aec5 build: Updating eslint-config-wikimedia to 0.19.0
Change-Id: Ieef21af82e782eed41cf57b99d233cbc446b7b8c
2021-03-13 15:19:43 +00:00
Translation updater bot e507d404df Localisation updates from https://translatewiki.net.
Change-Id: Ia605ba33de0619c37dfd7d8c885ff77da1fe46bb
2021-03-12 08:45:48 +01:00
sahil 5ceabd7219 Fixed typo "paramaters"
Changed from paramaters to parameters in extensions / Gadgets

Bug: T201491
Change-Id: Ib5e85d64796d70cf58a068116e211e3c1c73470d
2021-03-10 22:24:24 +05:30
libraryupgrader 8e25542771 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I5a997a9b59fccadb6ae083c20259ca7cb7c7c644
2021-03-06 19:34:06 +00:00
Translation updater bot ff1d9e75a1 Localisation updates from https://translatewiki.net.
Change-Id: I48997a45b2ddf1d9923706e97460cf4861d2f9d3
2021-02-08 08:41:07 +01:00
libraryupgrader b95f062426 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Added the "composer phan" command to conveniently run phan.
* Removing manual extensions for eslint.

Change-Id: Ia5e47e750485b1499c9a0899407e24bfdfddacd4
2021-01-29 13:35:14 +00:00
Translation updater bot 20743546ec Localisation updates from https://translatewiki.net.
Change-Id: I9dd825833c1a57a3cd7cfa1c7cbe403468437b47
2021-01-21 08:31:47 +01:00
Petr Pchelko 7f124b8874 Don't pass empty permissions to Authority::isAllowed
Bug: T271459
Change-Id: Iebf2dca34eea751391d9740443c195287399aa5c
2021-01-19 15:15:45 -06:00
Translation updater bot af14f1e402 Localisation updates from https://translatewiki.net.
Change-Id: I444d1f8a57039852e7d37fce591e42ec90ae809b
2021-01-18 08:38:01 +01:00
Martin Urbanec 81601e324f Translate namespaces into alt
Bug: T271981
Change-Id: I10b8403f6e2ec930180c46dbab1307e7151e49b6
2021-01-13 21:40:13 +01:00