Commit graph

1784 commits

Author SHA1 Message Date
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
Translation updater bot f99e233678
Localisation updates from https://translatewiki.net.
Change-Id: Idffb11af8fa5c3d450b164497db1ee5184b13a56
2024-07-17 09:36:00 +02: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
Translation updater bot d240bb9287
Localisation updates from https://translatewiki.net.
Change-Id: I9fbb000175d2372b4d4cffde196e7f5d4b36807c
2024-07-12 09:45:15 +02: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
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
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
Translation updater bot f71e03ecb2
Localisation updates from https://translatewiki.net.
Change-Id: If7814c901601a21062cb0e45f147facc1f3ce8dc
2024-06-27 09:24:40 +02:00
Translation updater bot f826f2b66b
Localisation updates from https://translatewiki.net.
Change-Id: Iead31f1fe5e165f42147ce2543de2549ce4dcfb4
2024-06-26 09:23:55 +02:00
Translation updater bot 5434d1f6cd
Localisation updates from https://translatewiki.net.
Change-Id: Iab39bc08e057a668891501bb744e5b67d9c8d5a7
2024-06-25 09:33:01 +02: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
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 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
Translation updater bot 4c25b56ea2
Localisation updates from https://translatewiki.net.
Change-Id: I209afbe7bc75679d749f8f3f33c5de253b269cd3
2024-06-18 09:30:24 +02:00
Translation updater bot e7d1a99a68
Localisation updates from https://translatewiki.net.
Change-Id: I7d99d0b2b0c06fd0b58e2af31f00d184c6c0ef83
2024-06-17 09:36:26 +02:00
Translation updater bot ed47ecfc46
Localisation updates from https://translatewiki.net.
Change-Id: I7e07e88c4015b0e1af18cf1ca39dd27528e3340a
2024-06-14 09:52:26 +02:00
Translation updater bot e6bffd2e48
Localisation updates from https://translatewiki.net.
Change-Id: I101a7bb1823b8b75924eef165e5aec716b2b710d
2024-06-13 09:30:59 +02:00
Translation updater bot 4353654418
Localisation updates from https://translatewiki.net.
Change-Id: Ieb60bd4d3d56cbb57c217743b38b0d56fcb4fd23
2024-06-12 09:24:49 +02:00
Translation updater bot 1f23275988
Localisation updates from https://translatewiki.net.
Change-Id: Idd7c1ef441d928bac57ea6ef0d6366f07aadf30e
2024-06-11 09:58:17 +02:00
Translation updater bot 8a7933dcf2 Localisation updates from https://translatewiki.net.
Change-Id: I779a1e580cc7cdf54414cc0fc048fd0b01319ab4
2024-06-10 10:00:03 +02:00
Translation updater bot 6298977161 Localisation updates from https://translatewiki.net.
Change-Id: I71a781411f1c5d936edd5e5f8aa11500045767ae
2024-06-07 09:49:40 +02:00
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
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
Translation updater bot 5def09c76d Localisation updates from https://translatewiki.net.
Change-Id: I10317cf22c195b2e114f83d279cba6bb14c440c7
2024-04-04 09:42:16 +02:00
Translation updater bot 6dcc0c5744 Localisation updates from https://translatewiki.net.
Change-Id: Iaaaa4bb671cc289911b29eca4c15fd19f9443585
2024-04-03 09:26:04 +02:00
Translation updater bot 0f22ca3a15 Localisation updates from https://translatewiki.net.
Change-Id: If432367ed89f3fb11e5da2f156673873ccd22f27
2024-04-02 09:23:10 +02:00
Translation updater bot 145f77f63c Localisation updates from https://translatewiki.net.
Change-Id: Icfcb5cb860afd20ea04e7c9c1d1be52716b66df0
2024-04-01 09:24:56 +02:00
Translation updater bot 97069bbb48 Localisation updates from https://translatewiki.net.
Change-Id: Ic70a64ca10388fc0760d5db9fbda82174019daa4
2024-03-29 08:49:13 +01:00
Translation updater bot 779db3618e Localisation updates from https://translatewiki.net.
Change-Id: Id6be0184d8bb611e6c308d3359b6a769de8b8f2d
2024-03-28 08:35:07 +01:00
Translation updater bot 6d9e3abe9c Localisation updates from https://translatewiki.net.
Change-Id: I0ba4846df708c29a64bbc8fcc2872f6618f58ca7
2024-03-27 08:20:01 +01:00