Commit graph

2031 commits

Author SHA1 Message Date
Translation updater bot 8ca6563de3 Localisation updates from https://translatewiki.net.
Change-Id: I172d424d27196e4f0a6e476dc740f66c6ac31c74
2021-11-15 08:11:46 +01:00
jenkins-bot 905b4fb30c Merge "Re-apply "Make each gadget a separate preference, instead of one huge multiselect"" 2021-11-09 14:00:58 +00:00
Translation updater bot 05eb8cd98e Localisation updates from https://translatewiki.net.
Change-Id: I2ca0ef7f1a128a3c42ac1772d78e395355e8fc2c
2021-11-08 08:16:56 +01:00
Bartosz Dziewoński ea786ce9dc Re-apply "Make each gadget a separate preference, instead of one huge multiselect"
Previously attempted in 82281d82d0,
reverted in 7c4ac597e2.

This gives each section and each gadget's entry an `id` attribute,
which can be used for linking, as requested in T126962. Existing user
options still match the new preferences.

It also probably makes future improvements easier. No one understands
multiselects with subsections.

Bug: T126962
Change-Id: Ie96fd94c994d05ab8507920fa560c7ed9c1f9b69
2021-11-05 23:15:45 +01:00
jenkins-bot bd752b9442 Merge "Add namespace localisations for Hindi (hi)." 2021-11-03 07:59:10 +00:00
Translation updater bot 671290d263 Localisation updates from https://translatewiki.net.
Change-Id: Idd77538841e13109aa182076ef3e9829b6fd0dee
2021-11-01 09:33:47 +01:00
Siddharth VP 58ea7934d2 Add namespace localisations for Hindi (hi).
Change-Id: Id28a6ff5360dee806c3d9e665fbef2fd35575456
2021-11-01 10:36:47 +05:30
libraryupgrader aad009fd1f build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: Id25bb6285fcde7e93ea3eeeffd0184ceaf7bc4ac
2021-10-24 04:01:25 +00:00
Translation updater bot 70123ae344 Localisation updates from https://translatewiki.net.
Change-Id: I4896736414ac9a239391ee36b11ed13e658b2862
2021-10-21 08:21:46 +02:00
Translation updater bot 6eb0ad00e6 Localisation updates from https://translatewiki.net.
Change-Id: Ib7d16cad3b4132c70c7abe96f84ec4c153fa96bc
2021-10-20 08:36:59 +02:00
Translation updater bot 397f7306c0 Localisation updates from https://translatewiki.net.
Change-Id: Ia2f94cbb98e036e3a86dc4f5803a2bc6f892c85c
2021-10-18 15:20:13 +02:00
Siddharth VP 14af941e88 Add global 'withgadget' query parameter for ad-hoc loading of gadgets
When viewing pages, the 'withgadget=' query parameter can be used in
the URL to load a gadget that isn't enabled by the user's preferences.

The gadget is only loaded if all other conditions are still satisfied
(supported skin, supported targets, required user rights).

Bug: T29766
Change-Id: I5b30d4e0010561685eef661a515e2892045bb776
2021-10-16 03:14:34 +00:00
Reedy 32677ff590 Various code cleanup
Change-Id: I59b7ac50b621df1da402752327841743141944e3
2021-10-09 01:34:45 +01:00
jenkins-bot 669b351241 Merge "Override ContentHandler::fillParserOutput instead of Content::fillParserOutput." 2021-10-08 14:32:36 +00:00
jenkins-bot 0a55c5f0f9 Merge "Revert "Make each gadget a separate preference, instead of one huge multiselect"" 2021-10-07 20:11:30 +00:00
Krinkle 7c4ac597e2 Revert "Make each gadget a separate preference, instead of one huge multiselect"
This reverts commit 82281d82d0.

Bug: T126962
Bug: T292777
Change-Id: I7c858b8c4bc12626ea1d53374ea4d75862f684ff
2021-10-07 19:52:18 +00:00
Roman Stolar cbad567396 Override ContentHandler::fillParserOutput instead of Content::fillParserOutput.
Prepare override for GadgetDefinitionContentHandler, remove usage in GadgetDefinitionContent.

Bug: T287158
Change-Id: Icc3fa02f7089eaccd2dad8ff28f3db8cbf8eac03
2021-10-07 13:09:05 +03:00
jenkins-bot 1d3af2d82b Merge "Add all gadgets to DefaultUserOptions" 2021-10-06 23:59:58 +00:00
libraryupgrader 4f825a72cf 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: I6d2a147836bc717b4c70211a9ea6b9d0365a1936
2021-10-04 22:12:57 +00:00
Bartosz Dziewoński 82281d82d0 Make each gadget a separate preference, instead of one huge multiselect
This gives each section and each gadget's entry an `id` attribute,
which can be used for linking, as requested in T126962. Existing user
options still match the new preferences.

It also probably makes future improvements easier. No one understands
multiselects with subsections.

Bug: T126962
Change-Id: Ifaca96e288c475017636c2408712d6a20aa77da9
2021-09-30 18:39:41 +02:00
Umherirrender d175e964db Add all gadgets to DefaultUserOptions
Without the default the preference is never deleted from the database,
even it was disabled by the user.

Bug: T291748
Change-Id: I1010e260fda118cbea83ad39e33055e403e37630
2021-09-29 08:19:16 +00:00
Translation updater bot 0007744ee6 Localisation updates from https://translatewiki.net.
Change-Id: I20f9b00d5deee7bb27599b7af7eac68600e5e03f
2021-09-28 08:18:48 +02:00
Translation updater bot 220dd66c42 Localisation updates from https://translatewiki.net.
Change-Id: I563276d0019c98e4fd549c5f036f58a71fb706a3
2021-09-27 08:34:53 +02:00
Translation updater bot 45217277b9 Localisation updates from https://translatewiki.net.
Change-Id: Ide9cd2c01664f0c9d8bd60a5b1df4e4462420080
2021-09-20 08:18:59 +02:00
Translation updater bot 8d5a15a01b Localisation updates from https://translatewiki.net.
Change-Id: I23b286a3f539a663fe836a14d1b9f8b1db52e33c
2021-09-17 08:45:22 +02:00
libraryupgrader 206d0b5c18 build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I92b5eb5fb29bc373a5eed0f4ef26f283a9e8fea3
2021-09-09 01:15:10 +00:00
Translation updater bot 785871fa9d Localisation updates from https://translatewiki.net.
Change-Id: I41451fe655647063f7bb6d18d42802f9fddafb5e
2021-08-23 09:03:57 +02:00
Translation updater bot d9819b3a1d Localisation updates from https://translatewiki.net.
Change-Id: Ib2077decce766cfa7bf3a68cb30da52cc3650de8
2021-08-19 08:13:29 +02:00
libraryupgrader 19a24716df build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I2668bc898d7d97b1b77f24bd353a41afe8991ac5
2021-08-11 23:12:21 +00:00
Translation updater bot 67ba781489 Localisation updates from https://translatewiki.net.
Change-Id: I82ba2af71f01ba9f99d3fdb9119f04d7ac54fced
2021-08-11 08:19:17 +02:00
Translation updater bot e45b2ccba9 Localisation updates from https://translatewiki.net.
Change-Id: I3fee0115e4d14d4d351d1a129034cd345798dc97
2021-08-09 08:24:04 +02:00
Translation updater bot 3d2102f375 Localisation updates from https://translatewiki.net.
Change-Id: Ia359725032242bf274c9f624ddc6bdef02d6c6dc
2021-08-06 08:13:33 +02:00
Jayprakash12345 1472a2733c Use getText() instead of getNativeData()
Bug: T283673
Bug: T155582
Change-Id: Iaf8a0ded40e3303d6fbcfac022b1461c4d2b1333
2021-08-04 02:43:36 +00:00
Translation updater bot c2fa8e2b6f Localisation updates from https://translatewiki.net.
Change-Id: I27f99fbfe8af0ac8bc1e9a1f3f3d78daa0819808
2021-08-02 08:36:53 +02:00
Translation updater bot eab0a86e84 Localisation updates from https://translatewiki.net.
Change-Id: I4f0f64f1541f3c6af58376cb9aae2298596a7d91
2021-07-29 08:44:56 +02:00
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