Commit graph

2996 commits

Author SHA1 Message Date
Simon Legner 161adf921d Drop "About Media Viewer" link
Bug: T376972
Change-Id: I85a308afe7c805a147bfcc5e9adf0293378859f1
2024-10-13 08:46:50 +02:00
jenkins-bot fc75d3aabe Merge "Remove MMV options dialog in favour of Special:Preferences" 2024-10-11 00:23:53 +00:00
jenkins-bot bae1dcaeb0 Merge "Make next/prev buttons jump to first/last image when viewing last/first image" 2024-10-10 22:38:37 +00:00
jenkins-bot 8ded5568e0 Merge "Update namespaces of PHP classes" 2024-10-10 22:38:36 +00:00
Simon Legner 3d350a29ab Fix mmv.ui.metadataPanel.test.js
Regression of I3a4024ccf90e50558152d4ee012e492f49e14a0e: unless mw.messages.exists the license shortName CC-BY-2.0 is returned, breaking "License is correctly set" in setImageInfo() in mmv.ui.metadataPanel.test.

Change-Id: I35f67fa3d160d771970b5695fb93f5de7ea2d41d
2024-10-10 12:40:33 +02:00
Simon Legner e3badef708 Remove MMV options dialog in favour of Special:Preferences
MMV options dialog only allows to disable/enable MVV. Rely on Special:Preferences instead. Strips more than 2kB off the bundlesize.

Bug: T77349
Change-Id: I707ef2c0b6b8d4d13c05182078b82ddc99e32d12
2024-10-08 20:56:04 +02:00
Simon Legner f3786ff249 Make next/prev buttons jump to first/last image when viewing last/first image
Bug: T77877
Change-Id: I10f4d1b51b909ac8683afbd21f9529254a25ff37
2024-10-08 20:35:52 +02:00
Translation updater bot 683ca2a2dd
Localisation updates from https://translatewiki.net.
Change-Id: Id51be0ae095e2555e28ef47139c3ecf4adf2faf2
2024-10-08 09:44:07 +02:00
Fomafix 249f30c88c Update namespaces of PHP classes
Change-Id: I23543c35ec6eead4d7cb5c0805833d1ff283fd5b
2024-10-04 21:43:09 +00:00
Translation updater bot 87b81d0f79
Localisation updates from https://translatewiki.net.
Change-Id: I6fc7331949b785a73507e78ec19e7302c7cef7f0
2024-09-25 09:18:16 +02:00
Translation updater bot 9121b14204
Localisation updates from https://translatewiki.net.
Change-Id: I7fba3fe3b9bf685099379a40a82376b92414b11e
2024-09-19 09:18:25 +02:00
Translation updater bot 4ba760ae26
Localisation updates from https://translatewiki.net.
Change-Id: Ia37b43ffccd1300b8f7520e93b1de45795e93cde
2024-09-16 09:27:24 +02:00
Translation updater bot be693dc63b
Localisation updates from https://translatewiki.net.
Change-Id: I0eb464d8cdc410800700bfdd5d3a234ef55d1fc8
2024-09-09 09:22:49 +02:00
Translation updater bot 182b5fb0d1
Localisation updates from https://translatewiki.net.
Change-Id: I615312342831a41be0462b61917d6f1bcc041c24
2024-09-02 09:21:07 +02:00
Translation updater bot 2b17483e6e
Localisation updates from https://translatewiki.net.
Change-Id: I6c185851809a629983c183b35e4cedf25b227d30
2024-08-28 09:39:16 +02:00
Translation updater bot 3c3666a1a9
Localisation updates from https://translatewiki.net.
Change-Id: Ic2e935c792c7837f45a31eaabc0791db6d321b33
2024-08-27 09:48:14 +02:00
jenkins-bot 8aef3bcbe3 Merge "build: Update MediaWiki requirement to 1.43" 2024-08-26 16:51:05 +00:00
libraryupgrader f006c2e731 build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: I6785b12bbbce556f330503f95b652dd08a793b9d
2024-08-25 06:13:19 +00:00
Translation updater bot b10d2d0a30
Localisation updates from https://translatewiki.net.
Change-Id: I305f31f04af9efcb703bb5949db51a2bb8888b85
2024-08-23 09:46:35 +02:00
James D. Forrester 00c8c54a7b build: Update MediaWiki requirement to 1.43
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: Ie042ed29c2dbe1381862a6e0a5ac5e5ad432d679
2024-08-22 17:46:12 -04:00
Translation updater bot 630237eacd
Localisation updates from https://translatewiki.net.
Change-Id: Ic4b1fde25e2963576ef3fa6857004d52e1eb41a4
2024-08-22 09:22:34 +02:00
Translation updater bot 9fd4ffe10c
Localisation updates from https://translatewiki.net.
Change-Id: I6dd4710fed11ea7e6b3f325e1eb455b860a379f4
2024-08-19 09:24:09 +02:00
jenkins-bot 0ac3ccd8a9 Merge "Make remaining functions in Config class static" 2024-08-15 19:38:52 +00:00
jenkins-bot 3b9df554f8 Merge "Replace wgMultimediaViewer with config.json packageFiles" 2024-08-15 19:36:53 +00:00
jenkins-bot 6f90d124cc Merge "Use mw.storage.get/set/remove directly" 2024-08-15 19:36:52 +00:00
jenkins-bot a7d1495e03 Merge "Use mw.Api.prototype.saveOption directly" 2024-08-15 19:36:50 +00:00
jenkins-bot a1ceb9fb17 Merge "Use mw.config directly" 2024-08-15 19:36:49 +00:00
jenkins-bot 1de1055972 Merge "Use mw.user directly" 2024-08-15 19:36:47 +00:00
jenkins-bot 4a8f104624 Merge "Use mw.storage directly" 2024-08-15 19:10:06 +00:00
Translation updater bot dfc26bd856
Localisation updates from https://translatewiki.net.
Change-Id: I6ae8eb46538b55c3c71760f02bb14963858165c3
2024-08-14 09:23:12 +02:00
Translation updater bot 72f31d9471
Localisation updates from https://translatewiki.net.
Change-Id: Ia4c40f1d76293c517bb4a210c9a1e058e011f8cb
2024-08-13 09:51:34 +02:00
Translation updater bot 27317ae25e
Localisation updates from https://translatewiki.net.
Change-Id: I85fc12df67a5d697b7812ec021c53cd0948025fc
2024-08-12 09:22:56 +02:00
libraryupgrader fce7daf67c build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: Icc34b563d0582914677b196b2bd57451e14b4e1a
2024-08-11 22:09:43 +00:00
Simon Legner 3c11f01c5f Make remaining functions in Config class static
Bug: T77349
Change-Id: I40d3ccd34df20943b33c3923fabbd0b59a94e5ae
2024-08-11 12:03:30 +02:00
Simon Legner 01437fd521 Replace wgMultimediaViewer with config.json packageFiles
Practically, the variable wgMultimediaViewer is not used inside user common.js, see https://global-search.toolforge.org/?q=wgMultimediaViewer

Ref: https://www.mediawiki.org/wiki/ResourceLoader/Package_files
Bug: T77349
Change-Id: Ib086c6184f76ca2dbeb701f79c3b18b336ff5433
2024-08-11 11:34:46 +02:00
Simon Legner d698b8b006 Use mw.storage.get/set/remove directly
Bug: T77349
Change-Id: I5b670ed617c8359f28029cf117cfda26b635e871
2024-08-11 09:56:43 +02:00
Simon Legner 8c4186962e Use mw.Api.prototype.saveOption directly
Bug: T77349
Change-Id: I531995fd2224705a612c0f1aef8cfc545c8b4228
2024-08-11 09:48:49 +02:00
Simon Legner 6309f26238 Use mw.config directly
Bug: T77349
Change-Id: I1dff714af371a8e605f35a2ac198f4eecad28cb8
2024-08-11 09:47:04 +02:00
Simon Legner 2602867d7c Use mw.user directly
Bug: T77349
Change-Id: Ib0901b88e9d85a7544bbce386a37a56b45955ec3
2024-08-11 09:28:38 +02:00
Simon Legner aa2951f436 Use mw.storage directly
Bug: T77349
Change-Id: I8a494f20b4d9f4930fa89681857990416c0e840c
2024-08-10 14:39:31 +02:00
jenkins-bot f27c355342 Merge "Make thumbnail bucket widths configurable using wgMediaViewerThumbnailBucketSizes" 2024-08-09 17:01:07 +00:00
Simon Legner 64e0cfeab5 Make thumbnail bucket widths configurable using wgMediaViewerThumbnailBucketSizes
Bug: T269987
Change-Id: Ib1b590c5c6fe353a86ac1527d19617975113ff8a
2024-08-09 15:56:48 +02:00
Simon Legner 85968f2022 Fix commons icon on commons
Regression of: Ia4388fe4d5e1d6112a992e826453cd5799a6a4b4

Bug: T77349
Change-Id: I5c987e3794eeb031f4a4019d5999bbc34fc19a6d
2024-08-09 12:30:20 +00:00
Translation updater bot 3ef4e4a15c
Localisation updates from https://translatewiki.net.
Change-Id: Ic12e5fb2dc6d636ae814014e49b9a5ea2a5c4967
2024-08-09 09:36:01 +02:00
Translation updater bot 5d3ff84ecd
Localisation updates from https://translatewiki.net.
Change-Id: I3d3b895ae1de347d72fe11eb792543cef6b7b589
2024-08-08 09:20:12 +02:00
Translation updater bot 5bc3040ae3
Localisation updates from https://translatewiki.net.
Change-Id: I01c225b7dbf65359e1294f00943093ef44ec77d6
2024-08-06 09:48:01 +02:00
Translation updater bot 23f6736f0b
Localisation updates from https://translatewiki.net.
Change-Id: I7de7493fe8252e42549658ffb55fad8803e3c1a1
2024-08-01 09:18:41 +02:00
Translation updater bot b10b72d71b
Localisation updates from https://translatewiki.net.
Change-Id: I46c3843ed92f3e86537c12052f3131e8d607003d
2024-07-31 09:23:06 +02:00
Timo Tijhof 70375cac12 tests: Change use of unrelated Map to mw.Map
This partially reverts commit 07ba0e43a9, which changed the test to
inject an ES6 Map rather than a mw.Map, which diminishes the value of
the test, including risk of false positive since that isn't what
the code actually accepts. See also T353076.

Change-Id: I4877d0d9820dfff42996ddbd4c9e26573d84d19c
2024-07-28 23:43:53 +01:00
Translation updater bot bf0a735579
Localisation updates from https://translatewiki.net.
Change-Id: Ifeb1ef1bcfa9871d47b88d97519a09fac54bedef
2024-07-26 09:45:50 +02:00