Commit graph

1642 commits

Author SHA1 Message Date
Jon Robson 63b3a23ead Register night mode as a client preference
The night mode setting should only show up if the feature flag
is enabled.

The messages are currently added to Vector, but we may want to upstream
these to core in future.

Change-Id: Idcd53399fa06821bbf5f463d1a242ecf59442c70
2024-01-31 10:14:30 -08:00
Translation updater bot a1db9c2a86 Localisation updates from https://translatewiki.net.
Change-Id: I22132b46d25262a2deeb17401ddf752747f5bf2e
2024-01-31 08:31:03 +01:00
Translation updater bot 95bd8fbb82 Localisation updates from https://translatewiki.net.
Change-Id: Ic6cf9d6f3c003e0726f2cf058a5db6ee4539ef94
2024-01-30 09:41:30 +01:00
Translation updater bot 9a9f0f9a30 Localisation updates from https://translatewiki.net.
Change-Id: I838ad81292e2790e36a69b4276613ab2f03902ef
2024-01-28 16:11:24 +01:00
Translation updater bot 1e3abb4bf2 Localisation updates from https://translatewiki.net.
Change-Id: I3115d727d252ad8e27f69594b1bdae87a90570f0
2024-01-19 08:29:44 +00:00
Translation updater bot 1f861f2d62 Localisation updates from https://translatewiki.net.
Change-Id: I602a451783d9d71c5f680f8a7045778ef5c1b32c
2024-01-17 08:38:56 +01:00
Translation updater bot e23fde811e Localisation updates from https://translatewiki.net.
Change-Id: I2294e0d1fda9d9571177e4e068f701a813b1c2e8
2024-01-16 08:27:46 +01:00
Translation updater bot d5caf507ca Localisation updates from https://translatewiki.net.
Change-Id: Iaeb55341db568faf73aacef8c8ab92142be48ab7
2024-01-15 08:27:28 +01:00
Translation updater bot b43a9aaaa2 Localisation updates from https://translatewiki.net.
Change-Id: I9d0874d37c38dd70a31575ea471a5403d6b70787
2024-01-12 09:03:21 +01:00
Translation updater bot 52eba4f4c4 Localisation updates from https://translatewiki.net.
Change-Id: If830007e1f012c46db6449d189f2fc309ff76798
2024-01-11 10:12:02 +01:00
Translation updater bot 792f3f3733 Localisation updates from https://translatewiki.net.
Change-Id: Icf8f38208eea496b117083f461a1a1ac23e6e24e
2024-01-10 08:34:43 +01:00
Translation updater bot 2e1d67a81c Localisation updates from https://translatewiki.net.
Change-Id: Iabccc0ea1e3fb22139967678a796a34d2dbc02cf
2024-01-09 09:02:59 +01:00
Steph Toyofuku 02681c150f Rename "Theme" to "Appearance" in reading accesibility preferences
Appearance better communicates this section than theme, so let's change
the heading to reflect.  Note this only updates the english heading and
the qqq remains unchanged at this time

Visual diff in english as it updates text on all pages

Bug: T354371
Change-Id: I6824d1d970a3fd4e6d7292d8a493abbcb736bd5d
2024-01-08 14:12:12 -08:00
Translation updater bot e781eed47c Localisation updates from https://translatewiki.net.
Change-Id: I78eed7d0bed354de3ec79186feb8f454344c8a81
2024-01-08 11:34:10 +01:00
Translation updater bot b620b7083a Localisation updates from https://translatewiki.net.
Change-Id: Ic1a0e553f5b2c52971767a69cba267ca1295e3aa
2024-01-05 09:16:31 +01:00
Translation updater bot 7cd24be30e Localisation updates from https://translatewiki.net.
Change-Id: I5a677358d867c2c031e4ceaa355c9fee61784ef7
2024-01-04 09:57:59 +01:00
Translation updater bot 04019da168 Localisation updates from https://translatewiki.net.
Change-Id: I2517ca295eee209c0ef2e203351db0b746f038c6
2024-01-02 10:20:03 +01:00
Translation updater bot 300f67078f Localisation updates from https://translatewiki.net.
Change-Id: Ib24c8e3223625bed14139614ddf23b941684a646
2023-12-28 14:52:15 +01:00
Translation updater bot 224c34326d Localisation updates from https://translatewiki.net.
Change-Id: I3145f384bdfa98e639264144c695864836e51a5a
2023-12-26 14:45:38 +01:00
Translation updater bot 34f6d93d37 Localisation updates from https://translatewiki.net.
Change-Id: Icf89f60a84cb2c7d42803b1d1f9bc2d5cf9a29f0
2023-12-22 17:49:26 +01:00
Translation updater bot 997e291c54 Localisation updates from https://translatewiki.net.
Change-Id: I1915d6b93e8c79827a4187e4a93f979436770a9c
2023-12-21 19:47:50 +01:00
Translation updater bot 994e21da72 Localisation updates from https://translatewiki.net.
Change-Id: Id0bea5a7abc15e2a2b776d71aa1ae0580a388892
2023-12-20 14:07:10 +01:00
Translation updater bot 5b96cbaef1 Localisation updates from https://translatewiki.net.
Change-Id: Ib11c7507b2dcb98bb392d3c1ec58a6ce2b700a4c
2023-12-18 18:22:10 +01:00
Translation updater bot 021590709f Localisation updates from https://translatewiki.net.
Change-Id: If9b1e6943da722c11f56b31166d13181118f03d9
2023-12-15 09:06:10 +01:00
Translation updater bot c7b000ada4 Localisation updates from https://translatewiki.net.
Change-Id: I1c19b847bf2f2fc85238dc132db34f39ec2b0d17
2023-12-14 08:30:06 +01:00
Translation updater bot c644438d53 Localisation updates from https://translatewiki.net.
Change-Id: I4dd8b5a1823b1f6589b82dcc945876639fd6ec84
2023-12-13 08:43:51 +01:00
Translation updater bot 73fc1b1b24 Localisation updates from https://translatewiki.net.
Change-Id: I066b72d9495e9837a6f0e3e7253d74dbc204e227
2023-12-11 10:46:17 +01:00
Translation updater bot fbcda02ed1 Localisation updates from https://translatewiki.net.
Change-Id: I741aef564e473bd569343ca872afbc40f70d607a
2023-12-08 14:49:15 +01:00
jenkins-bot 0108ec3f32 Merge "Remove typography survey" 2023-12-07 16:36:31 +00:00
Translation updater bot 524449edc4 Localisation updates from https://translatewiki.net.
Change-Id: Ieb1f14ac28732b892efd455b9b64ffb01dc06512
2023-12-07 10:06:16 +01:00
ksarabia 515af497db Remove typography survey
* Removes code related to typography survey

Bug: T349337
Change-Id: Iae871ec0c61d630078108a5710705b4d3d118a54
2023-12-05 14:32:00 -06:00
Translation updater bot 09f065a429 Localisation updates from https://translatewiki.net.
Change-Id: I568a29b3766637abb2ad8ac15795a8957e680441
2023-12-05 09:18:43 +01:00
Translation updater bot 473262e431 Localisation updates from https://translatewiki.net.
Change-Id: I7031d68284be745494e6604120c893d8a301179a
2023-12-04 09:09:11 +01:00
Translation updater bot ed352efe8d Localisation updates from https://translatewiki.net.
Change-Id: Ib2efe042f644e7318e5da24c96c6cdb0e5aa617b
2023-12-01 09:44:30 +01:00
Translation updater bot e73017b3b6 Localisation updates from https://translatewiki.net.
Change-Id: I55b3c8f6f967a5dd7f6bc4d3d24d2957be3b36ff
2023-11-30 09:41:18 +01:00
Translation updater bot 50ae71e660 Localisation updates from https://translatewiki.net.
Change-Id: I984415a0b346445c69f1ef42d02bc41f52cdc7a2
2023-11-29 08:33:40 +01:00
Jon Robson 1c2dff5690 i18n: Update copy
* Switch from "has been" to "has"
* Reorder limited width options
* Change headings
* Change options
* Change copy of beta feature

Bug: T351998
Bug: T351867
Change-Id: I65494a3cc75b661339e48df1bea0e09a365c0657
2023-11-27 11:21:55 -08:00
jenkins-bot 1673d3522d Merge "Implement new font-sizes for custom front-size preference" 2023-11-27 08:08:40 +00:00
Translation updater bot fd4a7edac7 Localisation updates from https://translatewiki.net.
Change-Id: I7c6f072afaec2bae7774fc9d271ed08a026a39ca
2023-11-27 08:35:59 +01:00
Jan Drewniak edfdf05f12 Implement new font-sizes for custom front-size preference
Adds different font-sizes and line-heights for the custom
font-size UI. The custom font-size preference options are now:

1. Compact - 14px font-size & 22px line-height
2. Standard - 16px font-size & 24px line-height
3. Open - 20px font-size & 26px line-height

This removes the "xl" font-size option
(`vector-feature-custom-font-size-3`) and it's related i18n messages,
and changes the remaining message to match the new options.

The default font-size, when the custom font-size feature is disabled,
is "compact".

Bug: T351693
Change-Id: I5975a78ce7327f314fd55de55c222ac08d801fbd
2023-11-24 15:23:56 +00:00
jenkins-bot 37c2a0016f Merge "Make client prefs fully pinnable" 2023-11-23 16:34:33 +00:00
Translation updater bot 3e4cc22bec Localisation updates from https://translatewiki.net.
Change-Id: I0663354ddf899f244c772808793a608f28884cd8
2023-11-23 12:00:57 +01:00
bwang d2b413a721 Make client prefs fully pinnable
Bug: T351141
Change-Id: Ic4a166fb3234b27dbf3d37891abfdf15781c8867
2023-11-22 14:39:28 -06:00
Translation updater bot 98651517b9 Localisation updates from https://translatewiki.net.
Change-Id: I02ec5b825443f832514b59288f7bc3130b9435d3
2023-11-22 08:22:20 +01:00
Translation updater bot 4eaff59bdb Localisation updates from https://translatewiki.net.
Change-Id: Ia14c7d4cadc25c7627d51cb4a9e005debc6defb0
2023-11-21 08:31:12 +01:00
Translation updater bot c4802af02c Localisation updates from https://translatewiki.net.
Change-Id: Ide3878c7d65534d44066dd49e807d086e32c67b6
2023-11-20 08:54:49 +01:00
Translation updater bot 44cd7fb13c Localisation updates from https://translatewiki.net.
Change-Id: I185209a156490370052a58ee15a070d8d7b573ae
2023-11-17 08:55:51 +01:00
Translation updater bot a555367a67 Localisation updates from https://translatewiki.net.
Change-Id: I3ce44f0847b7974583c6786ee6bce13697044e06
2023-11-16 09:11:51 +01:00
Translation updater bot 5b8dc0b7f8 Localisation updates from https://translatewiki.net.
Change-Id: I44d860158139fe8b830f133462b9442b3305584a
2023-11-15 15:45:39 +01:00
jenkins-bot 020e51cc8c Merge "i18n: client preferences" 2023-11-14 17:35:01 +00:00
Translation updater bot 7b87da7647 Localisation updates from https://translatewiki.net.
Change-Id: I333bca31a6f7888c29032c087f4b110a577e630a
2023-11-14 09:16:48 +01:00
Jon Robson 6f264d8493 i18n: client preferences
Changes:
- Use "Theme" for the settings heading
- Update column width options to wide and standard

Notes:
- I haven't changed type size or column width as the proposed
text includes "Article". On many projects outside Wikipedia,
the use of "article" is semantically incorrect.
- Type size currently has 4 options. Need to talk to Justin
before renaming those.

Bug: T350417
Bug: T350195
Change-Id: I1c98e510b731e3671c36e095081975400edf4e49
2023-11-14 00:43:11 +00:00
Translation updater bot 99e7250892 Localisation updates from https://translatewiki.net.
Change-Id: I305ff0cd71898e6327fe5a5d115927a57798b0ba
2023-11-13 08:45:06 +01:00
Translation updater bot 56570757ae Localisation updates from https://translatewiki.net.
Change-Id: I6501a2cff7361fbf92485448427e3a7abe2e0288
2023-11-09 10:43:23 +01:00
Translation updater bot fad97fe757 Localisation updates from https://translatewiki.net.
Change-Id: Ifec3ea11f0496985457ef64add4b9ec16fb9ab4e
2023-11-08 13:09:29 +01:00
Translation updater bot ad05908114 Localisation updates from https://translatewiki.net.
Change-Id: I7b97f1b48a3c722b81e3b26a0d587bd68bd8a652
2023-11-07 09:10:44 +01:00
Translation updater bot 768d4f05cd Localisation updates from https://translatewiki.net.
Change-Id: Icb858ad8827bfd765bdf0d551de3de74a8e5cd67
2023-11-06 09:01:05 +01:00
Translation updater bot 2dfc70c842 Localisation updates from https://translatewiki.net.
Change-Id: I5736a831f1fa8330d14892a3cbceecfdc9ee6b87
2023-11-03 09:02:23 +01:00
Translation updater bot f8c8c81059 Localisation updates from https://translatewiki.net.
Change-Id: Ic0e75bcb20d74a0ba35f090fcdc34cc72f4492fa
2023-11-02 10:01:38 +01:00
Translation updater bot 1461b1de4d Localisation updates from https://translatewiki.net.
Change-Id: I55cfc4d73a4447cc7a92b5eea81438ba8f63eb71
2023-11-01 09:10:22 +01:00
Translation updater bot 71665e3285 Localisation updates from https://translatewiki.net.
Change-Id: If3191f89b931a3d78e8310774f797dd991547ce9
2023-10-31 09:11:03 +01:00
Translation updater bot 898d04ed3d Localisation updates from https://translatewiki.net.
Change-Id: Iaa53430d1c6f5cb03fe4f1ae0a29138b1afeccff
2023-10-30 18:01:28 +01:00
Translation updater bot 9937683cad Localisation updates from https://translatewiki.net.
Change-Id: I2be6425832f8d50634eeaeb0ea8304ec67e4948d
2023-10-30 13:53:56 +01:00
Translation updater bot d61dcc801b Localisation updates from https://translatewiki.net.
Change-Id: Ie1451a36c558f3d0dc01b2bb104ad325094f5d10
2023-10-27 09:24:15 +02:00
Translation updater bot 7b786b5823 Localisation updates from https://translatewiki.net.
Change-Id: If6c66b7cd04e63bb20ef546ca3551ce340a6c211
2023-10-26 11:09:48 +02:00
Translation updater bot ffdb3f05e5 Localisation updates from https://translatewiki.net.
Change-Id: I6d31eefa93f3183d72f7b11d932630934841ac33
2023-10-25 09:04:13 +02:00
Translation updater bot f0603ed967 Localisation updates from https://translatewiki.net.
Change-Id: I5063b5675b9325d10b6960382c44b9aa4fa95bb4
2023-10-24 09:40:56 +02:00
Translation updater bot 169dadb88d Localisation updates from https://translatewiki.net.
Change-Id: I6b3ec523107c7d231e3f3507b03e9ec9f919fd5e
2023-10-23 09:53:41 +02:00
Translation updater bot 97f8f4e6b5 Localisation updates from https://translatewiki.net.
Change-Id: Idb93ff9284fd46b391825c298e4eecc3ae3dfa8a
2023-10-20 09:23:58 +02:00
jenkins-bot 8b9cbc7150 Merge "Make Vector feature flags compatible with beta features" 2023-10-19 17:22:49 +00:00
Moh'd Khier Abualruz 173c91a0f5 Make Vector feature flags compatible with beta features
- Added Key 'beta' to features config in skin.json. As usual this also supported by global configs.
- Added feature management logic to check for beta feature enabled status and the user's selection of utilising the vector beta features.
- Added VECTOR_BETA_FEATURES to Constants.php which is an array that holds features names that would be enabled.
- Removed final from class declaration of OverridableConfigRequirement class, as it does interfere with the mocking in the current setup

Remaining Work:
- Missing images to be added in the hook to show in beta features under Special:Preferences -- this will be added in a followup

Bug: T347772
Change-Id: I7bf8284e328c66c019c392f57207cab21ce0d4f6
2023-10-19 18:22:57 +02:00
Translation updater bot f8dd7725f3 Localisation updates from https://translatewiki.net.
Change-Id: I84ad95c5f32eb0614a0dcc2bc21328acab84ff00
2023-10-19 08:46:36 +02:00
Jon Robson 004b4c96f3 Add multiple font size to frontend
Use integer value going forward as it will be easier
to manage.

Bug: T346954
Change-Id: I041a0cb21e872700ceeeddd3a39922e456aa7bb8
2023-10-17 12:43:02 +00:00
Translation updater bot 77ea8245a6 Localisation updates from https://translatewiki.net.
Change-Id: I235d3a6e3fdbbed4345184843a3677161b87ae89
2023-10-17 09:37:08 +02:00
Translation updater bot 07d2e24316 Localisation updates from https://translatewiki.net.
Change-Id: I8296b2578b40664490db816ac1f1ac342ba29510
2023-10-16 09:18:32 +02:00
Translation updater bot deace145fb Localisation updates from https://translatewiki.net.
Change-Id: I3e1f057b29f755172b8178bd3a52643f6568f984
2023-10-13 09:00:06 +02:00
Translation updater bot 357a518627 Localisation updates from https://translatewiki.net.
Change-Id: I81242d4becc5743923a735028106160143915a02
2023-10-10 08:54:38 +02:00
Translation updater bot eb5ddd6180 Localisation updates from https://translatewiki.net.
Change-Id: I0751864e901ffb4f6436a17687f6b4a0ad5bb2c4
2023-10-09 09:00:15 +02:00
Translation updater bot 1d7cf846e8 Localisation updates from https://translatewiki.net.
Change-Id: Ibdd0a7cf42c245aeff6706164de612b5bff3e162
2023-10-06 10:05:35 +02:00
Translation updater bot 24efcf21da Localisation updates from https://translatewiki.net.
Change-Id: I344edaa4f1215834467b4dd214f41382426b7afb
2023-10-06 09:26:09 +02:00
Jan Drewniak 84b2d81809 [Prototype] Edit project link page on reading prototype
Changes project page link to use Special:MyLanguage

Change-Id: I99322f3492b85bd65828453a98d3cba50b9525c7
2023-10-05 14:31:22 -04:00
Translation updater bot 1aceefcc45 Localisation updates from https://translatewiki.net.
Change-Id: I910d7c37f1e4627a7e3471adb38f63f634b41930
2023-10-05 09:14:23 +02:00
Translation updater bot e2fc864c2d Localisation updates from https://translatewiki.net.
Change-Id: If33111cc8451b7f278317c07d37c78bc5585a18b
2023-10-04 09:12:07 +02:00
Jan Drewniak a04ff40809 [Prototype] Change i18n message
Edits the translation message for the
readability prototype.

Bug: T347208
Change-Id: I961c656d529bb0e11baafbdefb89dbc347a2c12c
2023-10-03 14:07:37 -04:00
jenkins-bot 2226b02777 Merge "Correct a recently-added message" 2023-10-03 14:19:38 +00:00
Translation updater bot db4de55661 Localisation updates from https://translatewiki.net.
Change-Id: I241ceea07c068ec43b0fe1c15c65f4ed8e307330
2023-10-03 09:34:48 +02:00
Amir E. Aharoni 7fff1fd15a Correct a recently-added message
Change-Id: I415c664823c5dd79905ec46926c1deb7ec83681e
2023-10-02 19:06:17 -04:00
Jan Drewniak d4246e6ca6 Web typography prototype survey
Creates an interactive prototype for gathering
feedback on users typography preferences.
This prototype is meant to be temporary and is
built soley for feedback purposes for the
WMF Accessibility for reading project.

The prototype code is:
- for logged-in users only
- hidden under the API user preference "vector-typography-survey"
- disabled by default

It is intended to be enabled via a banner that calls
code similar to:
    new mw.Api().saveOption( 'vector-typography-survey', 1 )

Bug: T347208
Change-Id: I8d8914a0fa16d40cb22ed0e61832bc5bbabe1c78
2023-10-02 10:56:40 -07:00
Translation updater bot f350556604 Localisation updates from https://translatewiki.net.
Change-Id: I166b1d474fb3690824022488638387573d7493e6
2023-10-02 09:23:52 +00:00
Translation updater bot fbc456b666 Localisation updates from https://translatewiki.net.
Change-Id: I45bb66413a7827228c1fb79b1cfd6934d8344fe8
2023-09-27 09:25:12 +02:00
Translation updater bot 0595a86b5e Localisation updates from https://translatewiki.net.
Change-Id: I2de91055da5a7d558b97afd5998ff42277a6db35
2023-09-26 08:46:46 +02:00
Translation updater bot ec33b0bd78 Localisation updates from https://translatewiki.net.
Change-Id: Icf13ba2a535fde62f6f1553bd341d3de71d8aead
2023-09-25 08:49:23 +02:00
Translation updater bot 5d7018722d Localisation updates from https://translatewiki.net.
Change-Id: I893fa9c68d61b0529b2b51421f8f382ef1119f51
2023-09-22 08:49:51 +02:00
Translation updater bot 9352cc80e3 Localisation updates from https://translatewiki.net.
Change-Id: I36c2ab08b9d829f60dca2b7e909c766f7d94b795
2023-09-21 10:18:44 +02:00
Translation updater bot 639351e214 Localisation updates from https://translatewiki.net.
Change-Id: I289f33ce263c28faf7ede6a7a6ed53fdd3c94704
2023-09-20 08:58:31 +02:00
Translation updater bot 67660dc6a8 Localisation updates from https://translatewiki.net.
Change-Id: I40090eb9286aa0869de630dbd5de299bff4e45d1
2023-09-19 09:27:48 +02:00
jenkins-bot 2049e71435 Merge "Feature: Client preferences interface" 2023-09-18 18:10:47 +00:00
Translation updater bot 4a26581901 Localisation updates from https://translatewiki.net.
Change-Id: I36c06378a6d97db19250bc0bf18efa0915d7c584
2023-09-18 08:47:40 +02:00
Jon Robson 65c48d4eb2 Feature: Client preferences interface
Notes:
* This is functional but intentionally not designed until the design
has been finalized.
* A feature flag is added that swaps out the limited width toggle with
a settings cog
* The preferences module is kept in a separate ResourceLoader module
(skins.vector.clientPreferences) to make it more portable for
when we eventually want to add it to Minerva as well.
* Intentionally have not focused on non-jS version given we will
likely revise this again in a future version/upstream to core.

Bug: T345363
Change-Id: I0c793b73e0676e32f031c6168c292f63908c72e3
2023-09-15 10:03:28 -07:00
Translation updater bot 9db0f9c3c4 Localisation updates from https://translatewiki.net.
Change-Id: I60186f7c77b63cf07ebea640e19aaa48b8eb78e6
2023-09-14 09:32:30 +02:00