Commit graph

5208 commits

Author SHA1 Message Date
Translation updater bot 1d416d50ef Localisation updates from https://translatewiki.net.
Change-Id: I260af90d4be8766ce4b99482fd2d8a1bd9179198
2024-05-06 09:28:41 +02:00
Translation updater bot 792a916a1a Localisation updates from https://translatewiki.net.
Change-Id: I29c2fb6f3095ebe786e351b8a8fa1f0a60e3addf
2024-05-03 09:32:26 +02:00
Jon Robson ca0d404e50 Enable night theme in Vector
- New night theme added via Codex `.cdx-mode-dark();` mixin.
- CSS custom properties separated from skin.less.
- Font-size rem conversion removed since Codex now uses rems.
- bundlesize increased by 1kb ( followup from
Icfcb5c7418061a5727580f0685054356ba4edb72 ).
- Icons that use background-images are inverted for night-theme.
- Linter error fixed for long-lines in clientPreferences.js

Co-Author: <Bernard Wang> bwang@wikimedia.org
Bug: T354889
Depends-On: I1f54bf4f144eaec6ed317c04bd0c851c2f01b42c
Change-Id: I3a8a147b6be67bc830f0d3b816a4b85c26f99cf1
2024-05-02 13:22:59 -05:00
Translation updater bot 57c2e79220 Localisation updates from https://translatewiki.net.
Change-Id: Icb5103e874d4ec6515eeb208136836a42ac143f6
2024-05-02 09:21:29 +02:00
Translation updater bot d1b7ff0cdb Localisation updates from https://translatewiki.net.
Change-Id: Ic77e6bf2fee744852cce8b918518b7e474e2dbf0
2024-05-01 09:24:07 +02:00
libraryupgrader ecb38e41da build: Updating dependencies
composer:
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

npm:
* @wikimedia/codex: 1.4.0 → 1.5.0
* @wikimedia/codex-icons: 1.4.0 → 1.5.0

Change-Id: I8ee16876540614da38e6a663f8f37f5e6b799d99
2024-05-01 05:22:34 +00:00
Jon Robson dcfa7d1c56 Prepare for night theme
The new night theme will add about 1kb of CSS to the page due
to additional styles in Codex and additional styles in Vector to
be added in  I3a8a147b6be67bc830f0d3b816a4b85c26f99cf1

Since the bundle size increase is a precursor to updating Codex
this is done now rather than as part of the patch that introduces
night theme.

Bug: T354889
Change-Id: Icfcb5c7418061a5727580f0685054356ba4edb72
2024-04-30 15:33:17 -07:00
Eric Gardner 84a69360a7 Update Vector bundlesize config
Codex 1.5.0 requires a bit more overhead, due to ex. the
use of fallback variable definitions in the main design
tokens file now that we are introducing CSS vars.

Change-Id: I539f4523b8d15a7815b303078529eb945c479be4
2024-04-30 14:17:12 -07:00
Translation updater bot dcad0a38ce Localisation updates from https://translatewiki.net.
Change-Id: I4b6f7b39d9ff4a90e7b9512d30d79ec0e64d98a6
2024-04-30 09:22:38 +02:00
jenkins-bot c3987d472b Merge "Rename client preference menu to appearance menu" 2024-04-29 20:41:19 +00:00
jenkins-bot 50c34aedf5 Merge "Wrap sitenotices in core" 2024-04-29 17:49:40 +00:00
bwang 0109218ab9 Rename client preference menu to appearance menu
Bug: T362808
Change-Id: Id6800d38eebf433cf0c9e3f179dd83df2eefd1fb
2024-04-29 15:38:20 +00:00
Translation updater bot 7338c9a51f Localisation updates from https://translatewiki.net.
Change-Id: Ib9d61b9c0e2d37fcae3126e551179d9baba78713
2024-04-29 09:26:13 +02:00
jenkins-bot 7663c6674a Merge "Prepare variables for night mode" 2024-04-26 15:54:48 +00:00
Translation updater bot cf8dbb11d9 Localisation updates from https://translatewiki.net.
Change-Id: I88b8ffe64eb0e7111093126af0385fb7371ec543
2024-04-26 09:51:56 +02:00
Jon Robson e84ec101f7 Prepare variables for night mode
* Drop all hexcodes
* Drop unused background-color-secondary - only applies in legacy
skin and replaced by background-color-secondary--modern
* Drop unused  border-color-content and border-color-content--tabs-inactive -
only apply to legacy Vector skin

Bug: T354889
Change-Id: Ie0accaaac2ac3717b6f034c5832f8c372b91c343
2024-04-25 21:29:23 +00:00
jenkins-bot a25cc2da9b Merge "feature(Vector): Standardises terminology to 'Dark Mode'" 2024-04-25 19:06:23 +00:00
Translation updater bot 5e70f98379 Localisation updates from https://translatewiki.net.
Change-Id: I4f474431de1faa78945f9a0b830901d4afdf12e0
2024-04-25 09:19:28 +02:00
Jon Robson 3c01ccc9f0 Wrap sitenotices in core
Depends-On: Ib48b1f54c326a0363841b2f592d8fd4cf7312b9b
Bug: T361966
Change-Id: I14cab105a798a5c9e615892c3305bfbd459a7a51
2024-04-24 17:12:26 -07:00
Moh'd Khier Abualruz 780d475176 feature(Vector): Standardises terminology to 'Dark Mode'
This update standardises the terminology from 'Night Mode' to
'Dark Mode' across interface messages. This change aligns with common
terminology used in the industry.

Changes:
- `i18n/en.json` and `i18n/qqq.json`: Updated labels and descriptions
  for UI elements from 'Night' to 'Dark' to reflect the new terminology.
  This includes changes in labels like 'skin-night-mode-0-label' to
  'Light' and 'skin-night-mode-1-label' to 'Dark'.
- `skin.json`: Updated descriptions in configuration settings to
  mention 'Dark Mode' instead of 'Night Mode', ensuring that
  documentation reflects current terminology.

Bug: T361157
Change-Id: I682a79fd7d9b37b4f908581e8fd28fd40f798c5c
2024-04-24 22:58:35 +00:00
Translation updater bot 6531a7bcba Localisation updates from https://translatewiki.net.
Change-Id: I107cef388bf3894729b083402c00576b03001738
2024-04-24 09:20:30 +02:00
jenkins-bot cbac8d5d93 Merge "styles: Remove references to the legacy Codex build" 2024-04-24 01:41:31 +00:00
Translation updater bot 6f904ca161 Localisation updates from https://translatewiki.net.
Change-Id: Ib3ebe746aba564139e15a16ee901a9500d2865de
2024-04-23 09:30:44 +02:00
Eric Gardner cb8c7a17fd styles: Remove references to the legacy Codex build
Since Codex switched over to rem units, all differences between the
"legacy" and non-legacy builds of the library have disappeared.

This change removes references to the legacy version of the library
in preparation for the removal of these artifacts from Codex.

Bug: T360806
Change-Id: I158519eddc1738a5daeedb94eb7d2f692e74b84a
2024-04-22 18:41:05 +00:00
jenkins-bot 43c865d5e4 Merge "build: Updating npm dependencies" 2024-04-22 09:21:54 +00:00
Translation updater bot be9b161915 Localisation updates from https://translatewiki.net.
Change-Id: Icb1b175a244d0da4758c3ef37c7f5f99fcdeef93
2024-04-22 09:32:36 +02:00
libraryupgrader d22fd0d7ab build: Updating npm dependencies
* eslint-config-wikimedia: 0.26.0 → 0.27.0
* @wikimedia/codex: 1.3.5 → 1.4.0
* @wikimedia/codex-icons: 1.3.5 → 1.4.0

Change-Id: I3dbc33dde89f03b188918e29f89434aafc3690a9
2024-04-21 21:57:17 +00:00
jenkins-bot 0ee7e0d944 Merge "[VISUAL CHANGE] Make spacing in UserLinks menus more consistent" 2024-04-19 20:59:17 +00:00
Translation updater bot ead56d1942 Localisation updates from https://translatewiki.net.
Change-Id: If8d6968dfc6ef829c0b6078536bf2d6b254e4056
2024-04-19 09:50:13 +02:00
Jan Drewniak c3c7462951 [VISUAL CHANGE] Make spacing in UserLinks menus more consistent
Changes spacing around icons in the user-links menus
so that the spacing is more consistently 8px.

Bug: T353987
Change-Id: I860ab858363f0535fd80e3a823cf90f91c2e9a86
2024-04-18 23:49:07 +00:00
Translation updater bot 81f256864b Localisation updates from https://translatewiki.net.
Change-Id: Ic331cb8e0773dec97bfa6b54864e33fc63a1fa01
2024-04-18 09:22:49 +02:00
jenkins-bot f6c0071bd7 Merge "Add exclusion notice for night mode feature" 2024-04-17 16:44:03 +00:00
jenkins-bot e917d8e097 Merge ".nvmrc: Update version from 18.17.0 to 18.20.2" 2024-04-17 15:04:55 +00:00
James D. Forrester f1bf7ed973 .nvmrc: Update version from 18.17.0 to 18.20.2
Change-Id: I4f09dd1740dce7ea96af2aab894ce89ed3b9404b
2024-04-17 14:01:41 +00:00
Translation updater bot 50ea9648e1 Localisation updates from https://translatewiki.net.
Change-Id: I2c87bb4b0624a48adab8f757092a1c490850902f
2024-04-17 09:30:32 +02:00
Jan Drewniak a3801497b9 Add exclusion notice for night mode feature
If night-mode is disabled on a certain page via the
exclude list in skin.json, then the following class:
".skin-theme-clientpref-excluded" will be added to the HTML element.

In this scenario, the related client-preferences
menu options are visible, but disabled, and a notice
is rendered below the options informing users of this state.

Bug: T361158
Change-Id: I46d335d079a2d27c7a4122e23ac7e479c286b886
2024-04-16 22:38:35 -04:00
jenkins-bot f0673ac58a Merge "Use client preferences for appearances menu" 2024-04-16 18:02:38 +00:00
Jon Robson e678a43b6e Extension:DarkMode should persist for anons
Bug: T360534
Change-Id: I41ea40defedbede6c6c430f1e0d90fde6d5c1981
2024-04-16 17:02:06 +00:00
Translation updater bot 6a5821800c Localisation updates from https://translatewiki.net.
Change-Id: Ie373cd01cda247d90bd6976bc6c4f6e7569fa880
2024-04-16 09:31:02 +02:00
Jon Robson c8442ba32e Drop background base declaration
This has been confusing a few editors and breaks support with
Extension:DarkMode so let's remove for now.

Change-Id: I84a58b49f8f3d5af8765531bc14c43b42fe39a1d
2024-04-15 16:06:41 -07:00
bwang c69a53a16c Use client preferences for appearances menu
Bug: T361586
Change-Id: I636a557e724f23ea18da135bac59cb304ba81091
2024-04-15 22:36:48 +00:00
Translation updater bot c867810c66 Localisation updates from https://translatewiki.net.
Change-Id: Ie0af172a2486ffece66937fe9fad5f7006f6700d
2024-04-15 09:31:01 +02:00
Translation updater bot d7f77ba0cf Localisation updates from https://translatewiki.net.
Change-Id: I9232fcc5aa98476f6e4a69b4173b65e390a2122a
2024-04-12 09:45:28 +02:00
Translation updater bot 7b0cb1098b Localisation updates from https://translatewiki.net.
Change-Id: I4bfc54db5ecfe89580b6effa645550b4fbbd7f47
2024-04-11 09:23:37 +02:00
Translation updater bot 498e229cdd Localisation updates from https://translatewiki.net.
Change-Id: I0278e8720d1911674e92b23dee3c8e2487a3254a
2024-04-08 09:29:28 +02:00
jenkins-bot 9f430e72cc Merge "tests: Use remoteSkinPath in QUnitTestModule in skin.json" 2024-04-05 12:58:30 +00:00
jenkins-bot de06d9e104 Merge "Add h1 headings to fix for applying font-sizes" 2024-04-05 07:04:34 +00:00
Arlo Breault ff2e6a48ec Add h1 headings to fix for applying font-sizes
h1 headings can be created in wikitext but are discouraged.  They
nevertheless appear in the corpus.

https://www.mediawiki.org/wiki/Help_talk:Formatting#Level_1

Bug: T359881
Follows-Up: I15eaf43c6750c76363ec804eda9b8ca6ec4709c2
Change-Id: I1caa6809e1be14f87c791faac852610a522d1c5e
2024-04-04 13:19:17 -04:00
Jon Harald Søby 8416fd3796 Add transparent bottom border to .mw-list-item.vector-tab-noicon
Add a 2px transparent bottom border to .mw-list-item.vector-tab-noicon
in order to prevent visible "jumps" when no item in the list is selected
and one is hovering items (thus giving them a 2px bottom border).

Bug: T361841
Change-Id: I5b6ccd6fc68bab399647c270cf5ef573034bb622
2024-04-04 16:17:25 +02:00
Translation updater bot 5def09c76d Localisation updates from https://translatewiki.net.
Change-Id: I10317cf22c195b2e114f83d279cba6bb14c440c7
2024-04-04 09:42:16 +02:00