Commit graph

5319 commits

Author SHA1 Message Date
Jon Robson 3c7d7c673e Add tooltip to appearance menu icon
Bug: T369849
Change-Id: If3a73746dce41f3659f61c68941ed3ed6ebb6fd1
2024-08-27 23:06:16 +00:00
jenkins-bot 9390bb9046 Merge "Fix workaround for position: sticky disabling subpixel rendering" 2024-08-26 21:07:25 +00:00
jenkins-bot 43c6c7f95c Merge "Allow gadget/browser extension extensibility of empty search state" 2024-08-26 16:51:06 +00:00
Translation updater bot f79517fcba
Localisation updates from https://translatewiki.net.
Change-Id: I56ad42572772af7abd440edaa88b5f045040f144
2024-08-26 09:26:03 +02:00
jenkins-bot 6d62a47367 Merge "build: Update MediaWiki requirement to 1.43" 2024-08-24 02:45:51 +00:00
Translation updater bot 1d7cbaea94
Localisation updates from https://translatewiki.net.
Change-Id: Idc96969967027d536ff152fbe8007489007ccc0b
2024-08-23 09:49:54 +02:00
James D. Forrester ac90c9ada3 build: Update MediaWiki requirement to 1.43
All skins in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I10aa7300a7771699a0fded0e114e646bfabdf580
2024-08-22 19:22:01 -04:00
Translation updater bot 33d1bf91b8
Localisation updates from https://translatewiki.net.
Change-Id: I2db86d8c2a6a4bac94b99f20df3c96d3c23c6b87
2024-08-22 09:25:05 +02:00
Bartosz Dziewoński cb58da455e Fix workaround for position: sticky disabling subpixel rendering
Follow-up to badd229bab. Moving
`position: sticky` to the same element as `contain: paint` defeated
the workaround. Move it to the parent elements again to make it work.

Bug: T373066
Change-Id: Ic942bfd599661a29cf7b2dbb6c6cc2ec521b8c82
2024-08-22 02:31:19 +02:00
Roan Kattouw f43dbf1e32 Bump vector-2022 bundlesize
These bundlesize tests broke CI in unrelated repos for changes that have
nothing to do with script/style output (again! this time in the Chart
extension). Bump it to unblock development for other teams.

Change-Id: I4737b24cb3a503d50c4c3b784f6a0c498cbbdf5c
2024-08-21 16:24:14 -07:00
Translation updater bot 74bbe55182
Localisation updates from https://translatewiki.net.
Change-Id: I1c9fafbbcc75f0c1dc030e5098e8b5722f643b04
2024-08-21 09:26:09 +02:00
Translation updater bot 0ada692824
Localisation updates from https://translatewiki.net.
Change-Id: I377657d39a2f53b84af40e186ec3ff364257e236
2024-08-20 09:47:19 +02:00
Translation updater bot 62366b2e12
Localisation updates from https://translatewiki.net.
Change-Id: I36c6b01f8d585442fa3e1c7cb88e33e00849f0a1
2024-08-19 09:29:13 +02:00
Translation updater bot 77d7263fbe
Localisation updates from https://translatewiki.net.
Change-Id: I00fb4fb9d1957ec5cb952bd6ddc9fa0a938644a7
2024-08-16 09:33:45 +02:00
Umherirrender 13bfc3b0a7 build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: Ic543198ac407a88d78320185c3f93d8eb07e0962
2024-08-16 00:03:13 +02:00
Translation updater bot f0c8d7d448
Localisation updates from https://translatewiki.net.
Change-Id: Iaf2b28aa6d302958041b979af319d8597cd64b12
2024-08-15 09:22:41 +02:00
Translation updater bot 3e0551cd54
Localisation updates from https://translatewiki.net.
Change-Id: Iebd2dd4ac8583c8bd1fd4687998fc64f4b98e496
2024-08-14 09:25:53 +02:00
jenkins-bot 14de6d0d95 Merge "Revert "Prevent dark-mode styles from affecting print media"" 2024-08-13 12:08:54 +00:00
Translation updater bot 6c4a8d92a7
Localisation updates from https://translatewiki.net.
Change-Id: I1a12b16d30204090b0d688dc3411d5007b96e04f
2024-08-13 09:54:37 +02:00
Jdlrobson 2d281db7b1 Revert "Prevent dark-mode styles from affecting print media"
This reverts commit b3ca12e628.

Reason for revert: Icons are appearing black on black in dark mode
in origin/wmf/1.43.0-wmf.18.

Change-Id: Ifdf3970c77b66e5a7835ca44eb45deec2b44eb43
2024-08-13 07:24:28 +00:00
Translation updater bot 534a4b2040
Localisation updates from https://translatewiki.net.
Change-Id: I50353d4b938aa70c5a05c0191543324fb4f52961
2024-08-12 09:25:32 +02:00
Translation updater bot 3cbb12b590
Localisation updates from https://translatewiki.net.
Change-Id: Ic51a105acaf3d65c1111ce90bf0df963501cefbc
2024-08-09 09:40:36 +02:00
jenkins-bot 4215196b6c Merge "Prevent dark-mode styles from affecting print media" 2024-08-08 22:29:36 +00:00
Jon Robson acb79c5e1b Improve documentation for how feature manager classes work.
This changes nothing about the existing classes, it just improves
how they are documented.

The FIXME comment was making things confusing.

Make sure every feature class is accounted for and audited and
throw a RuntimeException if we forget to document it.

Change-Id: I9d8f6553fe6b8c2ae80d8b2490c8895a8334a537
2024-08-08 20:19:48 +00:00
Jon Robson 98bee1c71f Allow gadget/browser extension extensibility of empty search state
Add hook that renders when search displays for first time to allow
experimentation.

Code can call
```
mw.hook( 'search.display' ).add((node)=> { node.innerHTML = 'hello world' } );

Bug: T371294
Change-Id: Ib3ec73b8ed66877c11e0d8d290a6b564a013702b
2024-08-08 21:19:27 +01:00
Jdrewniak b3ca12e628 Prevent dark-mode styles from affecting print media
Prevents dark-mode styles from affecting print media
by adding `@media screen` to dark-mode related styles.

Bug: T371331
Change-Id: I2ed7fbfc078c6d738c13a71c677783f7ccea2582
2024-08-08 16:06:33 -04:00
Translation updater bot 2b4abc891d
Localisation updates from https://translatewiki.net.
Change-Id: I300bdbe88dcdc75ae9f62572a0c95ea6332186d1
2024-08-08 09:22:41 +02:00
Translation updater bot ee028f2b77
Localisation updates from https://translatewiki.net.
Change-Id: I8296a6d29a27e180ad9c7c52e1c2ed9db00d8408
2024-08-07 09:26:18 +02:00
Translation updater bot 4bc90d5bb6
Localisation updates from https://translatewiki.net.
Change-Id: I7fd3caa50889270af0e4bfb73cffd414c3cb054b
2024-08-06 09:51:53 +02:00
Translation updater bot e595abdd35
Localisation updates from https://translatewiki.net.
Change-Id: I48bc4a5f5a9204108bcd6d801aa1c98bc10bf5c4
2024-08-05 09:28:04 +02:00
jenkins-bot faa0ccdbd5 Merge "Dark mode: Images should have background" 2024-08-02 14:40:07 +00:00
Translation updater bot 06d149f970
Localisation updates from https://translatewiki.net.
Change-Id: I09e33ae2e9d4d786579be3f4a6b41edc5769ab0e
2024-08-02 09:43:53 +02:00
Jon Robson e00536a6b3 Dark mode: Images should have background
Bug: T370074
Change-Id: Ibd49b2ccfa77d4f0e677e0726738c831ad962c28
2024-08-01 18:55:13 +00:00
bwang 6e9047eb12 Migrate bare division math to parens division
Bug: T369669
Change-Id: Iadd66c626c0b61bc06db03b1c0a849995ffb87c4
2024-08-01 13:14:50 -05:00
Translation updater bot 7520c206dc
Localisation updates from https://translatewiki.net.
Change-Id: I39b2a84ef1bb9cd049489a21135b3f2328b8a717
2024-08-01 09:20:34 +02:00
Derk-Jan Hartman 8eae49df26 Make fake link a button
Bug: T371377
Change-Id: Ic0dc885eea16f7b24f6f67742cf603753ad3ecd3
2024-07-31 14:51:59 +00:00
Translation updater bot a0e6227238
Localisation updates from https://translatewiki.net.
Change-Id: I920669b6642131a35df8f4fb1c50a09316f1ac2e
2024-07-31 09:25:09 +02:00
Translation updater bot 6b0b28a2ff
Localisation updates from https://translatewiki.net.
Change-Id: I112cf129f5d248c1d15d9d1a57d0e97e52a8e9e9
2024-07-30 09:47:37 +02:00
Translation updater bot 09cb490f36
Localisation updates from https://translatewiki.net.
Change-Id: I0d857f570d126eb590f74fc99ae7247e3d83e1e2
2024-07-29 09:32:09 +02:00
Translation updater bot b79693000b
Localisation updates from https://translatewiki.net.
Change-Id: I6384763067fc1bb25d084badb23ba117ba6e66b6
2024-07-26 09:50:48 +02:00
jenkins-bot 379aa37d1f Merge "Dark-mode feedback link UX improvements" 2024-07-26 00:06:39 +00:00
jenkins-bot a6c6a50661 Merge "Don't use i18n-all-lists-margins module" 2024-07-26 00:04:46 +00:00
Eric Gardner 77d5526f22 Update Vector bundlesize config
Codex 1.10 requires additional overhead (related to bugfixes
in the i18n system).

Bug: T370637
Change-Id: Ie236c633c3cfa181f81360daa3c1ceeca7f669ec
2024-07-25 12:06:18 -07:00
Jdrewniak 13f0e379b8 Dark-mode feedback link UX improvements
- Makes the dark-mode feedback link (the "report a dark mode issue" )
link in the Appearance menu, only appear when dark-mode is activated.
- Keeps the Appearance dropdown menu open after the dark-mode feedback
link has been clicked.

Bug: T367871
Change-Id: I75d040650f613a7af5db553689d734e56f910431
2024-07-25 11:30:00 -04:00
Ebrahim Byagowi 8e134155b5 Don't use i18n-all-lists-margins module
It's now provided by elements thus not needed.

Depends-On: I404710209d59241991716bb7180bcaabcafffcec
Change-Id: I6c18607b132c93513c0fbe8034c14e98d4091770
2024-07-25 14:16:30 +03:30
Translation updater bot 97191f6f79
Localisation updates from https://translatewiki.net.
Change-Id: I890642aad6b050a1dd8f8f2b338e49d2652a5d5c
2024-07-25 09:22:04 +02:00
Translation updater bot c3fc991acd
Localisation updates from https://translatewiki.net.
Change-Id: I097a935ad6c4108529bb852abffdb7b316ed4dd0
2024-07-24 09:25:15 +02:00
jenkins-bot 803fa957ca Merge "Create dark mode launch banner for Vector 2022" 2024-07-23 15:53:21 +00:00
Translation updater bot 938fd7bc23
Localisation updates from https://translatewiki.net.
Change-Id: I00488d2f3c89f80be15ebfc6ab0328bb28bf2ba7
2024-07-23 09:49:26 +02:00
Jdrewniak 7b35e6b1e8 Create dark mode launch banner for Vector 2022
Creates a dark mode launch banner, (copied from the MinervaNue skin) to
announce the launch of dark-mode for Vector 2022.

The banner itself is not invoked anywhere by default, but will be
invoked through CentralNotice as a banner as part of a launch campaign.

To invoke the banner manually, execute the following in the dev console:

```
mw.loader.using( 'skins.vector.DarkModeLaunchBanner', function( require ) {
    require( 'skins.vector.DarkModeLaunchBanner')();
} );
```

Bug: T370303
Change-Id: I1ca4aab8c302ef418bc1d12dde0d80c96c3b8d4f
2024-07-22 16:13:56 -04:00