Commit graph

1585 commits

Author SHA1 Message Date
Mortal303 9dc6fa7fb2 Replace html paragraph tags in i18n
Removed the HTML in the tutorial message and used linebreaks(\n\n) in i18n/en.json file,
replaced .html( mw.message( '…' ).…() ) with .text( mw.msg( '…' ) ) in modules/ext.RevisionSlider.HelpDialog.js
and added 'white-space: pre-wrap' in class '.mw-revslider-column-text' in file modules/ext.RevisionSlider.less
without affecting the front end of the page.

Bug: T267128
Change-Id: Iaf8b1819ca3139c18fb65cfca1c0b2120abb10f4
2022-03-21 15:49:07 +05:30
Translation updater bot b52fd53f6c Localisation updates from https://translatewiki.net.
Change-Id: Ibe895c5ce68b3b8192e7d15ca52e901dac99c7af
2022-03-21 08:15:21 +01:00
Ed Sanders 4a44f8c2e5 build: Update devDependencies
Change-Id: I0bbd117b2b3ebdfee8deb7ed38b409a561f570d5
2022-03-17 22:55:02 +00:00
Reedy 00d9f42d5e Correct namespacing to match best practices
Bug: T303105
Change-Id: I44529699d6dc9564633a9d61ad11ea150767b9ad
2022-03-05 15:08:35 +00:00
Volker E 91ea0fcc92 build: Update 'svgo' to latest v2.8.0
Updating 'svgo' to v2.8.0 and newest Wikimedia SVG guidelines –
mainly around new whitespace features of SVGO.

Change-Id: Iac535fc7c3284de1ba495a483f9d0161a4dc0927
2022-02-27 03:01:09 -08:00
Translation updater bot c5b6b9e929 Localisation updates from https://translatewiki.net.
Change-Id: Ie6d688c32ecfa5d208b9bdc498d2d3f0336d70be
2022-02-25 09:45:27 +01:00
Translation updater bot 8c4eee014f Localisation updates from https://translatewiki.net.
Change-Id: Ic843309936786aae77bf4390632e791e95766543
2022-02-21 08:16:43 +01:00
Translation updater bot 2a9d6d482c Localisation updates from https://translatewiki.net.
Change-Id: I9f4c7d426bd5aebc0c744a1459f12466df72739b
2022-02-01 08:27:27 +01:00
Translation updater bot 6b59aca2fe Localisation updates from https://translatewiki.net.
Change-Id: I3e9008ef41d45884436c25d566d65195b1e8e191
2022-01-27 08:39:18 +01:00
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