Commit graph

2822 commits

Author SHA1 Message Date
jenkins-bot 531a5700fc Merge "Remove obsolete SVG icons" 2024-05-05 11:37:16 +00:00
jenkins-bot efcfeb95f3 Merge "Remove obsolete stylesheets" 2024-05-05 11:37:13 +00:00
Simon Legner b52231da6d Remove obsolete SVG icons
Those icons have been replaced with Codex equivalents in I6f7b6d0f9b96168ab6d835811141ab4cede214d1.

Bug: T340258
Change-Id: I3ec630f414e2b71743d3440339c13be54db62a79
2024-05-05 12:07:31 +03:00
Simon Legner 3d1fdfa4e1 Remove obsolete stylesheets
Obsolete since I539d1b5f0d7e3c02f767807da57324ea6a36ad5b.

Bug: T340258
Change-Id: I234882d70e4c29d50153ef66aa12462f91a550c7
2024-05-05 11:54:19 +03:00
Simon Legner 4231322927 EmbedFileFormatter.getCreditHtml: do not escape author HTML
Bug: T267253
Change-Id: I9c5908bda124ef976e9ed5b0cc9c61f5b7607843
2024-05-05 11:09:40 +03:00
Simon Legner 2f05b66988 Fix Codex icon on progressive buttons in dark mode
Bug: T340258
Bug: T364254
Change-Id: Ia4b7db3cfec07a83d74893d0600fd1ec1f9b772d
2024-05-05 06:04:09 +00:00
Simon Legner b124f28092 Remove OOjs dependencies
Bug: T340258
Change-Id: I100b1cf1563b41357fad27203a2af687442f076b
2024-05-05 05:16:30 +00:00
Simon Legner e0aa14529c Change attribution and download interface
- Use Codex styles for mmv.ui.reuse
- Replace unofficial component dropdown with Codex Select and Button
components.
- Drop OOUI dependencies

Bug: T340258
Change-Id: I539d1b5f0d7e3c02f767807da57324ea6a36ad5b
2024-05-05 05:16:19 +00:00
jenkins-bot 842cdb1a24 Merge "Use Codex styles for mmv.ui.download.pane" 2024-05-04 19:34:22 +00:00
Simon Legner 683b3e1caf Use Codex icons
Discussed with Justin and Matthew (designers):
- Dropping the image in "Disable Media Viewer"

Discussed with Jon:
- Resizing the next/previous arrows

Bug: T340258
Change-Id: I6f7b6d0f9b96168ab6d835811141ab4cede214d1
2024-05-04 20:54:12 +03:00
Simon Legner ea78739fd0 Use Codex styles for mmv.ui.download.pane
Bug: T340258
Change-Id: I3dc1b5ffdf8c6a810e9e16a2b7f293757cce5306
2024-05-04 20:53:09 +03:00
Simon Legner 8419e548a4 Use Codex colors to fix dark mode
Bug: T363776
Change-Id: Iab9a7ffc7dd707c453522fab25c4bb6061645616
2024-05-04 12:04:25 +03:00
Translation updater bot cc53258997 Localisation updates from https://translatewiki.net.
Change-Id: Idf30c909fe28837027e4ee09b333e59802530f58
2024-05-02 09:19:53 +02:00
libraryupgrader 1307fbfe5c build: Updating dependencies
composer:
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

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

Change-Id: I82d7648b545a1eab3691c76b355da21865985082
2024-04-25 11:14:44 +00:00
Translation updater bot 93cd76099a Localisation updates from https://translatewiki.net.
Change-Id: I9bdd975300e25e0572f935740f97170eec32bfa4
2024-04-22 09:28:57 +02:00
libraryupgrader 1932aab7c5 build: Updating jsdoc-wmf-theme to 0.0.13
Change-Id: I043309ab641c51d7002c766d2112fc368c457514
2024-04-20 04:30:24 +00:00
libraryupgrader d528cd8e45 build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: I69dea23ba0ca00ad303805087a48bbe7863e45d9
2024-04-19 23:23:27 +00:00
Translation updater bot d5376ce234 Localisation updates from https://translatewiki.net.
Change-Id: I036b3be2699efcb99769345dc2ae4ae1a52802e8
2024-04-18 09:20:57 +02:00
Translation updater bot 278fd67a39 Localisation updates from https://translatewiki.net.
Change-Id: I8c5e7eb58db6403a7810d105e59311a01e7326df
2024-04-16 09:28:37 +02:00
Translation updater bot eb86183e1a Localisation updates from https://translatewiki.net.
Change-Id: I6ca096f7d8568ffbeaae8725415a58ef9ec611f6
2024-04-15 09:28:26 +02:00
Fomafix 2a31c0b399 Use "optional_services" to inject service MobileContext
This change requires a soft dependency on extension MobileFrontend
in project integration/config in file zuul/parameter_functions.py.

Change-Id: I4e0c8185804a22c57f94dceae3c998e13afa3cfc
2024-04-02 19:55:01 +00:00
Translation updater bot 0b9631ba86 Localisation updates from https://translatewiki.net.
Change-Id: Ie6186f5806fd96400b3ef20b44e746acad6c26db
2024-03-27 08:17:56 +01:00
Translation updater bot 69dcbcfa27 Localisation updates from https://translatewiki.net.
Change-Id: I0542c0c2bc50c85ab2018518517644c6d39e15c6
2024-03-26 08:20:16 +01:00
Translation updater bot 287acfa290 Localisation updates from https://translatewiki.net.
Change-Id: I6ffee2655bc0522788d4009dd7de4239d41444a8
2024-03-21 08:55:57 +01:00
Translation updater bot 2a58bff020 Localisation updates from https://translatewiki.net.
Change-Id: Ib2ac0d560a3476243256740fa033b31b175ae09d
2024-03-20 08:24:09 +01:00
Translation updater bot b96464f5d0 Localisation updates from https://translatewiki.net.
Change-Id: I8cd3a3f6caaeb7358724799649d3b347843eac40
2024-03-18 08:31:27 +01:00
libraryupgrader f8f70280a7 build: Updating mediawiki/mediawiki-codesniffer to 43.0.0
Change-Id: I0f9efd38a3a285fe90bde14109f2d018404c2239
2024-03-17 21:21:44 +00:00
Jon Robson 40b705600c Use hardcoded color for LESS mixin function
Bug: T359944
Bug: T357740
Change-Id: I4847fe4013760a6159d9c51241acf8eca1cda95e
2024-03-15 04:41:02 +00:00
Translation updater bot 6655137149 Localisation updates from https://translatewiki.net.
Change-Id: Ie9d686d5cb3211a0cd98230c89b4d90005780d6e
2024-03-08 08:23:22 +01:00
Translation updater bot e74e8a72cb Localisation updates from https://translatewiki.net.
Change-Id: I035e02ee5b8c61ae4572b235302ac1cde65bc94f
2024-03-01 08:33:41 +01:00
Translation updater bot f31945f974 Localisation updates from https://translatewiki.net.
Change-Id: I4ce5b6f1d6405a34e72d3bd3f8f34f4e5539687f
2024-02-29 08:36:18 +01:00
Translation updater bot 2c9767e115 Localisation updates from https://translatewiki.net.
Change-Id: I04b8f2821eef34028b155eae48e15c95f37a7b5b
2024-02-26 08:36:34 +01:00
libraryupgrader a0728ee218 build: Updating npm dependencies
* jsdoc: 3.6.10 → 4.0.2
* jsdoc-wmf-theme: 0.0.8 → 0.0.12

Change-Id: I140a150e5a36281927453cd9330667d5e63f55b0
2024-02-16 06:50:03 +00:00
jenkins-bot 612ebb5c80 Merge "Public API to Check Wikimedia Media Viewer Extension Status" 2024-02-15 19:21:24 +00:00
Simon Legner c25d52ef9f Metadata: show created as well as uploaded date
Bug: T296330
Change-Id: I3ffad8c6049e839386a6c279b9b33d3841ab5d89
2024-02-14 02:27:52 +00:00
libraryupgrader 147b576b57 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* eslint-config-wikimedia: 0.25.1 → 0.26.0
  The following rules are failing and were disabled:
  * resources:
    * es-x/no-resizable-and-growable-arraybuffers
  * tests/qunit:
    * es-x/no-resizable-and-growable-arraybuffers

* grunt-banana-checker: 0.11.0 → 0.11.1

Change-Id: Ief610bdadaccd2325cd1b8a2cae70b7e465d8b76
2024-02-13 02:13:29 +00:00
Translation updater bot 9e613eda3a Localisation updates from https://translatewiki.net.
Change-Id: I414d4c436cd090f5edf9eadacb8f837af6293534
2024-02-12 14:50:08 +01:00
Simon Legner 07ba0e43a9 Don't use mw.Map(), use a native Map() instead
Bug: T353076
Change-Id: I91a556becc1093e0db4c4b13e4685f2c0e084031
2024-02-08 20:21:20 +00:00
Simon Legner 1ab8d0d899 Public API to Check Wikimedia Media Viewer Extension Status
mw.mmv.isMediaViewerEnabledOnClick()

Bug: T348026
Change-Id: Ibc34e370e6bf631d9f861b9f6baa75d3f227123e
2024-02-07 20:38:01 +01:00
Simon Legner ef53ab0834 File with percentage sign in file name does not open
Invoking encodeURI on the imageFileTitle makes sure that a "%" character is properly URL-escaped.

Bug: T337540
Change-Id: I538b7f813b546134848e93cea4744de8f4da9e90
2024-02-07 20:13:35 +01:00
libraryupgrader 993936420c build: Updating npm dependencies
* grunt-eslint: 24.2.0 → 24.3.0
* grunt-stylelint: 0.18.0 → 0.19.0
* stylelint-config-wikimedia: 0.15.0 → 0.16.1

Change-Id: I2f770b102304643a78dea200d1e8bfabb6c5cf55
2024-02-07 19:00:44 +00:00
jenkins-bot fabeff0090 Merge "formatDate: handle year, handle <div>" 2024-02-05 22:16:55 +00:00
Simon Legner 254ec713cc formatDate: handle year, handle <div>
Bug: T58794
Change-Id: Ie05241c8db18773d0eb84421813db69b425e0784
2024-02-05 22:25:39 +01:00
libraryupgrader 23184825bd build: Updating npm dependencies
* eslint-plugin-compat: 4.1.4 → 4.2.0
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* postcss: 8.4.21 → 8.4.33
  * https://github.com/advisories/GHSA-7fh5-64p2-3v2j
* semver: 7.3.8 → 7.5.4
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw

Change-Id: I44179fd3c9f072d7d4034d4211e5fa98ea84e34c
2024-02-04 05:22:41 +00:00
Translation updater bot d4f10cf2fb Localisation updates from https://translatewiki.net.
Change-Id: I2a45c7ddc020a42d63d8a1558c9504a9b594b880
2024-01-28 16:07:31 +01:00
Volker E cfcb8d4755 build: Update 'svgo' to latest v3.2.0 and re-crush SVGs
The latest update of 'svgo' dependency includes three optimizations on
converting path commands, which
- improves closing paths and how we determine if to use absolute or
  relative commands.
- round arc or convert to lines based on the geometric sagitta
- convert cubic Bézier curves to quadratic Bézier curves where possible
Also
- removing obsolete 'grayscale.svg' which was introduced in
  I0f2c2b24aece3b but seems to have not been in use. It itself is not
  reasonable, as an SVG filter needs an element to be applied to, which
  this SVG didn't feature.
- unifying npm command to qua standard notation `minify:svg` and add
  “parent” command `minify` as well.

Bug: T354875
Change-Id: Ie4d8ef85b9b9d28943a7216f0b5ed6392592a43e
2024-01-18 12:04:02 +01:00
Translation updater bot 4c7ad24845 Localisation updates from https://translatewiki.net.
Change-Id: I508cad9fda86afda2404e95a8db825b01fca9ace
2024-01-10 08:33:09 +01:00
jenkins-bot 7b344bfe61 Merge "Support conditional user defaults" 2024-01-09 04:43:16 +00:00
Translation updater bot 4ba6b0ee99 Localisation updates from https://translatewiki.net.
Change-Id: Ibbbc78ed157c62765bf1fbf289f331f823eb57d2
2024-01-08 09:15:58 +01:00
Martin Urbanec 81ce7b08bd Support conditional user defaults
Thanks to T321527, MediaWiki makes it possible for default
values of user properties to vary by user.

Depends-On: I1549c3137e66801c85e03e46427e27da333d68e2
Bug: T354329
Change-Id: Ib6717be54d4f898b8b0433ee44b57f1e3e960545
2024-01-04 13:07:24 +01:00