Commit graph

1572 commits

Author SHA1 Message Date
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
Translation updater bot 7bd12544e9 Localisation updates from https://translatewiki.net.
Change-Id: I8da51c77894155eb577db9b231862a94f7f979e3
2022-08-29 09:15:39 +02:00
Translation updater bot 516d050927 Localisation updates from https://translatewiki.net.
Change-Id: If87a3294f9e5b0a22369407c23fbafc0e4599a8e
2022-08-25 08:27:01 +02:00
Translation updater bot 7e0c418ffd Localisation updates from https://translatewiki.net.
Change-Id: Ia35e4413d18c181c39199f22724363d2400f9ac0
2022-08-22 08:23:45 +02:00
Translation updater bot 6920344bbc Localisation updates from https://translatewiki.net.
Change-Id: Ie4eb48aa46bbdb6605f7f28c1240b2dd7937f4b3
2022-08-08 08:59:23 +02:00
Translation updater bot 5b077186a7 Localisation updates from https://translatewiki.net.
Change-Id: I032cafc880b4129acae4fe49bdbc57edc49e201b
2022-08-05 08:34:26 +02:00
Translation updater bot d6052aea39 Localisation updates from https://translatewiki.net.
Change-Id: Iabe2edd6361c901f9500e77cdc9ec72fa574ba38
2022-07-28 08:57:47 +02:00
Translation updater bot 3e8ef85657 Localisation updates from https://translatewiki.net.
Change-Id: I358ae995ea59fa4bb4a05e044ee02ee7cf0f0d44
2022-07-25 08:38:53 +02:00
Translation updater bot aec1a5df64 Localisation updates from https://translatewiki.net.
Change-Id: Ibe38e26a5f6a112de1fa5028b0caafcc1cf11d02
2022-07-21 09:04:34 +02:00
Ed Sanders 4ed783c2e7 Remove unnecessary vendor prefixes
Change-Id: I1777f850595b3163e47e353aa02194ba838aebeb
2022-07-19 17:23:08 +01:00
Translation updater bot f7356a3d99 Localisation updates from https://translatewiki.net.
Change-Id: I309b9e4f6cdad19670c912c938acbf60e686d5b5
2022-07-08 08:52:57 +02:00
jenkins-bot 643f4d7a27 Merge "Modernize and simplify smaller pieces of code in API module" 2022-06-22 19:36:03 +00:00
Thiemo Kreuz fd9b17633b Modernize and simplify smaller pieces of code in API module
Change-Id: Ic3f65516a76b0e4f03013587b164a56ad3785185
2022-06-22 13:11:52 +00:00
libraryupgrader 078c2ae8d3 build: Updating got to 11.8.5
* https://github.com/advisories/GHSA-pfrx-2q88-qq97

Change-Id: Id281744d1305cf2bf92a0de6a178091dd2fa993f
2022-06-22 08:49:04 +00:00
Translation updater bot 6ca84d60a1 Localisation updates from https://translatewiki.net.
Change-Id: I00a90ff4feb753cb09b4131c1e788642973039ae
2022-06-07 10:01:34 +02:00
Translation updater bot 06009a9405 Localisation updates from https://translatewiki.net.
Change-Id: I287beeb76c4c05408915bede116bbf397d88aeea
2022-06-06 09:26:38 +02:00
Translation updater bot 8d88b94bc2 Localisation updates from https://translatewiki.net.
Change-Id: Ib336b1c28bfcd2993667080da09ccec60cb05621
2022-05-30 09:24:09 +02:00
libraryupgrader efa624bbc6 build: Updating grunt to 1.5.3
Change-Id: Ibcb4a1e3c0cc2c9e34666fecfd61703ee1394330
2022-05-27 00:23:42 +00:00
Translation updater bot c75e99d73e Localisation updates from https://translatewiki.net.
Change-Id: Id5e47f39dde4b1fa5e1b93a96ca06bff8d264fc2
2022-05-26 08:52:00 +02:00
Translation updater bot e9b98c6362 Localisation updates from https://translatewiki.net.
Change-Id: Ie02d14cf6942fa7d515c40e938140db7087da7dc
2022-05-25 08:32:51 +02:00
Translation updater bot 162935e6be Localisation updates from https://translatewiki.net.
Change-Id: Ib5aeb000bde259d071c2053fd1173fa855f677e4
2022-05-23 08:17:29 +02:00
libraryupgrader 74ea0a4ce2 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* grunt: 1.4.1 → 1.5.2
* stylelint-config-wikimedia: 0.12.2 → 0.13.0
* wdio-mediawiki: 1.1.1 → 1.2.0
* async: 0.9.2 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 3.1.6 → 3.1.8
  * https://github.com/advisories/GHSA-phwq-j96m-2c2q
* jake: 10.8.2 → 10.8.5
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* json-schema: 0.2.3 → 0.4.0
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* jsprim: 1.4.1 → 1.4.2
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* mocha: 9.1.2 → 9.2.2
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.25 → 3.3.1
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* node-fetch: 2.6.1 → 2.6.7
  * https://github.com/advisories/GHSA-r683-j2x4-v87g

Additional changes:
* Set `name` in package.json.

Change-Id: If4b981e1fc37e9572864f51825caa96c889b4b3f
2022-05-21 11:26:40 +00:00
Translation updater bot b496520152 Localisation updates from https://translatewiki.net.
Change-Id: Iefd66950cbc4d0966ec9e9b785d3e99b2e516c7f
2022-05-11 08:12:03 +02:00
Translation updater bot 75103b40d3 Localisation updates from https://translatewiki.net.
Change-Id: I82692ff112695c017229291dfd2663e36770c543
2022-05-09 08:12:18 +02:00
Translation updater bot 052c07e988 Localisation updates from https://translatewiki.net.
Change-Id: Ic4f5a5d2de4f73c62dc1573b45430378da1b6ef3
2022-05-05 08:06:55 +02:00
Translation updater bot f8a93fbad4 Localisation updates from https://translatewiki.net.
Change-Id: I21d26bde575e9f8c3955d03aec1f5b47ef34afa1
2022-05-02 08:20:19 +02:00
Translation updater bot cedf22bca0 Localisation updates from https://translatewiki.net.
Change-Id: I5905fbc7bec851c3043dbb2d9101af6f3e27de17
2022-04-26 08:54:42 +02:00
Translation updater bot edd436e2af Localisation updates from https://translatewiki.net.
Change-Id: I548b9d60b37288fc7b2fe2402143d257538e4191
2022-04-25 08:18:54 +02:00
Translation updater bot 0cc35437d6 Localisation updates from https://translatewiki.net.
Change-Id: I78a7d6a22072840777f329dabb2af7228232c390
2022-04-11 08:14:34 +02:00
Translation updater bot 4fa41e8a43 Localisation updates from https://translatewiki.net.
Change-Id: I373d458d987efca6d98f3ee79291f1733a919c06
2022-04-08 08:28:15 +02:00
Translation updater bot 07fd77c3ec Localisation updates from https://translatewiki.net.
Change-Id: I598d185c0120e140855b2a1700e5c73a70e88f10
2022-04-04 09:35:06 +02:00
Translation updater bot c7b2a9039a Localisation updates from https://translatewiki.net.
Change-Id: Iab8dc24a5556ccc0aa22957f2262f64cdae4567b
2022-04-01 08:27:29 +02:00
Translation updater bot 5b5c7936a4 Localisation updates from https://translatewiki.net.
Change-Id: Ic533e3c4068135bf505f05e917f56cba97bd7ca8
2022-03-31 08:36:21 +02:00
Translation updater bot bf586bbda5 Localisation updates from https://translatewiki.net.
Change-Id: I92ebc4991a640d13c14014681f9395fd818102ae
2022-03-30 08:18:36 +02:00
Translation updater bot ccba4ebe21 Localisation updates from https://translatewiki.net.
Change-Id: Ie133e4d69b96f52a6ca9330de2dd613ccbc54bf0
2022-03-29 08:06:10 +02:00
jenkins-bot bc9a5d7d84 Merge "Replace html paragraph tags in i18n" 2022-03-28 13:27:39 +00:00
Translation updater bot a5671d990e Localisation updates from https://translatewiki.net.
Change-Id: I77f379abb134d38fe8d0b147e7d3366b530d51dc
2022-03-28 08:21:53 +02:00
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