Commit graph

5261 commits

Author SHA1 Message Date
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
Bartosz Dziewoński ce55e8d8e0 Compatibility with new heading HTML (table of contents)
Bug: T13555
Bug: T358452
Change-Id: Idafd8e242acbff20d4fed9f5606ebe480d1eb8a5
2024-07-03 20:54:48 +00:00
jenkins-bot c0de5ce248 Merge "Force light theme in print styles, remove unnecessary css variables" 2024-07-03 19:49:06 +00:00
Jdrewniak f1150164e1 Add beta tag & feedback link to Appearance menu
Adds the word "(beta)" beside the Color options in
the Appearance menu, as well as a link for user
feedback related to dark-mode issues.

Re-orders the "Color" options to come last in the
Appearance menu.

Bug: T367871
Depends-On: Iac6316cf7010b5ea92672e9ad6f09e8ee57e066b
Change-Id: I46f7554b4bcdcfae0e4ef2e849d52774242e3497
2024-07-02 22:29:07 +00:00
bwang 59e2611f94 Force light theme in print styles, remove unnecessary css variables
Bug: T366362
Change-Id: I5e8f7c0c88793e1c3ebebf1d67df4c5c05eb0174
2024-07-02 16:02:55 -05:00
Translation updater bot bdb649dc7f
Localisation updates from https://translatewiki.net.
Change-Id: I84b36e50036d41e728ee9e716a7a4697c7739343
2024-07-02 09:53:30 +02:00
Translation updater bot dc110bbd83
Localisation updates from https://translatewiki.net.
Change-Id: Ic8b9c4c48e9ce186f04c5a6b040360328f5843ab
2024-07-01 09:28:57 +02:00
Translation updater bot 15dae5c985
Localisation updates from https://translatewiki.net.
Change-Id: I88f7bd9c1071586a9fc1ff15ec6094197eb866be
2024-06-28 09:46:20 +02:00
jenkins-bot 76916e84cf Merge "Add mw-no-invert and oo-ui-image-invert to OOUI icon exclusion list" 2024-06-27 16:39:31 +00:00
Translation updater bot f71e03ecb2
Localisation updates from https://translatewiki.net.
Change-Id: If7814c901601a21062cb0e45f147facc1f3ce8dc
2024-06-27 09:24:40 +02:00
jenkins-bot 6cf18143b0 Merge "Update background of insert paragraph slug" 2024-06-26 20:50:10 +00:00
Steph Toyofuku 8868b9cc3b Update background of insert paragraph slug
Currently the background of the insert paragraph slug on desktop doesn't
have sufficient contrast with the text.  Follow the pattern of what we
did in If03069339261e380dc49defedccb01830d162483, and update it to use a
higher transparency

Bug: T367822
Change-Id: Ia8f26da068f9b9f33f64523eee6c7f4bf64efaf7
2024-06-26 20:24:36 +00:00
Jon Robson 0ef145af08 Add mw-no-invert and oo-ui-image-invert to OOUI icon exclusion list
This is used on Special:Block and the OOUI search widget for links

Bug: T368483
Change-Id: Iaae45a12029c26e4d2c793f4040c90df65495c02
2024-06-26 20:22:57 +00:00
Translation updater bot f826f2b66b
Localisation updates from https://translatewiki.net.
Change-Id: Iead31f1fe5e165f42147ce2543de2549ce4dcfb4
2024-06-26 09:23:55 +02:00
jenkins-bot b1d2570ed9 Merge "Footer: Add styles for buttons" 2024-06-25 19:11:25 +00:00
Amir Sarabadani c413509dcb Footer: Add styles for buttons
What:
Add styles for the footer buttons that reduces the padding from 15px to
8px on each side and adds an explicit background color.

Why:
This makes it follow the design spec outlines in T256190#9770626 and
fixes showing the buttons in the dark mode T256190#9900443

Bug: T256190
Change-Id: Iae144d554b5023fd3589ea29ae2d3c57c17e679f
2024-06-25 16:43:41 +02:00
Translation updater bot 5434d1f6cd
Localisation updates from https://translatewiki.net.
Change-Id: Iab39bc08e057a668891501bb744e5b67d9c8d5a7
2024-06-25 09:33:01 +02:00
jenkins-bot 2f92e61a13 Merge "Inject service LanguageConverterFactory into VectorComponentVariants" 2024-06-24 18:32:00 +00:00
Translation updater bot a2c4d48296
Localisation updates from https://translatewiki.net.
Change-Id: I9d77993f2852896dd90b02ce9ec575dd64486d16
2024-06-24 09:28:00 +02:00
Translation updater bot 6156bdee20
Localisation updates from https://translatewiki.net.
Change-Id: I37c72f5856f716b37e9967831edfb20bfb12ed98
2024-06-21 09:45:51 +02:00
jenkins-bot e7a48fc4ce Merge "Revert "Fixes OOUI widget visibility within VE surface"" 2024-06-21 01:29:30 +00:00
Jdlrobson a3e840614b Revert "Fixes OOUI widget visibility within VE surface"
This reverts commit ca9b2274dc.

Reason for revert: No longer needed now VE supports dark mode.

Change-Id: I00e429589b768daa2c18d298cca2149cc3b0249a
2024-06-21 01:04:10 +00:00
Jdrewniak add9bfc3fc Remove OOUI overrides
This is in order to enable dark mode in echo and VisualEditor

Depends-On: Ibdfeb69c7c6f9dbf0e237c04c7f0f38a8306629a
Bug: T366322
Bug: T366737
Change-Id: I01cdde979b2ddf64d54013466a3fe51a493860cc
2024-06-20 10:33:04 -08:00
Translation updater bot a8c543027a
Localisation updates from https://translatewiki.net.
Change-Id: Icfd0058863b5ea86d015bab768fd8f44a3c28d28
2024-06-20 09:28:25 +02:00
Translation updater bot 21ddbb64f5
Localisation updates from https://translatewiki.net.
Change-Id: If96a4289d195abef80a14bf9fe8d9bfa8a8515fc
2024-06-19 09:24:49 +02:00
Jon Robson 464e0cac68 Do not show preferences, if night mode or appearance menu is disabled
Follow up to Ic40da2af8ea46bd42cbebbdbceda2431bd8600ae
Only show these if the feature is available for the current user,
otherwise, we are effectively shipping these features to all logged in users.

Bug: T341278
Change-Id: I99c28af807fbf7bbf575b8d4712e1dbad364ec63
2024-06-18 14:11:53 -08:00
Jon Robson 92307893fa Client preferences should user new user preference API
Follow up to Ic40da2af8ea46bd42cbebbdbceda2431bd8600ae

Bug: T341278
Change-Id: Iaaf75d9c91d594d826b556fc7d04965a3a3bd3a9
2024-06-18 12:26:16 -08:00
Jon Robson 0f594e0af7 Make all frontend stored preferences global
Additional change:
* Delete some unused messages

Bug: T341278
Depends-On: I254d7d883771dbd394ba97799d731012f7aaaefc
Change-Id: Ic40da2af8ea46bd42cbebbdbceda2431bd8600ae
2024-06-18 16:37:53 +00:00
bwang c8074d2355 Fix codex link styles overriding other link styles
Bug: T367844
Change-Id: I4a5514278f045118ebdd9ee72432087a1f84d83c
2024-06-18 10:57:44 -05:00
Translation updater bot 4c25b56ea2
Localisation updates from https://translatewiki.net.
Change-Id: I209afbe7bc75679d749f8f3f33c5de253b269cd3
2024-06-18 09:30:24 +02:00
bwang 75fce0d5bc Remove external link variables, and replace content-links modules with Codex
Change-Id: I55d062de1624b77bc5214942368a3fbd545635df
2024-06-17 14:35:33 -05:00
Jon Robson cd44419c95 Use codex link styles in Vector, remove old link color variables
Visual changes: blue and red link colors have been updated to match codex, including hover/focus/active state colors

Bug: T366515
Change-Id: I16411a7ea47ae26c7e67a71f83e0521962c8ce61
2024-06-17 14:23:50 -05:00
jenkins-bot bbc7078df5 Merge "[Optimization] Remove bottom dock styles from critical path" 2024-06-17 16:13:27 +00:00
Translation updater bot e7d1a99a68
Localisation updates from https://translatewiki.net.
Change-Id: I7d99d0b2b0c06fd0b58e2af31f00d184c6c0ef83
2024-06-17 09:36:26 +02:00