Commit graph

2909 commits

Author SHA1 Message Date
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
jenkins-bot d1c35338f0 Merge "tests: Avoid DB access in HooksTest" 2023-12-30 21:32:23 +00:00
Translation updater bot c91ca39e37 Localisation updates from https://translatewiki.net.
Change-Id: I9006418007a5aca44d0a9b20da919625c36864ac
2023-12-28 14:50:10 +01:00
Translation updater bot 4d1580f771 Localisation updates from https://translatewiki.net.
Change-Id: Iddd799a948cbe00ddf04bb714b85be21fc62801c
2023-12-22 17:46:25 +01:00
Translation updater bot 9b1d3ca24d Localisation updates from https://translatewiki.net.
Change-Id: Ieedc3d6da7ec32dacc524b309a41f4e8e19c8320
2023-12-18 18:18:12 +01:00
Umherirrender ba0af22fce tests: Avoid DB access in HooksTest
Force a content model on the title used by HooksTest, so that
calls to getPageLanguage() won't end up hitting the DB

Only happens when the Flow extension is enabled

Change-Id: Ie4769f972c26e48a216e4546a584893a8b47eb19
2023-12-16 00:40:12 +01:00
Jon Robson f3f86d6081 Fixes button sizes on file page and overlay
* The file page has a button that does not match the font size of
the page. This is also the case for the overlay.
* The icons are too big on the file page. This reduces their size.

Bug: T345749
Change-Id: I4f4edc0aa7adc0c72773a939c43108019bc4295b
2023-12-13 18:34:16 +00:00
jenkins-bot 96f66f06a0 Merge "mmv.bootstrap: Avoid code duplication" 2023-12-12 20:00:19 +00:00
Translation updater bot aa125754e3 Localisation updates from https://translatewiki.net.
Change-Id: Ia7b0e5e37d50169ba2672a75fe88692985fd6a1c
2023-12-11 10:43:37 +01:00
Timo Tijhof b619d47f79 mmv.bootstrap: Avoid code duplication
Follows-up a0ce33226d (ref T348275, T349448).

Change-Id: I18bebf524686cac9e00e5d250eddd0c73c950893
2023-11-30 15:51:05 -06:00
gerritbot 65cf8fc812 Update UserOptionsLookup's FQN
User-options related classes are being moved to the MediaWiki\User\Options namespace in MediaWiki Core; reflect that change here.

Bug: T352284
Depends-On: I9822eb1553870b876d0b8a927e4e86c27d83bd52
Change-Id: If63fb03b90f797a38a07f0d88f663e25cac75770
2023-11-29 12:39:36 +00:00
Translation updater bot 5db5cc2470 Localisation updates from https://translatewiki.net.
Change-Id: I21a6ed123d13b747b77418bab2c75c3dfe269e03
2023-11-27 08:32:47 +01:00
jenkins-bot e0c48c1331 Merge "Skip thumbs from a.mw-file-description with typeof attribute" 2023-11-13 16:39:38 +00:00
Translation updater bot 817391d4c2 Localisation updates from https://translatewiki.net.
Change-Id: I10d25feb989a956f7b63e0ecaa4e1f4c6d190509
2023-11-13 08:41:29 +01:00