Commit graph

4740 commits

Author SHA1 Message Date
bwang 2eb8fe89ea Remove unecessary whitespace and new lines from HTML
Change-Id: I8fe04d458da292e2990543afa232a91b6dd4db59
2023-07-06 14:07:29 -05:00
bwang a8013e9db4 Avoid setting large z-index on headers
Bug: T340747
Change-Id: If78b2b6f0d98dc6b83263f5d94a7527afebde91c
2023-07-06 17:19:52 +00:00
Translation updater bot aa681007f2 Localisation updates from https://translatewiki.net.
Change-Id: Id6df508106ed5c711984823b539db55c7602d237
2023-07-06 10:19:50 +02:00
jenkins-bot fed8c81a97 Merge "Vector 22 has some missing whitespace internal to HTML elements" 2023-07-05 17:36:14 +00:00
Translation updater bot 32cefa9550 Localisation updates from https://translatewiki.net.
Change-Id: I605b2075b01b5c4eba168cb1d0ca339d0e01d6d1
2023-07-05 08:33:59 +02:00
Moh'd Khier Abualruz 288b802d45 Vector 22 has some missing whitespace internal to HTML elements
Bug: T338691
Change-Id: Ic4657505ff92027d3c83373c7000e452f00ac07e
2023-07-04 19:05:36 +02:00
Translation updater bot be3c1abdd4 Localisation updates from https://translatewiki.net.
Change-Id: Ib8e887519fd1195abac9c8b4e8967ec274833a4f
2023-07-04 09:25:01 +02:00
Translation updater bot 952afb2705 Localisation updates from https://translatewiki.net.
Change-Id: I7cb4bd7796fc885b16f8edb1bf6e59d393ba16cd
2023-07-03 10:20:07 +02:00
James D. Forrester 771433f013 .nvmrc: Update to v16.19.1
Change-Id: Icdf97dd9ee86f43d2f3b9ed87570ad8aa38c8089
2023-06-30 15:21:54 -04:00
Jan Drewniak 916e64513a Remove "interface-temp-user-banner" option
In mediawiki core change Ie2631221b0a07dd3bf55e970805d30fbb3cac190
the interface-temp-user-banner option is removed.

Bug: T339379
Change-Id: Id5a4a9a00e50420c50868c54f899d36d7ddd373d
2023-06-29 23:07:36 +00:00
Translation updater bot 2beb5d277c Localisation updates from https://translatewiki.net.
Change-Id: I674126ea2f42c8e6d46cce31792e7f63cb473df9
2023-06-28 17:34:27 +02:00
bwang 6a57506ae8 Separate vector-menu classes from Dropdowns
Bug: T319358
Change-Id: Idf05c1664c026f58487ba34af5ede8a11e695baf
2023-06-27 10:14:29 -05:00
Jon Robson 1e6b647971 Add new classes for dropdown component
Bug: T319358
Change-Id: Iab55dc190aa2ebc48eb9c8b34cf10baae8a89914
2023-06-26 15:31:01 -07:00
bwang 153c6f2668 Remove references to heading in dropdown PHP
Bug: T319358
Change-Id: I9830a4b4b55fdb205c479c09ef807de4f6d68713
2023-06-26 12:49:00 -05:00
Translation updater bot 3c741a8505 Localisation updates from https://translatewiki.net.
Change-Id: If285b66e0b58c5e2445bff8690eb0cf6d1cffcac
2023-06-26 12:44:30 +02:00
Reedy e3c79c7524 VectorComponentUserLinks: Fix typo in comment
Change-Id: I2bf7dd04f856ffea993e029bdd4218e7a0eacf6d
2023-06-23 20:39:42 +00:00
Moh'd Khier Abualruz d800e8b34f Update Vector localization message language redirect to top
- Update (vector-language-redirect-to-top) to be shorter and more accurate

Bug: T330805
Change-Id: Ibae37b7e4b148ef7ebfc13b8f929e3b694685731
2023-06-23 18:29:45 +02:00
Translation updater bot f1fd2d5ec8 Localisation updates from https://translatewiki.net.
Change-Id: Id71f23728d72687d4fe4f3325622e809dddc7d47
2023-06-23 09:51:43 +02:00
jenkins-bot ad5cd567bd Merge "Ensure language button works for no js users," 2023-06-22 21:42:00 +00:00
bwang edf2c78765 Ensure language button works for no js users,
* Factor out mixin for right aligning menus

VISUAL CHANGE:
Results in a slight change to the alignment of the user menu.

Bug: T339321
Change-Id: I5c3a03161b1f2372d2ca25ba47dcd40065f4f2cc
2023-06-22 21:17:46 +00:00
jenkins-bot 4e9718b089 Merge "Replace search loader indicator with Codex pending search message" 2023-06-21 21:54:39 +00:00
jenkins-bot 07940c3a5b Merge "Hide "Toggle the table of contents" and "Toggle limited content width" on print" 2023-06-21 18:48:48 +00:00
bwang 8cc436ac4b Replace search loader indicator with Codex pending search message
Bug: T321106
Change-Id: Ic27ecf16277725f6a08038a5501d0903a2494b5f
2023-06-20 13:32:48 -05:00
Translation updater bot ecc3c4f5a6 Localisation updates from https://translatewiki.net.
Change-Id: I4b4186d6d22b02aa299b778b953a39f1565a48a6
2023-06-20 09:52:14 +02:00
Translation updater bot 48fd9473f1 Localisation updates from https://translatewiki.net.
Change-Id: I439f00d8791016ea67a4b29c673f3d0b5f8b0c25
2023-06-19 11:10:27 +02:00
Msz2001 8f8a9c273c Hide "Toggle the table of contents" and "Toggle limited content width" on print
Bug: T339344
Change-Id: I4ed26edfda52f7404d2a513af7343a80bc99d939
2023-06-18 11:04:41 +00:00
jenkins-bot ae01c112d7 Merge "Enable interface-temp-user-banner on Vector 2022" 2023-06-16 17:57:46 +00:00
jaydenb d1c0e6cd6f Hide language alert if there are none and JS is disabled
The languages alert is misleading when there are no languages and the user has JS disabled.

This change adds a class to the alert if there are 0 languages, and then adds "display: none" to the alert if the client-nojs class is present. This is the same approach being used for the language switcher button.

Bug: T326185
Change-Id: Iee292d661ed1f47700f588053712f5f547022b17
2023-06-16 17:30:34 +00:00
Jan Drewniak af2afe264d Enable interface-temp-user-banner on Vector 2022
Enables the new temporary user banner on Vector 2022.

Bug: T330510
Change-Id: I6ca6b737fc6b891da89a0854e597533820c5cf0d
Depends-On: I1e137dbd29f3c73efac901f43f8a8258e2a111fc
2023-06-16 13:22:50 -04:00
jenkins-bot 84864d21de Merge "Drop styles for cached HTML" 2023-06-16 16:32:31 +00:00
jenkins-bot b8dbf58a04 Merge "Use the standardized Codex design tokens" 2023-06-16 16:32:22 +00:00
jenkins-bot aabbad491e Merge "Clean up hook handler registration" 2023-06-16 10:46:48 +00:00
jenkins-bot 0ff1b2f3da Merge "Prevent Skins Vector from setting preferences for temporary accounts" 2023-06-14 20:38:33 +00:00
daniel c8f785d7bb Clean up hook handler registration
Bug: T339167
Needed-By: I83bc81d1b3033c38b9313884a9c70a187fdde227
Change-Id: I980f2d45e6bb8c6a04058e68c758f71bbcf709de
2023-06-14 22:03:19 +02:00
tsepothoabala e5ef6f5f64 Prevent Skins Vector from setting preferences for temporary accounts
Bug: T337874
Change-Id: I83ca625276569349abcd6622d295137c5c4ffe2c
2023-06-14 11:05:27 -07:00
Jon Robson 24d69726f3 Drop styles for cached HTML
Performance: This reclaims 1.3kb of CSS.

Bug: T336526
Change-Id: I6c1ed1523df8cc9e2f2ca09506f12a595b8b013d
2023-06-14 10:52:44 -07:00
jenkins-bot 8662bc80c3 Merge "Forbid jQuery in new code" 2023-06-14 14:24:09 +00:00
Translation updater bot 8b6702cbf8 Localisation updates from https://translatewiki.net.
Change-Id: I54cf92f8752c6657fac9330fc75f9489a776f93f
2023-06-14 13:11:10 +02:00
jenkins-bot f39a8dc0e5 Merge "styles: Replace local var with Codex design token" 2023-06-13 23:37:02 +00:00
Jon Robson 31057b67d8 Use the standardized Codex design tokens
This should result in no visible change to Vector 2022.

Font-size is already being overriden inside Vector 2022 on the
.vector-body class

Bug: T336548
Change-Id: I4ef46a7b6cad1c40ca10c76c2f38087ef34a1cfb
2023-06-13 23:27:47 +00:00
Jon Robson 48d8ad0415 Forbid jQuery in new code
Follow up to I9d07acffa6f8133ec3e44ceba3d1fa5b27b81258

Change-Id: I5240c414cc4f4e4cc832647791b4a2c96acbc845
2023-06-13 15:45:43 -07:00
bwang b2705c55f1 Use Codex for typeahead search styles
- Update SearchBox.mustache markup to use codex styles
- Scope old SearchBox markup to LegacySearchBox.mustache
- Add handling for thumbnail and autoexpand search variants
- Adds a 'Search' button to SearchBox.mustache matching the initial non vue search box with the Codex design
- Refactor SearchBox CSS so styles are scoped better

Visual changes:
A "Search" button now appears on page load when it previously only appeared after loading in Vue

Bug: T337966
Change-Id: Ibcffe00292ab4f9f5f9919982d578793cf8594de
2023-06-12 16:26:33 -07:00
Jon Robson 68239ae344 Use Codex for button styles, start transitioning icons to use Codex icon mixins
Changes:
- mw-ui-button to cdx-button
- mw-ui-quiet to cdx-button--weight-quiet
- mw-ui-icon-element to cdx-button--icon-only
- mw-ui-icon to vector-icon
- mw-ui-icon-flush-right/left to vector-button-flush-right/left
- Removes $isSmallIcon param in Hooks.php

85 Visual Changes
- ~36 changes from minor pixel changes from the new button classes in the main menu, language button
- 22 from standardizing the padding of the TOC in page title
- ~10 changes from addition of .cdx-button to the TOC toggle buttons

PERFORMANCE:
This will result in an overall increase of 2.7kb of render blocking
CSS, 1kb will be reclaimed when
I6c1ed1523df8cc9e2f2ca09506f12a595b8b013d is merged.

Co-author: Bernard Wang <bwang@wikimedia.org>
Bug: T336526
Change-Id: Ibd558238a41a0d3edb981e441638f9564f43d226
2023-06-12 16:26:28 -07:00
jenkins-bot 6ec45dba89 Merge "Move star icon to render blocking module" 2023-06-12 16:47:00 +00:00
Translation updater bot 02919334e4 Localisation updates from https://translatewiki.net.
Change-Id: Ib6600585557e60e1b1e68b12c1c7dd6977bcec34
2023-06-12 13:10:21 +02:00
Jon Robson 5ecdfee02b Move star icon to render blocking module
Bug: T337524
Change-Id: I85ccd1821acb9439533a9dc00aec70aaaa5939fb
2023-06-10 00:16:37 +00:00
jenkins-bot 7a3715710c Merge "SkinVector22: Avoid double-escaping on language selector label" 2023-06-09 20:14:21 +00:00
Translation updater bot 2efc2362cd Localisation updates from https://translatewiki.net.
Change-Id: I4048cd76cec56f2b97a2e86b10d146f9e20db87a
2023-06-09 09:18:39 +02:00
jenkins-bot aec05c9a37 Merge "languageButton: Use click method instead of dispatchEvent" 2023-06-08 20:35:39 +00:00
jenkins-bot 35ca5b722d Merge "styles: Remove local var covered by mediawiki.skin.variables.less" 2023-06-08 20:17:12 +00:00