Commit graph

5270 commits

Author SHA1 Message Date
jenkins-bot 68742b8c41 Merge "Add exclusion notice for "width" option in Appearance menu" 2024-05-09 21:53:22 +00:00
Jan Drewniak 89c250c18e Add exclusion notice for "width" option in Appearance menu
Adds the notice "This page is always wide" and disables
the inputs for the "width" options in the Appearance menu
when pages are excluded via configuration ( `$wgVectorMaxWidthOptions`).

Bug: T364015
Change-Id: Ie99b41c9130f496ab23b60c95e551a9ea602d5a0
2024-05-09 16:47:07 -04:00
Translation updater bot 1d58612130 Localisation updates from https://translatewiki.net.
Change-Id: I0983c5fde866b71db452b01fa62e13de03289ab3
2024-05-09 09:43:15 +02:00
jenkins-bot 277135ef58 Merge "Fix red link color in dark mode" 2024-05-08 14:53:37 +00:00
bwang 337d608a56 Fix red link color in dark mode
Bug: T363778
Change-Id: Iae4fe2d793b8efbb10b54144ce4093c3e2112da2
2024-05-08 14:31:43 +00:00
Translation updater bot de363abb6d Localisation updates from https://translatewiki.net.
Change-Id: Iae929f571e20c7ee02eec2789f3e7eaa5eba4896
2024-05-08 09:25:49 +02:00
jenkins-bot 537ec7d3ef Merge "Use context of FeatureManagerFactory in FeatureManager" 2024-05-08 02:30:20 +00:00
Fomafix d7735c8d57 Use context of FeatureManagerFactory in FeatureManager
Change-Id: I5e77b6ce2df1245e8a5c710b7e84813f04a77ae2
2024-05-07 18:49:06 +00:00
jenkins-bot 0125ea1986 Merge "Inject service UserOptionsLookup into FeatureManager" 2024-05-07 17:19:47 +00:00
Translation updater bot 42a44cd0b6 Localisation updates from https://translatewiki.net.
Change-Id: Ic56053d85e0665456d52e1514e91397289cbfa06
2024-05-07 09:25:18 +02:00
Fomafix 6320921bd4 Inject service UserOptionsLookup into FeatureManager
Change-Id: I3a056731c4a4e970cae0b974dab574bdbb0401f5
2024-05-06 20:07:58 +00:00
Jon Robson 55e6dfd81c Fixes: exclusion logic for anonymous users
Bug: T364159
Change-Id: I7c7e9cff7b99f8e37f3f1ffb93464fd3f31c799b
2024-05-06 12:20:40 -04:00
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