Commit graph

3008 commits

Author SHA1 Message Date
Simon Legner dbe57993a4 Remove support for legacy route #/mediaviewer/File:
This route has been declared legacy in 2015 via I0936ada35141ddd85e0aa232b833d315e3246ce3.

On English Wikipedia for a given day there was no usage of this
route.

Change-Id: I41b33697669500670bea6506dc45c5c6a613c502
2024-10-23 15:34:41 +00:00
jenkins-bot d882ec8a93 Merge "Merge MultimediaViewer bootstrap modules" 2024-10-16 23:38:19 +00:00
jenkins-bot 525d333998 Merge "Back button doesn't close MediaViewer if the URL has a fragment with "/"" 2024-10-16 23:33:49 +00:00
Simon Legner 630a45a3ba Merge MultimediaViewer bootstrap modules
There is no need for them to live in separate modules and they bloat the size of our ResourceLoader startup module unnecessarily.

Bug: T77349
Change-Id: Ieb830486a280e607cad3be6418c46db9c6477491
2024-10-16 23:20:46 +00:00
jenkins-bot e49c6d8e58 Merge "Fix warning icons on dark mode" 2024-10-16 23:10:20 +00:00
Simon Legner 81c47fb174 Fix warning icons on dark mode
Use @background-color-warning-subtle, @border-color-warning for the warning box.
Use @color-base for the warning icon.

Bug: T374871
Change-Id: I9a90d2d3a1b58d92fac7aca67660c76bc117b249
2024-10-16 15:36:23 -07:00
Translation updater bot 8dc9eec8b9
Localisation updates from https://translatewiki.net.
Change-Id: Iac4e1b0e0aca3ecb1a5d05beb7fd410c5207d481
2024-10-15 09:41:34 +02:00
jenkins-bot 029f84c5ec Merge "Use browser provided URL object instead of mw.Uri" 2024-10-14 15:53:36 +00:00
jenkins-bot d356fafe7e Merge "Drop "About Media Viewer" link" 2024-10-14 15:53:32 +00:00
Translation updater bot a858c11322
Localisation updates from https://translatewiki.net.
Change-Id: I8808c459c1f286e0d511a31dc0e6db1647e423d1
2024-10-14 09:29:41 +02:00
Simon Legner a12565e8aa Back button doesn't close MediaViewer if the URL has a fragment with "/"
Bug: T361612
Change-Id: I1a516dbe62bd3a8c621a148c3fb36111128a57ef
2024-10-13 14:12:58 +02:00
Simon Legner 161adf921d Drop "About Media Viewer" link
Bug: T376972
Change-Id: I85a308afe7c805a147bfcc5e9adf0293378859f1
2024-10-13 08:46:50 +02:00
Ebrahim Byagowi 32a575f739 Use browser provided URL object instead of mw.Uri
Bug: T374314
Change-Id: I7de5ac9ba2de70e5a3a84fca1608c64ea1cd1aaf
2024-10-11 17:22:40 +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