Commit graph

5294 commits

Author SHA1 Message Date
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
Translation updater bot b50deeabd6
Localisation updates from https://translatewiki.net.
Change-Id: Iee13e58b627f431f9e8ed39d481b3be56103009f
2024-07-22 09:28:42 +02:00
Translation updater bot 76c3e26581
Localisation updates from https://translatewiki.net.
Change-Id: I8ced8dfa6a851283706d884c64d802ef405a795a
2024-07-19 09:45:06 +02:00
Translation updater bot 61878dc662
Localisation updates from https://translatewiki.net.
Change-Id: I029cf3a5997df7282f97b71d5f1efcdc35388aad
2024-07-18 09:25:38 +02:00
jenkins-bot 7a5996ca78 Merge "Increase specificity in dark-mode feedback link styles" 2024-07-18 00:22:31 +00:00
Translation updater bot f99e233678
Localisation updates from https://translatewiki.net.
Change-Id: Idffb11af8fa5c3d450b164497db1ee5184b13a56
2024-07-17 09:36:00 +02:00
Jdrewniak a8d047b319 Increase specificity in dark-mode feedback link styles
Prevents dark-mode feedback link from turning blue
when clicked, caused by styles in the
`.mixin-vector-dropdown-menu-item()` mixin

Additionally, decreases the size of the heart icon
beside the dark-mode feedback link.

Bug: T367871
Change-Id: I348dbafcc3d3d3519da77dc6799818fdd743bba2
2024-07-16 11:27:49 -04:00
Translation updater bot 7aeeb6cc07
Localisation updates from https://translatewiki.net.
Change-Id: I82d6d19736539f46d6a8136bf50f9ae7a070082f
2024-07-16 09:44:29 +02:00
Translation updater bot 6b7d0efdc3
Localisation updates from https://translatewiki.net.
Change-Id: Idd7cf7bb907216b83684eb506701e41d972e644c
2024-07-15 09:27:06 +02:00
jenkins-bot f7668d4a25 Merge "Update Vector bundlesize config" 2024-07-12 16:14:56 +00:00
Translation updater bot d240bb9287
Localisation updates from https://translatewiki.net.
Change-Id: I9fbb000175d2372b4d4cffde196e7f5d4b36807c
2024-07-12 09:45:15 +02:00
jenkins-bot 45306ea2c4 Merge "Show night mode gadget disable message on the correct section" 2024-07-12 00:33:13 +00:00
jenkins-bot b158601f8b Merge "[Vector 2022] Indicate support for new heading HTML" 2024-07-12 00:30:07 +00:00
Jon Robson 801c5285eb Dark mode should default to day theme
Given the issues with dark mode we are making this an opt-in
release.

Bug: T369833
Depends-On: I1c8115e95749bcb5e6b55d0ebe31267178042783
Change-Id: Ia017d2b5a31d5a19fee7c1433457a1e394ceeb01
2024-07-11 22:24:51 +00:00
Volker E. dd172c1ab3 Update Vector bundlesize config
Codex 1.9.0 requires a bit more overhead, due ex.
the introduction of the basic i18n system.

Depends-On: I1c8115e95749bcb5e6b55d0ebe31267178042783
Change-Id: Ie642f038ef4b143166a574248ac936c78adae23e
2024-07-11 22:16:59 +00:00
Jon Robson 11654b7bce [Vector 2022] Indicate support for new heading HTML
Add `"supportsMwHeading": true` to the skin definition,
so that MediaWiki 1.43+ will output new heading markup
when using this skin.
https://www.mediawiki.org/wiki/Heading_HTML_changes

The required CSS changes were already made in commit
3c2602b682.

Bug: T367601
Change-Id: I0ceace61899d0b1bd047e5011acaddd4428c944e
2024-07-11 20:58:10 +00:00
Steph Toyofuku b8e9eaf6ed Show night mode gadget disable message on the correct section
Currently, this selector is not specific enough, and so if there is an
additional client pref that is disabled on the page, we'll put the night
mode gadget message in the wrong spot.  Target the skin-theme section
correctly this time, and add a test to ensure this is fixed properly

Bug: T369846
Change-Id: I3495aa9ebf3be510f62a8f19440968fe444be892
2024-07-11 11:44:56 -07:00
Translation updater bot 4fc5a6aa04
Localisation updates from https://translatewiki.net.
Change-Id: I3bff6913bcbe2e3e1d9ba7acefcebc379a61098c
2024-07-11 09:34:29 +02:00
Translation updater bot 7601adf781
Localisation updates from https://translatewiki.net.
Change-Id: I7a89ececaaa1ffd6b3a37e859f7716ee513c174f
2024-07-10 09:22:05 +02:00
Translation updater bot 64e10287a4
Localisation updates from https://translatewiki.net.
Change-Id: I0f8f16dc61ea30f18620bda704f6edb71f679b59
2024-07-09 09:48:18 +02:00
Translation updater bot dbc2b7d33e
Localisation updates from https://translatewiki.net.
Change-Id: I6252aaa57264efaa5112ded8260ee5560da6b882
2024-07-08 09:36:18 +02:00
Jdrewniak 392c81a127 Avoid using <noinclude> tag in Vector dark-mode i18n message
Replaces the unintuitive `<no<includeonly></includeonly>include>`
tag in the `vector-night-mode-issue-reporting-preload-content` i18n
message with a simpler HTML comment tag `<!-->`.

Bug: T367871
Change-Id: I3c2dd841af9616efccf42dc9616565fe9400d464
2024-07-05 14:08:56 -04:00
Translation updater bot 2e1a1d7664
Localisation updates from https://translatewiki.net.
Change-Id: I58510153c48c118deadae62f42a6150a49824bcc
2024-07-05 09:50:58 +02:00
Translation updater bot 71689a6d31
Localisation updates from https://translatewiki.net.
Change-Id: Iede9361f93782527a02602e9d151f3ad2e13e34c
2024-07-04 09:26:52 +02:00
jenkins-bot 50c05dca2b Merge "Follow-up to f115016 - Add beta tag & feedback link to Appearance menu" 2024-07-03 23:29:26 +00:00
Jdrewniak 9b93a64fdf Follow-up to f115016 - Add beta tag & feedback link to Appearance menu
Addresses edge-cases for feedback link for dark-mode.
- Feedback link should not be visible if dark-mode gadget is enabled.
- Feedback link should not be visible if page is excluded from dark mode.

Additionally, turns feedback link green after click
and prevents further clicks on link (without removing link,
since removing the link changes the margins on the text)
and adds heart icon beside success message.

Bug: T367871
Change-Id: Idff14ffa7e8f497ec38250cf10252e998c234057
2024-07-03 18:40:39 -04:00