Commit graph

1571 commits

Author SHA1 Message Date
Raimond Spekking 319804d979 Merge "Localisation updates from https://translatewiki.net." 2023-04-24 07:47:28 +00:00
Translation updater bot c326fa9abd Localisation updates from https://translatewiki.net.
Change-Id: Ib26271a4faaad849f91d1709ef77e9f63f67af6c
2023-04-24 09:17:09 +02:00
Fomafix 6c0d10ddbe Use .empty().append( $jQueryObject ) instead of .html( $jQueryObject )
According to https://api.jquery.com/html/ a jQuery object is not
supported in .html() although is works.

The .empty() is needed to avoid multiple sliders on resize.

Change-Id: I0ce4748e95529dbe27f82d6fd0aa2433bfda4375
2023-04-22 19:16:31 +00:00
jenkins-bot 2781a23fe6 Merge "Make use of named MainConfigNames::… constants" 2023-04-21 15:40:49 +00:00
thiemowmde 59af8caa8f Make use of named MainConfigNames::… constants
Change-Id: Idbed910d3ab8e06bf0b0a0b4aea9a8954102f02c
2023-04-21 10:01:41 +00:00
Fomafix 65d1dfefbf Use document.body instead of 'body' as jQuery selector
Change-Id: I2e74d31b61f5f46d1bbb1a0283a7468af9c4e856
2023-04-21 08:52:25 +00:00
jenkins-bot e5950e7b41 Merge "Use mw.msg( ... ) instead of mw.message( ... ).text()" 2023-04-21 08:43:21 +00:00
Translation updater bot fd09f34958 Localisation updates from https://translatewiki.net.
Change-Id: I5607c9f2ad437126de860e245d5c64132fbc4e43
2023-04-21 09:00:41 +02:00
Fomafix c86df62861 Use mw.msg( ... ) instead of mw.message( ... ).text()
Change-Id: If954018fdfa5a3609bf48e92de9013b05c485f93
2023-04-21 06:36:08 +00:00
Sam Wilson e70d7b7ed6 Update to use the new HookContainer/HookRunner system
Implement hook handlers and inject services.

Bug: T335085
Change-Id: Ibe68029561098d90a0ee0b9fa70b1c4866996426
2023-04-20 11:28:28 +08:00
Translation updater bot 4b845be9ea Localisation updates from https://translatewiki.net.
Change-Id: If7eb6dfad3d742223cfde7ac57c24cb2ffd30508
2023-04-17 09:15:27 +02:00
Raimond Spekking 94adfc80c6 Merge "Localisation updates from https://translatewiki.net." 2023-04-10 12:45:55 +00:00
Translation updater bot 1ce8078ea3 Localisation updates from https://translatewiki.net.
Change-Id: I2ab0102b02b10354f30c110a5de3f673bf884202
2023-04-10 09:46:35 +02:00
Translation updater bot 8e73d04721 Localisation updates from https://translatewiki.net.
Change-Id: I03a73583fa1e6b0e9188f722baa251b835e13a99
2023-04-10 09:22:55 +02:00
jenkins-bot 438bd35dc0 Merge "selenium: Refactor WebdriverIO tests from sync to async mode" 2023-04-03 07:50:07 +00:00
Translation updater bot a15c6ed84f Localisation updates from https://translatewiki.net.
Change-Id: I0d39dff2024840e8fa7b25a15f2441c26bef4ef0
2023-04-03 09:19:00 +02:00
Vaughn Walters 8a53d056be selenium: Refactor WebdriverIO tests from sync to async mode
WebdriverIO has dropped support of sync mode, hence changed to async.

Update npm packages: @wdio/*, wdio-mediawiki
because async mode needs at least @wdio v7.9.

Remove npm packages: @wdio/dot-reporter and @wdio/sync.

Bug: T300798
Change-Id: I053ea6b5fbfdcff279f4eb10cf2429155690bd72
2023-03-31 14:10:46 -05:00
Umherirrender e00aa9f599 stylelint: Enable selector-pseudo-element-colon-notation
Via stylelint --fix

Change-Id: Ic1625ae755233e172cc6db734dc21ed2c5b377d8
2023-03-30 00:42:20 +02:00
libraryupgrader 88f6eccd11 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.0 → 0.14.0
  The following rules are failing and were disabled:
  * selector-pseudo-element-colon-notation

Change-Id: Ic78a5aa7fca2d917054eb26b5c8d46c008870484
2023-03-22 21:18:23 +00:00
Umherirrender e62fbf5581 build: Remove unneeded inline stylelint-disable-next-line
The error is suppressed in the .stylelintrc.json file and
does not need inline suppression

Change-Id: I476534fdcd521a2884a6be3b7c8ac5c9d1826ef1
2023-03-21 22:53:26 +01:00
libraryupgrader 1cc4c488d7 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0

npm:
* http-cache-semantics: 4.1.0 → 4.1.1
  * https://github.com/advisories/GHSA-rc47-6667-2j5j
* qs: 6.5.2 → 6.5.3
  * https://github.com/advisories/GHSA-hrpp-h998-j3pp
* ua-parser-js: 0.7.28 → 0.7.34
  * https://github.com/advisories/GHSA-fhg7-m89q-25r3

Change-Id: I80707cef042fe2b57e18d3cbe3c94ee5ef75b62b
2023-03-12 09:18:16 +00:00
Translation updater bot 1d019d477c Localisation updates from https://translatewiki.net.
Change-Id: I31347b0cb8b9d150eb904e0eab0c42a5fd61adab
2023-02-28 08:29:34 +01:00
Translation updater bot d0413a0cc9 Localisation updates from https://translatewiki.net.
Change-Id: I88abf74205cd3650e2e027306ac7a3e7a1c08059
2023-02-27 08:28:07 +01:00
Translation updater bot 82ee5b5101 Localisation updates from https://translatewiki.net.
Change-Id: Ied590896ddd16f2f077bfba01d0d24d6b1088b0b
2023-02-21 08:21:44 +01:00
Translation updater bot d82b36223f Localisation updates from https://translatewiki.net.
Change-Id: Idea7e6d3af4ba3f14df57936dd256014db3a0625
2023-02-13 08:31:00 +01:00
Translation updater bot 482315997f Localisation updates from https://translatewiki.net.
Change-Id: I9b22522185b639222b2028895ecc243121961f35
2023-02-06 08:46:06 +01:00
Translation updater bot 181c1b5b83 Localisation updates from https://translatewiki.net.
Change-Id: Idcb8f9029612ed81e091eecd30f6f383bad0f6de
2023-02-03 08:48:21 +01:00
Vaughn Walters 8461d956d4 selenium: Remove webdriverio npm package from the Revision Slider extension
The `webdriverio` package does not need to be an explicit dependency.
It is a dependency of `@wdio/cli`.

Bug: T325059
Change-Id: Id772e7e1438fb7ac7ff3c5e90dcff5a94783d13d
2023-01-13 11:09:50 -06:00
Translation updater bot eb18914fb4 Localisation updates from https://translatewiki.net.
Change-Id: Ib939b3e0016d51d81818cd9c4d32c4c8812748ea
2023-01-09 09:28:47 +01:00
Translation updater bot d9d0800705 Localisation updates from https://translatewiki.net.
Change-Id: Ida29b9bf61c7e6d6d8f08ac58cef38b38430d9f4
2023-01-02 08:44:15 +01:00
Translation updater bot d1be664aa6 Localisation updates from https://translatewiki.net.
Change-Id: Id88c7e945f0e25ff003cb40ce9507d973ca5f5f6
2022-12-23 09:07:57 +01:00
Translation updater bot 32f650fbf9 Localisation updates from https://translatewiki.net.
Change-Id: I2ee7829786c693ab42ade79b44787f094ddcd9b4
2022-12-21 09:17:43 +01:00
Translation updater bot cecf5916b6 Localisation updates from https://translatewiki.net.
Change-Id: I2d9458e87286056750cd0ba1915bb5033ecdd69a
2022-12-08 08:29:51 +01:00
Translation updater bot 2a0012cfcb Localisation updates from https://translatewiki.net.
Change-Id: I45b8ce2326dba20ca7a2e99534fc8ee5e7f5a3e2
2022-11-29 08:59:14 +01:00
Translation updater bot 389e17b4d0 Localisation updates from https://translatewiki.net.
Change-Id: Ia249576f41aef69869c753a89082a50248d38f2b
2022-11-24 08:18:08 +01:00
jenkins-bot 8f924322b9 Merge "Simplify slightly complex code reading time zone settings" 2022-11-23 09:06:09 +00:00
thiemowmde afbc7be282 Simplify slightly complex code reading time zone settings
Change-Id: I30348e27392df03ce775db0e9f8bb055966d2381
2022-11-22 14:33:39 +01:00
thiemowmde f7a171e14d Fix and add missing JSDoc type hints in SliderView class
Mostly motivated by the missing @type tag.

Also make the syntax more compact. This is significantly easier to
read, I would like to argue.

Change-Id: If5cea5ff66ed345df16a2b417f0db4c56db347c9
2022-11-22 14:32:33 +01:00
libraryupgrader 84b939292c build: Updating grunt-stylelint to 0.18.0
Change-Id: If26dfcedc2607127aa9456b296b0c775f9f5c438
2022-11-13 08:43:53 +00:00
Translation updater bot 38c6054c23 Localisation updates from https://translatewiki.net.
Change-Id: I63912515ab838f6375f32aed2dabdc986df0ecd1
2022-11-10 08:12:44 +01:00
Translation updater bot ad1933ee2e Localisation updates from https://translatewiki.net.
Change-Id: Ifa3f757e670432fc3b59203caca382e67051cfdb
2022-11-01 08:54:21 +01:00
Translation updater bot debe68e0f2 Localisation updates from https://translatewiki.net.
Change-Id: Ieb047fbdfb31a072091f19ad21600f915ef4ec86
2022-10-31 09:46:31 +01:00
Translation updater bot b629624718 Localisation updates from https://translatewiki.net.
Change-Id: I4d747fa1f52531ff8f586f880dddac9212dd5e3c
2022-10-28 08:37:38 +02:00
libraryupgrader d9fcfc496a build: Updating npm dependencies
* minimatch: 3.0.4 → 3.0.8
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3
* recursive-readdir: 2.2.2 → 2.2.3
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: Id929c5993a1ffdd614066075c5cf81dfa7a745a9
2022-10-26 04:21:40 +00:00
libraryupgrader c3d7153bfa build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: I7c722b2804f82ff9a341c47a04d404709ba6bfea
2022-10-09 09:46:46 +00:00
libraryupgrader 7a3144e084 build: Updating grunt-banana-checker to 0.10.0
Change-Id: Ied496cc652a874860e734fe9885e76cfdb1cf3d3
2022-10-07 05:01:14 +00:00
Translation updater bot f586d5d527 Localisation updates from https://translatewiki.net.
Change-Id: I26536caccdc97b925e1cf1eb40a0411a8940c0e7
2022-09-29 08:28:06 +02:00
Translation updater bot 84e44d87af Localisation updates from https://translatewiki.net.
Change-Id: I3b9d6d740a8345894f353bf4fd960748bbe5728f
2022-09-28 08:22:38 +02:00
Translation updater bot 9b0a975e4b Localisation updates from https://translatewiki.net.
Change-Id: I28ad38916081c9629c7a489e14cc5e7b20ae25e3
2022-09-26 08:16:13 +02:00
Thiemo Kreuz 3faf7ff34c Fix broken initial state when old/new revision id are swapped
This might not be the best possible solution, but it improves the
current, obviously broken situation a lot. At the moment one of the
dots is drawn outside of the slider, even if the revision it should
point at is part of the slider. Turns out the revisions shown on the
slider are loaded in multiple steps. The first step misses one of the
revisions when their order is swapped. When the missing revision is
added later it's already to late.

Bug: T168609
Change-Id: I10d15d04d981c87d35b2431080182fb5e3eb2b2b
2022-09-09 11:18:10 +02:00