Commit graph

1695 commits

Author SHA1 Message Date
jenkins-bot 1e4e03395b Merge "Add width exclusion notice" 2024-06-05 19:37:29 +00:00
bwang 716aad56af Add width exclusion notice
Bug: T366216
Change-Id: If50e9adcec6f2fa139e793b3a8108f3b4dd689ca
2024-06-05 19:15:11 +00:00
Translation updater bot 7775e08ccf Localisation updates from https://translatewiki.net.
Change-Id: I0631dec47bedfb4d8829cafcc6692a32a797d269
2024-06-05 09:26:13 +02:00
Translation updater bot 51f323e3d7 Localisation updates from https://translatewiki.net.
Change-Id: I7df1ad098b6502d90399faadc5b0fa09b2b8a912
2024-06-04 09:34:47 +02:00
Translation updater bot 0f4d1bc3b4 Localisation updates from https://translatewiki.net.
Change-Id: I5e72d23f98082599496ba33218b5c39f49022df6
2024-06-03 09:37:11 +02:00
Translation updater bot 83dc6fed7c Localisation updates from https://translatewiki.net.
Change-Id: I6327461cf9d32f76c1851ce756e54d9f5f2673db
2024-05-31 10:00:50 +02:00
jenkins-bot 3fb0bb484b Merge "Disable night mode if gadget detected" 2024-05-30 22:53:51 +00:00
Steph Toyofuku 4a0c2cb684 Disable night mode if gadget detected
While our implementation of night mode is in beta, we want to respect
the existing night mode gadget and disable night mode in favor of the
gadget, providing a notice with an option to disable the gadget and
reload the page

Additionally, raise the max bundle size to account for the additional
code added

Note: the tests still aren't exactly where I'd like them to be, but
hopefully they raise confidence a little bit with reviewing this patch

Additional changes:
* Upgrade to latest version of TypeScript types and remove several
@ts-ignore statements

Bug: T365083
Change-Id: I9583ee7ebf8c810ddd504193d568034c954d28f2
2024-05-30 20:23:38 +00:00
Translation updater bot bbe03514fd Localisation updates from https://translatewiki.net.
Change-Id: I27492e4eced36f18851ab36e220192d7c04427b0
2024-05-30 09:39:17 +02:00
Translation updater bot 3ec7a1f4bc Localisation updates from https://translatewiki.net.
Change-Id: Idd5128d9db1dcc106fcac825e53228b804daafdf
2024-05-29 09:34:40 +02:00
Translation updater bot 4664ecf49a Localisation updates from https://translatewiki.net.
Change-Id: I12faf96b6557be29934c259350c11c3c2bb4f597
2024-05-28 09:33:26 +02:00
Translation updater bot 49152c98a4 Localisation updates from https://translatewiki.net.
Change-Id: I5b0fd05cb7686d9884a2af76d778a97040e48900
2024-05-27 09:32:29 +02:00
Translation updater bot a4af4b12f8 Localisation updates from https://translatewiki.net.
Change-Id: I19719bf05d58e7f62954608a6c55785646eacc81
2024-05-24 09:47:15 +02:00
Translation updater bot 7b08449c0c Localisation updates from https://translatewiki.net.
Change-Id: Ieca3832ba8642e86d41366260e60aa5676099b15
2024-05-23 09:30:45 +02:00
Translation updater bot 0f52e1e85a Localisation updates from https://translatewiki.net.
Change-Id: I827c90d995958bc0456f94f5e15d77b1aa688705
2024-05-21 09:30:35 +02:00
Translation updater bot 57873592ff Localisation updates from https://translatewiki.net.
Change-Id: Ib4274eb3401ee93383b7c64404a6c7352b4e6ca7
2024-05-20 09:28:44 +02:00
Translation updater bot d85f9797db Localisation updates from https://translatewiki.net.
Change-Id: I024b9641c1044ece0dda0414d6a7bea02ed40e05
2024-05-17 09:52:53 +02:00
Taavi Väänänen e2bfd5f957
Fix one more message using "day mode" instead of "light mode"
Bug: T361157
Change-Id: Iaa8f8792b5c93fe31655c8e97e6e032ef255d236
2024-05-16 14:28:45 +03:00
Umherirrender fb03108304 i18n: Replace mw: interwiki with url to mediawiki.org
The interwiki table must not contains an interwiki link with prefix mw:

Bug: T285439
Change-Id: I2aa9c676d42d1741d57c6792c7fb85b844a6f969
2024-05-15 22:57:17 +02:00
Moh'd Khier Abualruz 37e8e4c929 feature(Vector): Add configurable font size exclusions
This patch introduces the ability to configure font size exclusions
for specific pages within the Vector skin, ensuring certain pages
always use a small font size. This change is part of ongoing improvements
to the Vector skin's customizability features.

Changes:
- Updated `skin.json` to include `VectorFontSizeConfigurableOptions`
- Added new i18n string `vector-feature-custom-font-size-exclusion-notice`
- Modified logic for font size exclusion handling in `FeatureManager.php`

Additional Notes:
- Affects testing and beta deployment environments, ensure relevant
  settings are updated in `LocalSettings.php`.
For testing and on beta deployment, these settings should be set in
the LocalSettings.php of the environment, example:

$wgVectorAppearance = [
    "logged_in" => true,
    "logged_out" => true,
    "beta" => true
];
$wgVectorFontSizeConfigurableOptions = [
	"exclude" => [
	"namespaces" => [ -1, 2, 6, 8, 10, 14, 100, 710, 828 ],
		"querystring" => [
			"action" => "edit|submit|diff|info|protect|delete|undelete|diff|history",
			"diff" => ".+"
		]
	]
];

Bug: T364887
Change-Id: I23b9c4fb63f35c7d27544197fead3ad7619c67f1
2024-05-15 19:19:38 +00:00
Translation updater bot 6a06e8f0e1 Localisation updates from https://translatewiki.net.
Change-Id: Ibacebd86aebbe451b2d49d5026367f186feeec3a
2024-05-15 09:23:38 +02:00
Translation updater bot 60b0191340 Localisation updates from https://translatewiki.net.
Change-Id: I3e6e4b540426b4f3d06251018b62485380393d77
2024-05-14 09:29:26 +02:00
Translation updater bot 262523ffba Localisation updates from https://translatewiki.net.
Change-Id: I1b00e1697731af08d269620ee46cc89dcdcda5dc
2024-05-13 09:30:22 +02:00
Translation updater bot 48b497f09a Localisation updates from https://translatewiki.net.
Change-Id: I2564a625af0d80145a4f6b104a5f3a759176b7c0
2024-05-10 09:33:46 +02:00
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
Translation updater bot de363abb6d Localisation updates from https://translatewiki.net.
Change-Id: Iae929f571e20c7ee02eec2789f3e7eaa5eba4896
2024-05-08 09:25:49 +02:00
Translation updater bot 42a44cd0b6 Localisation updates from https://translatewiki.net.
Change-Id: Ic56053d85e0665456d52e1514e91397289cbfa06
2024-05-07 09:25:18 +02: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
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
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
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
Translation updater bot cf8dbb11d9 Localisation updates from https://translatewiki.net.
Change-Id: I88b8ffe64eb0e7111093126af0385fb7371ec543
2024-04-26 09:51:56 +02: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
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
Translation updater bot 6f904ca161 Localisation updates from https://translatewiki.net.
Change-Id: Ib3ebe746aba564139e15a16ee901a9500d2865de
2024-04-23 09:30:44 +02:00
Translation updater bot be9b161915 Localisation updates from https://translatewiki.net.
Change-Id: Icb1b175a244d0da4758c3ef37c7f5f99fcdeef93
2024-04-22 09:32:36 +02:00
Translation updater bot ead56d1942 Localisation updates from https://translatewiki.net.
Change-Id: If8d6968dfc6ef829c0b6078536bf2d6b254e4056
2024-04-19 09:50:13 +02: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
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
Translation updater bot 6a5821800c Localisation updates from https://translatewiki.net.
Change-Id: Ie373cd01cda247d90bd6976bc6c4f6e7569fa880
2024-04-16 09:31:02 +02:00