Commit graph

2923 commits

Author SHA1 Message Date
jenkins-bot d4cded1d88 Merge "Simplify MetadataPanel.setLocationData" 2024-05-21 19:27:04 +00:00
jenkins-bot bc3cc059bb Merge "Revert "Revert "Add position handling to URLs""" 2024-05-21 19:27:02 +00:00
TheDJ 24ee9dc48d Revert "Revert "Add position handling to URLs""
This reverts commit 5b89420182.

Reason for revert: restore previously reverted patch

Bug: T64039
Change-Id: Iac4486ae785f308d2a572f383073cfb73c7cb523
2024-05-21 19:09:16 +00:00
jenkins-bot 45ea6b65ab Merge "Touch events should make the controls visible" 2024-05-20 23:26:38 +00:00
Derk-Jan Hartman f592eeea3b Remove unused code from mmv.ui
Bug: T77349
Change-Id: I9e26dc68859d9dca3c6066837253e85a19039ce0
2024-05-20 23:02:04 +00:00
TheDJ 5b89420182 Revert "Add position handling to URLs"
This reverts commit de56d4a6de.

Reason for revert: breaks resize handler. Lets revert before branch cut.

Change-Id: I1e4d57d8384ab434f17968100f8bea1bf90c40ff
2024-05-20 20:51:59 +00:00
Derk-Jan Hartman 8940fbf6a7 Touch events should make the controls visible
Bug: T364942
Change-Id: If423570ba6e7b99f7383e71108fa2048852616b2
2024-05-20 22:04:59 +02:00
Simon Legner de56d4a6de Add position handling to URLs
- Instantiate LightboxImage object in mmv.bootstrap
- Add LightboxImage.position field: relative position of this image to others with same file
- Add optional routing suffix /:position

Bug: T64039
Change-Id: Ic7c5889064492fc88dae33271b635c5327b091e1
2024-05-20 18:36:23 +00:00
Translation updater bot e28bbde0c6 Localisation updates from https://translatewiki.net.
Change-Id: I6be6fd66295f804a1a2e61fb0f2758578ffe9527
2024-05-20 09:25:43 +02:00
libraryupgrader 75a0ba6a7f build: Updating grunt-banana-checker to 0.13.0
Change-Id: I8749eabf3a1d77c7a530b7a0912760092b8ed610
2024-05-18 18:35:54 +00:00
Simon Legner dad874d6ce Simplify MetadataPanel.setLocationData
Extract common function convertDegMinSec for latitude and longitude.

Change-Id: I7037ab1d1444b670f37834f178220fc7cabd433f
2024-05-18 17:27:20 +00:00
jenkins-bot 78f88fd300 Merge "Extract mmv.ui.restriction module" 2024-05-17 21:08:54 +00:00
Simon Legner c53047d181 Extract mmv.ui.restriction module
This module contains the restriction icons. The main mmv module shrinks from 196.88kB to 174.97kB.

Bug: T77349
Change-Id: I78d16b487f5272a8f779f3484c883d113db1878b
2024-05-17 20:51:05 +00:00
jenkins-bot ae063e56f3 Merge "Use heavier box shadow for the dialog" 2024-05-17 15:45:36 +00:00
jenkins-bot 1246e5bd5f Merge "Allow striken text in MMV descriptions" 2024-05-17 13:20:07 +00:00
Translation updater bot 6f0e429e49 Localisation updates from https://translatewiki.net.
Change-Id: I36a846b8be71c16fb7cccf049b9f4e0102cc54ed
2024-05-17 09:49:22 +02:00
Jon Robson de6f1bd2c6 Monitor bundlesizes in MultimediaViewer
Bug: T77349
Change-Id: Ia3cc3a1d630c5e2528b0f46856969eb4fde960cb
2024-05-16 23:37:47 +00:00
jenkins-bot 0e2b527950 Merge "Use the Translated namespace in the metadata panel" 2024-05-16 23:34:10 +00:00
jenkins-bot 9ac1994cf8 Merge "Make functions in Utils class static" 2024-05-16 23:30:30 +00:00
jenkins-bot c33efb3919 Merge "Revert "Fix Codex icon on progressive buttons in dark mode"" 2024-05-16 23:19:33 +00:00
VolkerE 7164a90d48 Revert "Fix Codex icon on progressive buttons in dark mode"
This reverts commit 2f05b66988.

Reason for revert: Fixed upstream in v1.6.0

Bug: T364254
Change-Id: I0d0923254f7bdb53d03f60b3ff8a997605f7a66b
2024-05-16 23:16:28 +00:00
Simon Legner cfb250a57e Make functions in Utils class static
Bug: T337102
Change-Id: Ia186ba355d7da6034309453788f2f84d6b8de899
2024-05-16 21:52:14 +02:00
Derk-Jan Hartman 018f21ba46 Use heavier box shadow for the dialog
White on white got a bit confusing. Use a much heavier
box-shadow to give better distinction for the elements.

Alternative is to use a border of the subtle color, but doesn't look
as nice to me.

Bug: T365192
Change-Id: I0bf760f0987b2c04a66b00f24398561588bd719a
2024-05-16 21:28:10 +02:00
Derk-Jan Hartman 4b45cd438f Use the Translated namespace in the metadata panel
Bug: T365124
Change-Id: Ibf932f266a66ce34909290a6441a87caeec05431
2024-05-16 19:02:25 +00:00
jenkins-bot 87e071c7de Merge "Add Simon as an author" 2024-05-15 22:53:33 +00:00
Derk-Jan Hartman b7a5572524 Allow striken text in MMV descriptions
Bug: T288492
Change-Id: I3b7c2998d72cf12b7420aebe02e6e749b9f5f9da
2024-05-16 00:47:32 +02:00
jenkins-bot 11efc235c3 Merge "Use jQuery.data in favour of jQuery.attr" 2024-05-15 22:11:46 +00:00
jenkins-bot e8b55d8204 Merge "Remove some unreachable/no longer needed code" 2024-05-15 22:11:05 +00:00
Jon Robson 199800afeb Add Simon as an author
Simon has done extensive work modernizing the multimedia viewer
extension so I think he should be recognized by a credit.

Change-Id: Ie094a933d2fcfa57784014c3ff0e71d6c6eb9945
2024-05-15 15:04:53 -07:00
Simon Legner e50a8b604a Remove extraStatsDeferred
Seems to be a leftover from performance instrumentation I97d41be93849b2ae9d1adba6660546ea716657fd.

Change-Id: Iaba7d23fd526db772528d3ccb74889e7000b3d71
2024-05-15 20:59:58 +02:00
Derk-Jan Hartman de81163226 Remove some unreachable/no longer needed code
These browser fallbacks etc are no longer needed
We even had an unused file

Change-Id: I278f8adbb72cbd587b4a812aa11f40a63d334c8c
2024-05-15 20:48:16 +02:00
Simon Legner 628979d317 Use jQuery.data in favour of jQuery.attr
Ref: https://api.jquery.com/data/

Change-Id: I4ce901a8b030c4864814b8bed14dc0049fd788d7
2024-05-15 20:28:58 +02:00
Translation updater bot ff16f19a3f Localisation updates from https://translatewiki.net.
Change-Id: I7ed6eb3776618b11bb0078abe26d0d48883ba07c
2024-05-15 09:21:54 +02:00
Translation updater bot 688736cb98 Localisation updates from https://translatewiki.net.
Change-Id: If350b979db75a0fb832da0371a657ac40827d7fb
2024-05-14 09:26:49 +02:00
Translation updater bot 5a943a430b Localisation updates from https://translatewiki.net.
Change-Id: I0749ef63f4e4a204e3c05b820f9a2d9e993b2c2f
2024-05-13 09:27:34 +02:00
jenkins-bot 870d9d1d0b Merge "Make functions in HtmlUtils class static" 2024-05-12 14:43:02 +00:00
jenkins-bot c9bb15f15d Merge "Use Title.getPrefixedText for localized File: namespace" 2024-05-12 14:43:00 +00:00
jenkins-bot cc0b57939a Merge "Restore success notification for copy-to-clipboard buttons" 2024-05-12 14:42:57 +00:00
libraryupgrader 9ef31819ea build: Updating grunt-banana-checker to 0.12.0
Change-Id: Ibe44cc6aa1daa274a9e9125dddb28c9d4eeb2cd2
2024-05-11 02:07:42 +00:00
Simon Legner 99275d517a Make functions in HtmlUtils class static
Bug: T337102
Change-Id: I665e6e965d8b595ef9b1b3a58164d272007c3f81
2024-05-10 18:42:24 +03:00
Simon Legner e0d3db89cd Fix dialog background color
Use background-color-base instead of background-color-neutral.

Bug: T363776
Change-Id: Id954acdc07a33ae7bb1a0f57367b87b1d867bb0c
2024-05-09 21:47:20 +03:00
Simon Legner 075d040840 Use Title.getPrefixedText for localized File: namespace
Bug: T66710
Change-Id: I709d62e2f27afbcf71e18b39934960bfa802a94d
2024-05-09 21:43:31 +03:00
libraryupgrader 440c870083 build: Updating dependencies
composer:
* mediawiki/minus-x: 1.1.1 → 1.1.3

npm:
* jsdoc-wmf-theme: 1.0.0 → 1.0.1

Change-Id: Icf4797eac4d23c156db82ebce833b5a3101e2eab
2024-05-08 13:22:02 +01:00
Translation updater bot bfbc335d18 Localisation updates from https://translatewiki.net.
Change-Id: Iea7dead49d297e1cab466eb15a484d051420b4a2
2024-05-08 09:24:02 +02:00
Ed Sanders f1f9038471 Restore success notification for copy-to-clipboard buttons
UI interactions should always provide some visual feedback,
and the mw.widget version of this triggered a notification.

Bug: T340258
Change-Id: I1f9850541d23e362c2cd73c3797d1f03bcfc7ca1
2024-05-07 20:47:27 +01:00
Translation updater bot c7c05eb214 Localisation updates from https://translatewiki.net.
Change-Id: I3b2871215c44cb4155406cf1897a901b5804207a
2024-05-07 09:23:13 +02:00
Translation updater bot c5c89b4f1d Localisation updates from https://translatewiki.net.
Change-Id: Ibe1ba2770e3ccc719ba4df355cbe661e6d06f0c8
2024-05-06 09:26:12 +02:00
jenkins-bot d6832e40ed Merge "Use CodexModule instead of codex-styles/codex-search-styles" 2024-05-05 12:22:57 +00:00
jenkins-bot d29ca3fb8a Merge "Remove obsolete multilightbox library import/export script" 2024-05-05 11:43:51 +00:00
jenkins-bot 531a5700fc Merge "Remove obsolete SVG icons" 2024-05-05 11:37:16 +00:00