Commit graph

1326 commits

Author SHA1 Message Date
Translation updater bot 42e95314c5 Localisation updates from https://translatewiki.net.
Change-Id: I7bbaefe06c662481813379d2f11fcbca8880fb19
2022-01-18 08:11:14 +01:00
WMDE-Fisch 1fa153aeab Fix issues to prepare for lint update
The new mw eslint config comes with node 12 and the change will be
quite big due to the lock file. I wanted to keep the diff of actual
code changes seperate.

- Applied all code style recommendations
- Removed one test that's not giving any value
- Changed regex .match to .test for performance and convinience

Change-Id: I578be8c6460c7a4d1220354c028a9bfd9bb86d13
2022-01-13 13:59:53 +01:00
Thiemo Kreuz 9aca3a2593 Merge ….RevisionList ResourceLoader module away
It's never used in another context but together with the
….Slider module.

Motivated by the confusion about the two types of require()
introduced in Idf1cc79.

Bug: T233279
Change-Id: I922d7ab56fd3ce80bc901f1a5d7174df6fe6756d
2021-12-20 12:13:09 +01:00
jenkins-bot d8c013e323 Merge "Merge ….HelpDialog ResourceLoader module away" 2021-12-17 13:48:22 +00:00
jenkins-bot fd8b96b791 Merge "Merge ….Pointer ResourceLoader module away" 2021-12-17 13:48:20 +00:00
Thiemo Kreuz 1407e0a90d Merge ….HelpDialog ResourceLoader module away
It's never used in another context but together with the
….Slider module as well as the ….init module. The ….init
module continues to require the ….Slider module, so all
dependencies are still met.

Motivated by the confusion about the two types of require()
introduced in Idf1cc79.

Bug: T233279
Change-Id: I4b4ef69f3074d57f884763c092a515ce976daaef
2021-12-16 16:45:41 +01:00
Thiemo Kreuz 319061c92a Merge ….Pointer ResourceLoader module away
It's never used in another context but together with the
….Slider module.

Motivated by the confusion about the two types of require()
introduced in Idf1cc79.

Bug: T233279
Change-Id: I7c98a41051e6d83ab3524cb14a709002feec2d78
2021-12-16 16:39:07 +01:00
Translation updater bot 9915521b89 Localisation updates from https://translatewiki.net.
Change-Id: I72a615149bde5e335d4317d757ff938e156ef11a
2021-12-10 08:24:51 +01:00
Translation updater bot 2153f43c88 Localisation updates from https://translatewiki.net.
Change-Id: I142c30108e357fd98d227eff2c769c8eff080b8b
2021-12-02 08:41:58 +01:00
Translation updater bot ce366809d5 Localisation updates from https://translatewiki.net.
Change-Id: I93a7efdcc2bec4a976d4475317936d1530681590
2021-12-01 08:15:32 +01:00
Translation updater bot 6fd5f3aaf2 Localisation updates from https://translatewiki.net.
Change-Id: I999bbabe5d1f6e5295386355212ea0432acf0267
2021-11-11 10:02:55 +01:00
Translation updater bot 574c373de6 Localisation updates from https://translatewiki.net.
Change-Id: Ia9db0b79f8a083503b1aa0ca6445fde0a4daf4fd
2021-11-09 07:29:36 +01:00
libraryupgrader d366d5c217 build: Updating validator to 13.7.0
* https://npmjs.com/advisories/1004784 (CVE-2021-3765)

Change-Id: I92dd1ef4b4577918b8a018bdb52e844fc2e17040
2021-11-04 22:54:25 +00:00
Translation updater bot deeac1eade Localisation updates from https://translatewiki.net.
Change-Id: Ib8c1372ba357e9958a07af3a44d5c60fdbc457ce
2021-11-03 08:21:11 +01:00
Translation updater bot b9155ffeaa Localisation updates from https://translatewiki.net.
Change-Id: I5a696b91a9787f636641dca42acab8980a7fe97a
2021-10-29 08:22:18 +02:00
Translation updater bot 6f460c8a82 Localisation updates from https://translatewiki.net.
Change-Id: I1127798bfdf472770553dc2f0515991dccc2f188
2021-10-28 08:28:48 +02:00
Translation updater bot 2723bc1340 Localisation updates from https://translatewiki.net.
Change-Id: Id0a3d48b0ce17a58940c6726e14911fef61da81c
2021-10-27 08:22:37 +02:00
libraryupgrader 8e615ebb20 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: Iae0f37b37ab77a8d9cf34cb5627d020328fa63a7
2021-10-24 12:13:15 +00:00
Translation updater bot aae9b746e7 Localisation updates from https://translatewiki.net.
Change-Id: Ifff4b3c32756aa4c653ffc88d3f1176084a39f06
2021-10-20 08:37:42 +02:00
Ed Sanders dcf19784eb Define documentable types in eslintrc instead of inline
Change-Id: I20e805839a13697ffea8d4a2f92b1c3a4b023175
2021-10-17 15:35:14 +01:00
Ed Sanders 64effa6e42 Move var declarations inline
Change-Id: If1256b01f6ac8237c79b5ba62f20ad65f1dc7691
2021-10-07 14:55:44 +01:00
libraryupgrader 3c46c571be build: Updating npm dependencies
* @wdio/mocha-framework: 7.4.6 → 7.13.2
  * https://npmjs.com/advisories/5197 (CVE-2021-3807)
* nth-check: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/5101 (CVE-2021-3803)
* ansi-regex: 5.0.0 → 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: I1796f96f3110821fe0627211951a4a9b312c7b43
2021-10-05 07:45:42 +00:00
Translation updater bot 9ae183363c Localisation updates from https://translatewiki.net.
Change-Id: Ie241748065fdb2fdc69fd5657b74c59d81349494
2021-10-04 08:56:24 +02:00
Umherirrender 8097a15140 Add revisionslider-disable to DefaultUserOptions
Without the default the preference is never deleted from the database,
even it was disabled by the user.

Bug: T291748
Change-Id: Iac622126ab3f5088d8c7177cd82c006e81fbe4e1
2021-09-29 01:16:59 +02:00
Translation updater bot 09da1499be Localisation updates from https://translatewiki.net.
Change-Id: Ia38409febbd6b2bc849fc217f559dcec11e98a63
2021-09-23 12:27:58 +02:00
Translation updater bot eff69b7b62 Localisation updates from https://translatewiki.net.
Change-Id: Ia8964dc37cce12bc1f8e681673f37bd194e02386
2021-09-13 08:30:14 +02:00
libraryupgrader d95fdc6fab 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: Ibe08248f1b36bf01530b5d7a8f64331dbaebebc7
2021-09-09 11:28:22 +00:00
libraryupgrader 6ae0653003 build: Updating stylelint-config-wikimedia to 0.11.1
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list

Change-Id: I95dfc184629b92b85a82173473a55155ed1f3698
2021-09-04 21:55:16 +00:00
Translation updater bot 03e7891ee5 Localisation updates from https://translatewiki.net.
Change-Id: I3f8542db535d83827332820e514d3903efd19b7e
2021-08-19 08:13:49 +02:00
libraryupgrader 81ac6b3b8b build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I9e98e7c72fc2f733882eb1637805f17d2b978779
2021-08-12 10:01:45 +00:00
Translation updater bot 4ddc7a734a Localisation updates from https://translatewiki.net.
Change-Id: Ieb0968dd6f838ba1940db2198800e5566ef3482c
2021-08-06 08:13:52 +02:00
Translation updater bot 31ee7ad19b Localisation updates from https://translatewiki.net.
Change-Id: I92d6259b89adde9e9ae485569495da2852cc583c
2021-08-05 08:22:35 +02:00
Translation updater bot 21ab440ee2 Localisation updates from https://translatewiki.net.
Change-Id: I20a533143b7cdc1d34b10adccaad87b36a6ce784
2021-08-04 08:15:18 +02:00
Translation updater bot dfceac7b0c Localisation updates from https://translatewiki.net.
Change-Id: Ie2fb8bb5972ee957795248b01981a81c636e04e9
2021-07-30 08:27:59 +02:00
libraryupgrader 6b4edb0efd build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* svgo: 2.3.0 → 2.3.1
  * https://npmjs.com/advisories/1754 (CVE-2021-33587)
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: Ia723f76e78bfbe616d03886ba526be72b8d094fe
2021-07-23 10:25:21 +00:00
Translation updater bot fd445487aa Localisation updates from https://translatewiki.net.
Change-Id: I2fcae0bf09392e7f9862f9547da8436350233b5a
2021-07-09 08:07:09 +02:00
jenkins-bot 695a58d671 Merge "selenium: Upgrade WebdriverIO to v7" 2021-07-02 13:12:05 +00:00
sahil 45b95f90f3 selenium: Upgrade WebdriverIO to v7
Update npm packages: @wdio/* and webdriverio.

Also adding a fallback for the case, that the slider does
not open as expected.

It seems, that the update is causing some issues when
waiting for the module state. Waiting for the lazy module
in DiffPage.ready() should make sure, that the event to
trigger the opening of the slider is in place. This seems
to fail sometimes.

Bug: T274579
Change-Id: Icd597fc5aaa857879a8af310166867d433ba0678
2021-07-02 17:36:55 +05:30
Thiemo Kreuz a2bd859b29 Simplify/reformat code pieces with a lot of duplication
Change-Id: I7f933bb0d5c82858e5ab1831f9021f67e373ff69
2021-07-01 09:16:34 +02:00
Translation updater bot 66a90b6a8a Localisation updates from https://translatewiki.net.
Change-Id: I63175947b6c41e316d5c2f74650510a7a3a2da3a
2021-06-22 08:09:50 +02:00
Thiemo Kreuz c8ddf3c9b9 Fix jQuery.offset() calculation possibly failing
It turns out the jQuery documentation is incomplete:

  $( '<a>' ).offset() → { top: 0, left: 0 }
  $( '<a>' ).parent().offset() → undefined

The difference is that the jQuery set in the second example is
empty.

Bug: T282067
Change-Id: I7c19162f1a39bd529e0a74a6cc0c1ac987f33657
2021-06-21 15:35:21 +02:00
Translation updater bot 5f10d4a52b Localisation updates from https://translatewiki.net.
Change-Id: Id1982ad4c19f269eb8561a70a57fca36db4c9a2e
2021-06-04 08:37:14 +02:00
Translation updater bot 1c675288bd Localisation updates from https://translatewiki.net.
Change-Id: Ia6968a168a46023e5236b2fb6c6dea12ae4ec469
2021-06-02 14:35:48 +02:00
Translation updater bot 402a977c5b Localisation updates from https://translatewiki.net.
Change-Id: I89a48055f738f688d2e9383b48ece4c58cf4dfca
2021-06-01 08:36:22 +02:00
Translation updater bot 8c83b908f6 Localisation updates from https://translatewiki.net.
Change-Id: I582344d4412847b995141c167af071eed4c0f217
2021-05-31 08:32:38 +02:00
libraryupgrader e4a85339ae build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I74e7056ca974f5cc06898ab48e5820a88c4f65ed
2021-05-28 03:51:58 +00:00
Translation updater bot 3c59e703ce Localisation updates from https://translatewiki.net.
Change-Id: I45f04fdde5410d9f6cd46202f7e34520751b2995
2021-05-27 12:06:11 +02:00
jenkins-bot 28bd07bcb6 Merge "selenium: Update wdio-mediawiki and fix window resizing" 2021-05-27 08:39:19 +00:00
Adam Wight 40de993f4c selenium: Update wdio-mediawiki and fix window resizing
wdio-mediawiki v1.1.1:
- Includes wdio-defaults.conf.js file that vastly simplifies wdio.conf.js.
- Replaces @wdio/spec-reporter with @wdio/dot-reporter.
- Introduces video recording.

Some part of the new setup seems to influnce they way how resize is applied
to the window. The fix makes sure it works as expected.

Bug: T283597
Change-Id: I20697815591243367b5a8bdd1cd1cc173a1ddc77
2021-05-27 10:17:30 +02:00
sahil 0a8d861b05 selenium: Update README.md file
Bug: T282237
Change-Id: I089bad7629246a93032174665ad10826c5789e53
2021-05-24 17:59:49 +00:00