Commit graph

2745 commits

Author SHA1 Message Date
Func 03ea5adb03 Revert "Use null for default user options value of beta features"
This reverts commit addb8a02d7.

Reason for revert: Not ready to be merged

Change-Id: Ia16b232e863c1aca490de44835b8790ce4516cc7
2022-05-10 12:32:14 +00:00
Translation updater bot 2fcfe7f8bc Localisation updates from https://translatewiki.net.
Change-Id: Ifd2684bdf2cf9f494b4214123f4173f7ecd52dce
2022-05-02 08:20:13 +02:00
Translation updater bot 55a72c5906 Localisation updates from https://translatewiki.net.
Change-Id: I3af2da67d0c98003e3e03799481204569ac2b3c3
2022-04-29 08:43:35 +02:00
libraryupgrader bf24312e60 build: Updating npm dependencies
* async: 0.9.2 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* jake: 10.8.4 → 10.8.5
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* mocha: 8.4.0 → 8.4.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.20 → 3.1.20
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

Change-Id: I2026a6efa93a7837a1cdba142443df2c7af87ca8
2022-04-27 16:55:56 +00:00
Volker E 2ffa3ff885 Replace deprecated Less .box-shadow() mixin with standard CSS
Bug: T306488
Change-Id: I96cde6a39fb8547f49b8581d7dba5f9dbf8ba363
2022-04-22 23:31:08 -07:00
Translation updater bot 8c68eae9d9 Localisation updates from https://translatewiki.net.
Change-Id: I79de44223bf41f10d8687ea3d9fa58cae01833e1
2022-04-19 10:15:35 +02:00
Translation updater bot eca22a3169 Localisation updates from https://translatewiki.net.
Change-Id: I318de5dd0c0bacb77d5d23ea38109ab628851c6c
2022-04-18 10:06:40 +02:00
libraryupgrader a5e2d17b45 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* eslint: 8.8.0 → 8.9.0
* wdio-mediawiki: 1.1.1 → 1.2.0
* @storybook/html: 6.2.9 → 6.4.22
* bundlesize: 0.18.0 → 0.18.1
* jquery: 3.4.1 → 3.6.0
* jsdoc: 3.6.3 → 3.6.10
* webpack-cli: 3.1.2 → 3.3.12
* ansi-regex: 5.0.1 → 5.0.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* async: 0.9.2 → 0.9.2
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 3.1.6 → 3.1.6
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* jake: 10.8.2 → 10.8.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* mocha: 8.4.0 → 8.4.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.20 → 3.1.20
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* prismjs: 1.27.0 → 1.27.0
  * https://github.com/advisories/GHSA-3949-f494-cm99
* refractor: 3.5.0 → 3.6.0
  * https://github.com/advisories/GHSA-3949-f494-cm99

Additional changes:
* Set `name` in package.json.
* Also sorted "composer fix" command to run phpcbf last.
* Added the "composer phan" command to conveniently run phan.
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: Ic9c742a3be5b22ccc1e8dff5b65ee779e2a02175
2022-04-15 19:01:33 +00:00
Translation updater bot 5a9c012791 Localisation updates from https://translatewiki.net.
Change-Id: I4f84128c8e8e9c0b41bf251688510483735edd5a
2022-04-14 08:27:10 +02:00
Translation updater bot 9293e68ca2 Localisation updates from https://translatewiki.net.
Change-Id: Ifa17355a242b0ecdc13a8341b46a3be12865efef
2022-04-13 08:32:41 +02:00
jenkins-bot 2eac3b36c0 Merge "Use null for default user options value of beta features" 2022-04-08 11:48:03 +00:00
jenkins-bot 7bff8680cf Merge "PopupsGadgetsIntegrationTest: Use namespaced Gadget class" 2022-04-06 15:25:46 +00:00
Translation updater bot 019bdd9c30 Localisation updates from https://translatewiki.net.
Change-Id: Iadae13bff1a5dd096e8e96553465e73aae2b235a
2022-03-31 08:36:17 +02:00
Reedy 3ac384e5a5 PopupsGadgetsIntegrationTest: Use namespaced Gadget class
Change-Id: Iad6488408fdd29af45dab46e1c81944d181f711d
2022-03-29 20:37:32 +01:00
Translation updater bot ed9543eb3c Localisation updates from https://translatewiki.net.
Change-Id: I6a97297e8f3f4159d5cb82f2b8adee7bb9404dad
2022-03-21 08:15:15 +01:00
Translation updater bot c4bbe40f8e Localisation updates from https://translatewiki.net.
Change-Id: Ida5c53b330a387bc52f5ae96a631d36f8ee0731f
2022-03-16 08:08:04 +01:00
Translation updater bot 27b5bd17bd Localisation updates from https://translatewiki.net.
Change-Id: I817224adee61b660baa2b5abeffc7d271ad8b653
2022-03-14 08:14:33 +01:00
Reedy b6eb2627ff Use namespaced GadgetRepo
Change-Id: Ibaa24dc0bf02b0d1cbe4e66a8a4efc47896d0fb9
2022-03-06 01:33:08 +00:00
jenkins-bot 3f734851ba Merge "build: Update stylelint-config-wikimedia to 0.12.2" 2022-03-04 16:54:34 +00:00
jenkins-bot 1c713340c8 Merge "build: Update eslint-config-wikimedia to 0.22.1" 2022-03-01 17:46:10 +00:00
Translation updater bot f2814744e3 Localisation updates from https://translatewiki.net.
Change-Id: I5834c023b26d12a13bb121a2e581be4fcb3c4666
2022-02-28 14:29:16 +01:00
Ed Sanders 7cb024592b build: Update stylelint-config-wikimedia to 0.12.2
Change-Id: I5deff2e90e0bfa4e318094fe1962c2c66b5bd8f5
2022-02-28 13:18:39 +00:00
Ed Sanders 883c8c1aca build: Update eslint-config-wikimedia to 0.22.1
Change-Id: I055517998ed06fccdf50ec31251ea6aa9040abb5
2022-02-28 13:18:24 +00:00
Volker E 830ec1b56b build: Update 'svgo' to latest v2.8.0 & re-crush images
Updating 'svgo' to v2.8.0 and newest Wikimedia SVG guidelines –
mainly around new whitespace features of SVGO.

Change-Id: I37da089916d2efad696989427b0a06b392d1d89c
2022-02-27 23:58:05 +00:00
Translation updater bot a8df7a539b Localisation updates from https://translatewiki.net.
Change-Id: Ia0159f5ce659cc07d33748dc256f4ae48bcf2c57
2022-02-25 09:45:12 +01:00
Translation updater bot bcf816503b Localisation updates from https://translatewiki.net.
Change-Id: I90896df5ea77d437c718e716969586636aa90f4a
2022-02-23 08:19:23 +01:00
Translation updater bot 57807be29d Localisation updates from https://translatewiki.net.
Change-Id: I0f16f5215f4d8ff1d19e57afaf1ab867f195cdb2
2022-02-21 08:16:35 +01:00
Translation updater bot c47278e0cf Localisation updates from https://translatewiki.net.
Change-Id: I5409bbb8a5976fd43dd76cbd35daa16929112627
2022-02-18 08:40:59 +01:00
Translation updater bot ebc7119db9 Localisation updates from https://translatewiki.net.
Change-Id: I400e5173d7b3407ee14e8086a6f6b1488c2e42d2
2022-02-16 08:13:26 +01:00
Translation updater bot 6c0c22d44d Localisation updates from https://translatewiki.net.
Change-Id: I393114829d3bdfe6545a6f125231148db44e292a
2022-02-15 08:17:48 +01:00
Translation updater bot 7bb3aea712 Localisation updates from https://translatewiki.net.
Change-Id: I0573d334c10b969c30d795b5ca3f69e720b57bd8
2022-02-11 08:42:08 +01:00
Translation updater bot db4c96a8be Localisation updates from https://translatewiki.net.
Change-Id: I4c0b24e2a10c7f8282d44507f6ebf268dbb70b2b
2022-02-07 08:22:43 +01:00
Func addb8a02d7 Use null for default user options value of beta features
The new soft auto-enroll logic of BetaFeatures requires user options
default to null or no default values since it needs to save opt-out
values.
Unfortunately, BetaFeatures can't maintain default options itself, since
the GetBetaFeaturePreferences hook is coupled with User, can't be run
in the handler of UserGetDefaultOptions hook.
All the user options will be handled by BetaFeatures carefully, no
unnecessary values will be saved (no regression of T291748).

Needed by change I93af61153ec3c2cd3ec7686fe88067eed6766b5a, and they
should be merged in the same deploy train.

Bug: T260870
Change-Id: I1e9a91eed2e2eb22ce42f8d79b7183c505f1df7d
2022-02-01 11:53:03 +00:00
Translation updater bot c4f6d7fe17 Localisation updates from https://translatewiki.net.
Change-Id: I73fed7760b68fa0b3121b42f6c4fc08339f44ac2
2022-01-31 08:22:28 +01:00
Translation updater bot 1ca271f49b Localisation updates from https://translatewiki.net.
Change-Id: I1d863a9cc23f82d6d5298e377f9134952be4a75e
2022-01-24 08:27:42 +01:00
Translation updater bot 12655699f9 Localisation updates from https://translatewiki.net.
Change-Id: I9fc786e398ab1a0a1fc4f2a28add68e7cde19bac
2022-01-19 08:24:21 +01:00
Translation updater bot ec06b19a74 Localisation updates from https://translatewiki.net.
Change-Id: Ibf533f41d1af6dc947e4d6d5d55a92dcf0667ad6
2022-01-18 08:11:11 +01:00
Translation updater bot 2ccfc749ae Localisation updates from https://translatewiki.net.
Change-Id: Ib965cac08850457f1e4be8c3f24ef335d26e0aa8
2022-01-17 08:12:48 +01:00
Translation updater bot 26cd648f8f Localisation updates from https://translatewiki.net.
Change-Id: I96c01ef372163e4a17688d9b3bfb02ffe5331cfb
2022-01-10 08:11:45 +01:00
Translation updater bot 8cbc598fd7 Localisation updates from https://translatewiki.net.
Change-Id: Ib41f82bf6b22ca5572ca41e6b9fb048a1a352cb5
2022-01-04 08:28:11 +01:00
Translation updater bot a740759600 Localisation updates from https://translatewiki.net.
Change-Id: Ie6bc44416c0905531234a162e56f31a03f620c00
2021-12-27 09:30:48 +01:00
Fomafix cfa0f5419b Use HookHandlers and implement hook interfaces
This change requires MediaWiki 1.35+.

Bug: T263353
Change-Id: I4d3aa20c666799e6e693a6a4b7a3e835303e2fc5
2021-12-20 11:05:19 +00:00
jenkins-bot ceb18fa5c9 Merge "Update eventlogging schema" 2021-12-20 09:08:33 +00:00
jenkins-bot 55466c171a Merge "Fix popups footer covering clickable content" 2021-12-20 08:44:57 +00:00
Translation updater bot ff8cea59a5 Localisation updates from https://translatewiki.net.
Change-Id: I11a19257e4a865fa99e5b031320f001e815d4131
2021-12-20 08:21:37 +01:00
Thiemo Kreuz 1ec72053ac Fix popups footer covering clickable content
This is relevant for reference previews, which might contain
clickable links. If such a link is in the very last line, it
might be (partially) covered by the footer, which is
absolutely positioned on top of the content. This <div>
catches mouse events, but shouldn't.

Bug: T277364
Change-Id: I342b8f8e38c7abaee1e0f4fa38e9b56e747b153b
2021-12-19 13:50:10 +00:00
Func d62088f7cf Fix Popups storybook cases after renames in core
Change I3c3aba0c4c7078173c81102007bb06a9eb3a94a6 renamed some of these
core modules, which broke the storybooks of Popups. This should repair
them.
(Inspired by I65278f653056a97ecbe8679a40aabb68084086c6)

Change-Id: I6dfad7376f438e939723d59968768f3052a3096f
2021-12-18 13:31:13 +00:00
Translation updater bot bd4c320787 Localisation updates from https://translatewiki.net.
Change-Id: I2a6056d0bcefd68bf3356aee01de0e71b9b0ab52
2021-12-17 08:17:27 +01:00
Adam Wight 6bb27111e6 Update eventlogging schema
We've been dropping events for some time now.

Bug: T297523
Change-Id: I47567e227f69714dfdcf21f9c11d08067c4ca2e6
2021-12-15 14:45:14 +01:00
Translation updater bot ca43275b11 Localisation updates from https://translatewiki.net.
Change-Id: I02275255bfe7cd2d2516850645bc8f1f50172123
2021-12-13 08:22:01 +01:00