Compare commits

...

1054 Commits

Author SHA1 Message Date
jenkins-bot 7368a7d6e1 Merge "Add watchlist icon to Vector" 2022-01-14 17:19:43 +00:00
Ed Sanders da1fb74554 Sticky header: Wait for some repainting to happen after VE teardown
Waiting for one animation frame seems to make the sticky header
re-appear consistently.

Bug: T299114
Change-Id: Ie1230bf861f12e4e18a6adb0f6779c199d6954a1
2022-01-14 14:41:36 +00:00
Jon Robson dc6d020410 Add watchlist icon to Vector
Depends-On: I5b1af082503fe22ec6049784fc43b324534c5b95
Bug: T289619
Change-Id: Idda8c49fe2833f3a64d7cc6d6db91bb6c3cde07e
2022-01-14 01:25:11 +00:00
Jon Robson 591e1d296c [Refactor] simplify watchlist link generation and adopt new icon
Bug: T289619
Change-Id: I8309492881142d47eec4da5cc4aa5c6febbd1b35
2022-01-14 00:26:10 +00:00
Nicholas Ray 699579e646 Add clarifying comment for why scroll padding is applied to html tag.
Change-Id: I9f4b44536b1e8aace41c8699a0d1946a54aa0bfe
2022-01-13 11:59:59 -07:00
jenkins-bot 467283247c Merge "Cleanup: Only need to import one variable file" 2022-01-13 17:06:23 +00:00
Translation updater bot e05460d1b2 Localisation updates from https://translatewiki.net.
Change-Id: I83e653836c833a78498122d3397aabdc681afe62
2022-01-13 08:28:41 +01:00
jdlrobson f7e6e044dd Use configuration to skip vector-2022 skin
This allows us to manage changes going forward in configuration

Depends-On: If50fedaccf959f7ae74c86caf81555ef4f46abd1
Bug: T298923
Change-Id: I09e2b417b496678db0841354e90fdaf6237eb226
2022-01-12 22:32:13 +00:00
Jon Robson 5a0932835a Cleanup: Only need to import one variable file
Change-Id: I120a66ec7013d249e8c42e6e631ae568effaa925
2022-01-12 20:58:16 +00:00
jenkins-bot f6d9e155e0 Merge "SkinLessImportPaths should work on Vector 2022 edition" 2022-01-12 20:55:26 +00:00
Jon Robson df84ed42d2 SkinLessImportPaths should work on Vector 2022 edition
Change-Id: Ib3cf9c8820dc9baf1a2f85752b17e3dba3195f84
2022-01-12 11:38:27 -08:00
Translation updater bot 36981a3610 Localisation updates from https://translatewiki.net.
Change-Id: I46903f67df744e09c2a4a64e45d867ad8f9559ac
2022-01-12 08:26:59 +01:00
Clare Ming f4aafdd263 Update hook to check for new vector skin key.
Bug: T298916
Change-Id: I2946b773b8214cb277be61990df46b109a13748c
2022-01-11 16:44:20 -07:00
jenkins-bot 3159664ac7 Merge "Hide language button in sticky header if compact links disabled" 2022-01-11 21:22:02 +00:00
jenkins-bot 68b2bb23d1 Merge "Use .vector-search-box-auto-expand-width class to style intermediate search components" 2022-01-11 19:42:02 +00:00
Translation updater bot 2fa9ac3d66 Localisation updates from https://translatewiki.net.
Change-Id: I32d70849993cbbc8ca620af8d409613f5e495f72
2022-01-11 08:24:42 +01:00
Nicholas Ray 72120a36a0 Use .vector-search-box-auto-expand-width class to style intermediate search components
Before Vue/WVUI lazy loads, we have intermediate search components that
are rendered on the server and that need to be styled based on the
`autoExpandWidth` prop passed to the search component. This commit
refactors VueEnhancedSearchBox to use this class if present.

Additionaly:

* Cleanup fixmes from Id8d3bd4aa74113b91ecaf66cb58cf5625db8a302
* Replace `vector-search-box-show-thumbnail` class with
  `.vector-search-box-auto-expand-width` class in Header.less now that
  the class has been cached in the HTML.

Depends-On: Ic914ecaee591008f987bd6d754fda8628125de7b
Bug: T297531
Change-Id: Ia6b7afa990fa4b04578740b483ba21dbef45a016
2022-01-10 23:35:45 +00:00
Jon Robson cb94cf0ab9 Hide language button in sticky header if compact links disabled
Bug: T297579
Change-Id: I8d5294a986d76574284419efc7d384fc954a86c8
2022-01-10 14:42:26 -08:00
jenkins-bot 948f0392c9 Merge "Fix TypeError: document.querySelectorAll(...).forEach is not a function" 2022-01-10 20:59:09 +00:00
Nicholas Ray d9ef1ad66d Fix TypeError: document.querySelectorAll(...).forEach is not a function
Bug: T298910
Change-Id: Iaa67f36278af7805c5d915737d6b30e98b3f8484
2022-01-10 13:34:01 -07:00
Translation updater bot f8dd98ad6b Localisation updates from https://translatewiki.net.
Change-Id: I319b5e123f4d4b54da8a836a1f53d5155423d41e
2022-01-10 08:13:31 +01:00
jenkins-bot 25bfcf4d00 Merge "Ensure sticky header language button only shows when there are multiple languages and when ULS is enabled" 2022-01-07 23:42:51 +00:00
bwang 3dda2dda5b Ensure sticky header language button only shows when there are multiple languages and when ULS is enabled
Bug: T298705
Bug: T297579
Change-Id: Iae5db6fd0ec6ae66bb16e8579f14d3e799bf3cbd
2022-01-07 15:42:57 -06:00
jenkins-bot 0488310612 Merge "Restore gadget support to new internal skins" 2022-01-07 20:41:44 +00:00
jenkins-bot 84ed8343c2 Merge "Vector is split into 2 skins" 2022-01-07 20:16:57 +00:00
Translation updater bot 7476acadb6 Localisation updates from https://translatewiki.net.
Change-Id: I607c0571aa7c96dc574b02fcd39f52eb397530e1
2022-01-07 08:27:00 +01:00
jenkins-bot 97c3674d22 Merge "Reset scroll position when sticky header search input receives focus to fix Safari bug" 2022-01-07 01:30:45 +00:00
jdlrobson 99cf6eb5be Restore gadget support to new internal skins
For vector-2022 skin:
* MediaWiki:Vector.css and MediaWiki:Vector.js are added via the
existing ResourceLoader hook.
* User:<name>/vector.js and User:<name>/vector.css are added via new
VectorResourceLoader modules

Bug: T297758
Change-Id: I37e9a9d353695502213c7a651530995252d9505f
2022-01-07 00:18:17 +00:00
jdlrobson 7d2d50873f Vector is split into 2 skins
A new vector-2022 skin is added. This will be the eventual home
of the new Vector skin when we are ready to migrate.

Please see SkinVector class for the migration plan to simulate this
as part of testing.

Bug: T291098
Change-Id: Ibaddf94a5bfb5e21bbbaf1e0aa1b343a3f566d2d
2022-01-06 15:52:10 -08:00
Nicholas Ray 17e742e2ab Reset scroll position when sticky header search input receives focus to fix Safari bug
I haven't found any code responsible for making the scroll position
jump. It looks like Safari is doing this on its own. Looking at the
focus event in detail [1], it looks like there is an `preventScroll`
option you can pass to .focus() which might help in this situation, but
unfortunately, Safari doesn't seem to support this. Therfore, a hack
like this may be necessary.

[1] https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus

Bug: T297636
Change-Id: I90651293b7dd0f7f2970ba06255a12617b43661f
2022-01-06 15:30:21 -07:00
bwang dca94de026 Fix caction menu button from having a width that's 1px too small
Bug: T294883
Change-Id: Ibda07f60d8e94305d36a6bdc2c095b1a93dd6cba
2022-01-05 20:55:43 +00:00
jenkins-bot 42fec59f54 Merge "Refactor search component expand behavior and add auto-expand-width prop to search component" 2022-01-05 17:52:35 +00:00
Translation updater bot 142d6614c5 Localisation updates from https://translatewiki.net.
Change-Id: I0694072b377f82a537b5128518e31a281e801c5a
2022-01-05 08:17:28 +01:00
Nicholas Ray 3028a4f9d8 Refactor search component expand behavior and add auto-expand-width prop to search component
In preparation for I30c670e3f195f77a27715c6b494a3088b7a55712, refactor
the search component expand behavior so that it can accomodate the new
changes in WVUI while maintaining backwards compatibility with the
status quo.

Additionally, pass/enable the `auto-expand-width` prop to the main
header's search. This will be inert until the new changes in WVUI have
landed.

Bug: T297531
Change-Id: Id8d3bd4aa74113b91ecaf66cb58cf5625db8a302
2022-01-04 15:14:49 -07:00
jenkins-bot dce2ea9566 Merge "Update Abkhaz language name" 2022-01-04 17:01:02 +00:00
Translation updater bot b1ec274b4a Localisation updates from https://translatewiki.net.
Change-Id: I34f31ccaa68a80a2878b0a6407eeb43acc80ce55
2022-01-04 08:29:39 +01:00
Translation updater bot b302054e98 Localisation updates from https://translatewiki.net.
Change-Id: Ife2af7ef89bd703abb02e83c2678e21b30bdb92e
2022-01-03 08:13:01 +01:00
Translation updater bot c7966b2041 Localisation updates from https://translatewiki.net.
Change-Id: I3514243feb90ac9831d4188a30cba788f12ddab1
2021-12-30 09:39:22 +01:00
Translation updater bot 2d8246e11f Localisation updates from https://translatewiki.net.
Change-Id: Ic9b33e22bad39df40bdab2225c7a8ad6681a5542
2021-12-27 09:33:10 +01:00
Amir E. Aharoni b064c131d6 Update Abkhaz language name
Bug: T298309
Change-Id: I735da5e1ce214fa41d4401274daa3ad361987344
2021-12-25 14:08:46 +02:00
Translation updater bot 939c89a72b Localisation updates from https://translatewiki.net.
Change-Id: I1807c6fa10d4d9d82266875481dccd8137ab493a
2021-12-24 09:11:05 +01:00
Translation updater bot 69a91758a0 Localisation updates from https://translatewiki.net.
Change-Id: Ibe92055267945b84e3d6f4389940387bc52b8aa2
2021-12-23 08:39:55 +01:00
jenkins-bot eccf02edfc Merge "Fix dependencies for debug mode" 2021-12-22 15:35:23 +00:00
Translation updater bot 289bcb291f Localisation updates from https://translatewiki.net.
Change-Id: Id18884c6f2cdac1d466e458af9ea7811e33ce55e
2021-12-22 08:35:37 +01:00
bwang 80141b61c9 Use core checkbox hack consistently for all dropdown and provide custom JS enhancements for the sidebar button
Depends-on: Id74a80cda6cf460cc2b579269b8d5b2ce81c8ca5
Change-Id: Ibd9518dab78d1d9a541b501d920fe3bd4d362093
2021-12-21 23:33:59 +00:00
jdlrobson d8010c321a Fix dependencies for debug mode
Saw Query.Deferred exception: mw.user.getId is not a function
when using debug mode due to missing dependency

Change-Id: I9ff89e5632da6941bce77b079dee36f47a5fbcc8
2021-12-21 23:00:12 +00:00
jenkins-bot af2b4a0da4 Merge "Add watchstar to sticky header (alternative)" 2021-12-21 19:30:28 +00:00
bwang bd799ecc2e Add watchstar to sticky header (alternative)
Bug: T294759
Depends-on: I88af8585e8fc75f77ebef867d267199aeb2c6592
Change-Id: I15c409830ef8970ff7319b4dd447904443949b8d
2021-12-21 09:40:48 -08:00
Translation updater bot 6de9169227 Localisation updates from https://translatewiki.net.
Change-Id: Id3e18de503799587a52dc82cf2308d2f02060dc9
2021-12-21 08:13:30 +01:00
Translation updater bot 4e8585957e Localisation updates from https://translatewiki.net.
Change-Id: I600452529ab340aa8448db1550444cd819d3fe54
2021-12-20 08:23:34 +01:00
jdlrobson 9444bc3e86 DRY up mw-ui- class generation
Repeated in multiple places now, making it harder to change
button/icon classes.

Change-Id: I3799d065ac0c4ccdc900cbebe9140fb8ea657008
2021-12-17 10:06:46 -08:00
Translation updater bot 9684566e4f Localisation updates from https://translatewiki.net.
Change-Id: Ifb5acda88572da10dff699f2769c5708c898b7da
2021-12-17 08:19:03 +01:00
jenkins-bot c6691a191d Merge "Disable table of contents in article body" 2021-12-17 00:17:16 +00:00
jdlrobson ef59d7b973 Disable table of contents in article body
This will currently remove table of contents in article body
for legacy and modern skin.

To prevent us deploying this in current form, a check is
added in generateHTML

This requires an adjustment of OverridableConfigRequirement to
support requirements which do not vary on whether the user is
logged in or not.

Bug: T297610
Change-Id: I847a284229e498b3aa04c16ea3f84c360e735052
2021-12-16 16:11:05 -07:00
jenkins-bot 44ef14574f Merge "Drop language A/B test bucketing check" 2021-12-16 22:00:45 +00:00
jdlrobson 5a8a3d0d13 Drop language A/B test bucketing check
The existence of this code means we can't safely use this service
inside the skin's constructor.

We no longer need this, so that's fine.

Change-Id: Iffd82c00030c4cf1238a931dc971ffb4686d2620
2021-12-16 12:15:47 -08:00
jdlrobson d79dbf37c9 Don't use ts-ignore. It is hiding real errors
We are passing the wrong arguments to
addVisualEditorHooks

Bug: T297119
Change-Id: I2f8ced4513a1e5fcca2a2a2393cbb8fd7a3db388
2021-12-16 10:27:42 +00:00
Translation updater bot d20e32f8d1 Localisation updates from https://translatewiki.net.
Change-Id: Ie83c6deba7cd2025907768708e9931902ff69d0a
2021-12-16 08:32:28 +01:00
jenkins-bot 9e710f9a96 Merge "Add composer test:size as shortcut bundle size test" 2021-12-16 00:00:23 +00:00
bwang 321e6b19e1 Move watchlist button out of user menu dropdown and adds temporary feature flag
Bug: T289619
Change-Id: I57addbed2ea8ead5d98bce659f3db1f88f8a5094
2021-12-15 23:21:37 +00:00
jenkins-bot d06a4ab2e7 Merge "Update skin authors to include web team" 2021-12-15 23:17:59 +00:00
jdlrobson cae801747f Update skin authors to include web team
Change-Id: I0aa3bf23f8b55b215d5429ced5e47e1395cf69bb
2021-12-15 22:43:45 +00:00
jdlrobson 44aeee5d83 Vector uses html-title-heading
The H1 is available with the correct attributes in core now, so
we can use that instead of our own markup. This also means Vector
will benefit from updates to the heading in core such as main page
special handling.

Bug: T297728
Change-Id: I4d10370678fad6455d73994bf340891760543b71
2021-12-15 22:27:48 +00:00
jenkins-bot 9efaaf8afa Merge "Add feature flag for sticky table of contents" 2021-12-15 18:16:16 +00:00
Translation updater bot 3f269d87e3 Localisation updates from https://translatewiki.net.
Change-Id: Id4ee92cb91fbab971db99918b52972289f0e1f95
2021-12-15 08:10:44 +01:00
jenkins-bot 8357b2c325 Merge "Validate the value of VectorWebABTestEnrollment" 2021-12-14 23:36:21 +00:00
Clare Ming 72fecd41f2 Add feature flag for sticky table of contents
- Add TOC feature requirement.
- Update data for SkinVector.
- Add TOC template.

Bug: T297610
Change-Id: I90bc5e21ba187ac9dd74d5e97763834795a0545b
2021-12-14 16:26:58 -07:00
jenkins-bot b538d23c57 Merge "Close .vector-menu-dropdown menus in modern Vector beforeunload" 2021-12-14 22:53:54 +00:00
jdlrobson 64ee622c73 Validate the value of VectorWebABTestEnrollment
The generation of JavaScript will throw a RuntimeException
making it obvious when an invalid A/B test has been setup.

Bug: T297662
Change-Id: I75b0e923463bf52f8fc5b5c6b7f9baf586053154
2021-12-14 22:22:26 +00:00
Translation updater bot 0cbf9c61d9 Localisation updates from https://translatewiki.net.
Change-Id: Ia395437065234bf77bbe5c6910382996fb18ed98
2021-12-14 08:44:20 +01:00
Clare Ming 60553ff324 Prevent A/B test enrollment hook from firing for unsampled
Bug: T297662
Change-Id: Ibeca32a3c0fab7de403d69ea274c653cf4bd6c0e
2021-12-13 17:31:17 -07:00
Nicholas Ray 3187fa41ad Close .vector-menu-dropdown menus in modern Vector beforeunload
Per T295085, because of the checkbox hack, these menu would stay open
when navigating back to a page.

Bug: T295085
Change-Id: Ief9523030384b4bcaa00379988e2042b4d177dcc
2021-12-13 17:24:44 -07:00
jdlrobson 983437312b Don't add language button to sticky header on pages without languages in content
In Commons languages appear in sidebar.
The language button shouldn't show in the sticky header on these wikis

Bug: T297362
Change-Id: I17d283a7c0ad20bdcaf39b234a7fe766880ab28a
2021-12-13 20:04:50 +00:00
Translation updater bot 326a9db5e3 Localisation updates from https://translatewiki.net.
Change-Id: Ic347171aa298f0f3befccf52a8e14fdaa5faf7a7
2021-12-13 08:24:32 +01:00
Kosta Harlan 23bfd3ff36 Add composer test:size as shortcut bundle size test
Change-Id: Id3c6519eba22babd694cc5fdf3ca85bd44ba7df4
2021-12-10 19:59:19 +00:00
jenkins-bot 1ceb673578 Merge "Move bundlesize test to MediaWikiIntegration test" 2021-12-10 19:55:16 +00:00
Clare Ming dfa649741d Fix format of VectorWebABTestEnrollment
mw.experiments.getBucket expects buckets to map to numbers

Bug: T295972
Change-Id: Ie3e35f78a42ed633ad2f26a72ad87a8bf190fc51
2021-12-10 12:18:49 -07:00
jenkins-bot dc6bd9af95 Merge "Remove need for html-class template property" 2021-12-10 18:03:22 +00:00
jenkins-bot 2e492515b3 Merge "Add language switching alert in sidebar for language in header" 2021-12-10 17:04:06 +00:00
jdlrobson ca501bb581 Remove need for html-class template property
Follow up to 9dcfc1f

This simplifies the template by removing the need for the html-class.
The font-size can be provided to the entire content area meaning we don't
need the link-only class

Change-Id: Id5c49358f6ec007b3205ee390cf68334a1e56de5
2021-12-10 08:40:01 -08:00
Kosta Harlan 6270246d44 Move bundlesize test to MediaWikiIntegration test
The main motivation is to reduce runtime by not invoking an unneeded
Selenium test phase in Quibble, which currently needs about 1 minute to
install npm dependencies.

Depends-On: Ieb7591f3c0ac843677a2a61b4ad47f920fc2ca2d
Bug: T255149
Change-Id: I0563421b3a3d3e6e81abec987c266ade275b47a1
2021-12-10 08:48:59 +01:00
Translation updater bot fd690f36fe Localisation updates from https://translatewiki.net.
Change-Id: I5762622cf9946d309fedaa4efabe98d4d13567c7
2021-12-10 08:27:43 +01:00
Clare Ming 9dcfc1ff27 Add language switching alert in sidebar for language in header
- Add i18n messages.
- Update relevant data methods in Vector.
- Update sidebar template + styles.
- Add new template partial for sidebar actions.
- Add feature flag to turn on/off alert.

Bug: T295555
Change-Id: I232ce13770917d51495391f4b8d8d1a3a8a7afb8
2021-12-09 16:37:36 -07:00
jenkins-bot cc44e46229 Merge "Define sticky header ULS behaviour" 2021-12-09 23:15:05 +00:00
jdlrobson 51cce2d0d4 Define sticky header ULS behaviour
* It sticks to the header on scroll
* It hides when the sticky header hides

Bug: T296680
Change-Id: I5a4e2ba42e172ea55fbdac8f35ec895f6b2756cd
2021-12-09 22:18:35 +00:00
Clare Ming 454a2845b4 Update A/B test enrollment name
Bug: T292587
Change-Id: Ib4174119e18496139bb942032a2401ebc4d1849f
2021-12-09 13:16:54 -07:00
jenkins-bot d0116e07f9 Merge "Make ULS in header quiet progressive button" 2021-12-09 17:33:03 +00:00
bwang b79290f5c9 Make ULS in header quiet progressive button
Bug: T291286
Change-Id: Id1e056330606b87bafb8f43e7ff28d96290465b4
2021-12-09 15:27:04 +00:00
Translation updater bot 95284c7a8e Localisation updates from https://translatewiki.net.
Change-Id: I5f99067ececef3b9c982a548eeb0e7daf2dfcb05
2021-12-09 08:24:45 +01:00
jenkins-bot a7c16c7f30 Merge "Feature flag language button in main page header" 2021-12-08 23:11:53 +00:00
Nicholas Ray 24a5817315 Feature flag language button in main page header
Per the ticket, when this flag is enabled (and the
VectorLanguageInHeader config is enabled) we want to move the language
button from the bottom of the main page to beside the main page's title.

This config can be toggled with the `languageinmainpageheader` query
param (e.g. `?languageinmainpageheader=1`).

Bug: T293470
Change-Id: I41b4677f80b939810d16907b508ab29936f8629c
2021-12-08 15:11:25 -07:00
Translation updater bot ac917532fa Localisation updates from https://translatewiki.net.
Change-Id: Ib739f6f4dca431f4598c2c802199d23d95b40f10
2021-12-08 08:14:00 +01:00
Clare Ming 43c1fee6b4 Add data-event-name attribute to sticky search icon.
Bug: T296999
Change-Id: I3d5d8534f1946a9e9c876451fb7f7605712827e4
2021-12-07 16:30:15 -07:00
jenkins-bot 662fa2a013 Merge "Align `mw.notify()` alerts to avoid overlapping sticky header" 2021-12-07 22:38:02 +00:00
jenkins-bot fa5cf0890a Merge "Use sans-serif for figures" 2021-12-07 22:12:00 +00:00
Arlo Breault 4df9857726 Use sans-serif for figures
This matches the .thumb class for the new media structure.

Bug: T287965
Change-Id: I55c2f8fdc6c1b882bd1c7b8411e7aa5c475ead3c
2021-12-07 21:44:21 +00:00
Jan Drewniak aa44696222 Align `mw.notify()` alerts to avoid overlapping sticky header
Aligns the notifications produced by `mw.notify` so that they don't
obstruct the sticky header or usage of elements inside the sticky header.

Bug: T260338
Change-Id: If00f27ec19e71f6803231678fbb733ffaa6c6aaf
2021-12-07 14:41:46 -05:00
jdlrobson fbc5241c45 [Documentation] Document decision in T293441 in code
Not 100% clear why it works this way so recording.

Change-Id: I8c6eb4c1e17916fe06b071dfc98f1c0d4529731d
2021-12-07 18:48:45 +00:00
Translation updater bot 13744f3bad Localisation updates from https://translatewiki.net.
Change-Id: Ica4ebff670a3734db02776c3e7b993272c7586f6
2021-12-07 08:13:47 +01:00
jdlrobson bb0b3373c7 Mount search to parent node of search form
Follow up to 5dee570cb2.

It seems the mount works slightly different in that it creates a div,
appends by the App element to the element you give it, after
clearing all it's child nodes.

The previous behaviour was that the old element was /replaced/
by the App element.

Bug: T296889
Change-Id: Iee7493c032f4de5389207bba288a1a70e4cd14f3
2021-12-06 22:42:31 +00:00
Translation updater bot 2088dd9793 Localisation updates from https://translatewiki.net.
Change-Id: I901a2fdac5cc80a724e3935b664c0de53a1b5833
2021-12-06 08:22:19 +01:00
jdlrobson d834329e15 [Sticky header refactor] Separate responsibilities
Move A/B test code to AB.js
Consolidate the show/hide code spread across scrollObserver
and stickyHeader by adding a show and hide function.

This is needed to fix T296680

Change-Id: Ia2e0c50278df0dfc1600610f281be20f4cc755c2
2021-12-03 14:30:10 -07:00
Translation updater bot 2bccc4e8d4 Localisation updates from https://translatewiki.net.
Change-Id: I593a9f1928a56147a565cd998f98ad92f95bf96d
2021-12-03 08:44:59 +01:00
jenkins-bot 23ac01428b Merge "Update search box margin in sticky header." 2021-12-02 22:37:36 +00:00
Translation updater bot bee9ef0695 Localisation updates from https://translatewiki.net.
Change-Id: I2e71fc39621751dfc4800dc574c91ae6c4571a69
2021-12-02 08:44:29 +01:00
Clare Ming 37c9a24f75 Update scroll observer to allow event logging
- Permits logging for scroll events without sticky header.
- Update function name to be more precise.

Bug: T292586
Change-Id: I441b4bf81bc4a36a03f0f1c215d86b01dce2911d
2021-12-01 16:12:06 -07:00
Clare Ming f45cd69381 Update search box margin in sticky header.
Bug: T296318
Change-Id: Icc70723a79ca9b2632229226ef43a1d29d025d09
2021-12-01 22:52:30 +00:00
Translation updater bot ca251c25f8 Localisation updates from https://translatewiki.net.
Change-Id: Ifc1ad14f60b9b6d7c983b2993541030fd70c30be
2021-12-01 08:16:56 +01:00
jdlrobson f0ed70d709 Restores language button icon font size
The font size of icons should never be changed. Since it's also a span

Bug: T296212
Change-Id: I8bf4e9a7d43a9e5206d3ff6d89e2c3f74fa0d25a
2021-12-01 01:08:49 +00:00
Translation updater bot 0b232afc06 Localisation updates from https://translatewiki.net.
Change-Id: Ibc1f508538927b4bf8bef1aabd46b69a21c0042a
2021-11-30 08:24:03 +01:00
vladshapik 262a520a2c Avoid using User::getOption
Remove using of User:getOption since this method
will be hard-deprecated. Now it is soft-deprecated.

Bug: T296083
Change-Id: I3194a9c1c5c70592f88bc4dbedc78846d1141768
2021-11-29 23:46:05 +00:00
jenkins-bot 8c19f565d1 Merge "Update style for page title in sticky header" 2021-11-29 23:11:58 +00:00
jenkins-bot 0b8c30cc25 Merge "Update sticky header height." 2021-11-29 22:56:37 +00:00
Translation updater bot abecd7b66d Localisation updates from https://translatewiki.net.
Change-Id: I782ae1872950d14a6320b31d8cd95c8ebdc646d3
2021-11-29 08:14:31 +01:00
Translation updater bot 6d7ba2bca6 Localisation updates from https://translatewiki.net.
Change-Id: I7df367a116031aee0ce653ce3c04ac84cbef2e70
2021-11-25 09:04:24 +01:00
Clare Ming d8eff021e1 Update sticky header height.
Bug: T296321
Change-Id: Ic8efa9404282a98aee37dcf9ba33a0b26d6abaff
2021-11-24 14:20:31 -07:00
Clare Ming 101c438c02 Update style for page title in sticky header
Bug: T296320
Change-Id: I0deabfb598e92f07296824c94a9c7c81daefe486
2021-11-24 13:59:16 -07:00
jenkins-bot 1c96e32b6f Merge "Remove unused markup icon" 2021-11-24 20:21:55 +00:00
jenkins-bot 409405474a Merge "Update sandbox user menu icon" 2021-11-24 19:35:51 +00:00
Translation updater bot a8c243134d Localisation updates from https://translatewiki.net.
Change-Id: Ia685ce317233109b5552b409394b6a6df26b5859
2021-11-24 08:24:38 +01:00
bwang a364e93d94 Remove unused markup icon
Bug: T288928
Depends-on: I553bbcc9f1a98d75e160ede7a66ffcf6510fa28a
Change-Id: I4c4ce87012325c239838de7dc0a7555ba6298d2b
2021-11-23 17:26:10 +00:00
bwang 3981333271 Update sandbox user menu icon
Bug: T288928
Change-Id: I9b781ade0cdc1114dc1cb2aa087fb49bf8aa4acd
2021-11-23 11:21:45 -06:00
jenkins-bot 5e7dc81e38 Merge "Ensure sticky header ULS is tracked by DesktopWebUIActionsTracking" 2021-11-23 16:09:45 +00:00
jenkins-bot ed4ec0079a Merge "HTMLLegacySkinVersionField: accept string 'default' value" 2021-11-23 11:27:41 +00:00
Translation updater bot 5c9f05c105 Localisation updates from https://translatewiki.net.
Change-Id: Ia5dd5e7d8dab4534b6ede62530b2ac0e014af44f
2021-11-23 08:28:11 +01:00
MusikAnimal 5207a15b91 HTMLLegacySkinVersionField: accept string 'default' value
After I628435a4a, we were asserting a boolean was given because we're
extending HTMLFormField which requires a boolean value. This was safe
because GlobalPrefs would provide a boolean, but that changed with
I594f6297.

We could rework GlobalPrefs once again to ensure only a boolean is
passed in, but since HTMLLegacySkinVersionField already has special
handling around the data types, it seems to make sense to contain the
type transformation in this class.

Simply removing the Assertion is enough to prevent T296068, however
depending on when the global preference was saved (such as since MW
1.38.0-wmf.9 but before wmf.10), it's possible either a bool or a string
was saved, hence we check for both to ensure correct display.

Bug: T296068
Change-Id: If10b948617d2bb8346475f207fe425fb768cb987
2021-11-23 00:57:25 -05:00
Translation updater bot ed61ffc192 Localisation updates from https://translatewiki.net.
Change-Id: Ia362619cfa11f461d83e9eca2419661d1be86ecb
2021-11-22 09:05:48 +01:00
bwang 90a3a226e7 Ensure sticky header ULS is tracked by DesktopWebUIActionsTracking
Bug: T289815
Change-Id: I1960614e12a50a20af157874b925610d29dfa2c7
2021-11-19 16:51:37 +00:00
Translation updater bot b8d0ee861b Localisation updates from https://translatewiki.net.
Change-Id: I9b9761cc1044e8037314ccd1557caebfe455dd84
2021-11-19 08:31:17 +01:00
bwang 54639c4af3 Fix icon button spacing, make it consistent with margin defined in core
Since a margin was added to adjacent sibling spans of icons (https://gerrit.wikimedia.org/r/c/mediawiki/core/+/736919), Vector icon buttons have had too much spacing. This patch removes the extra spacing defined in Vector CSS and the accidental whitespace that was included in the ULS buttons..

Change-Id: I308d1941c5f82cb144c2a9d233fbf44c730413a7
2021-11-18 18:55:00 +00:00
Translation updater bot 4cbfdcb2f7 Localisation updates from https://translatewiki.net.
Change-Id: I6b66bcc6dcc1d27b820e3d8360a66fe419218c9a
2021-11-18 08:44:01 +01:00
Clare Ming ea0fccb5b8 Disable edit button in sticky header for logged users.
Bug: T294926
Change-Id: I9c987a6962155b04b161111e1a1783d750fee74b
2021-11-17 13:54:02 -07:00
Translation updater bot d3e7ce493b Localisation updates from https://translatewiki.net.
Change-Id: I909f89e2042be6b526b2b340bc4db1942a533ddd
2021-11-17 08:32:23 +01:00
Translation updater bot 633275e093 Localisation updates from https://translatewiki.net.
Change-Id: Ica5e8e60220689ba2b5fb9521e45271e78133215
2021-11-16 08:17:34 +01:00
jenkins-bot 611af67401 Merge "Revert "Fix font size in editor preview"" 2021-11-15 20:11:19 +00:00
Esanders ad9492896d Revert "Fix font size in editor preview"
This reverts commit 058551e9b9.

Bug: T287733
Bug: T295712
Change-Id: Ic239d1334f09d2a1ecbb7f28d69abd0a349128e5
2021-11-15 18:03:50 +00:00
Translation updater bot 1d8b6d5d38 Localisation updates from https://translatewiki.net.
Change-Id: I96f516e20ecb200aa5104c3f32be22d421050f19
2021-11-15 08:15:52 +01:00
Umherirrender 0c154bba36 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: Ic16a1f89fc5ccae3eddd31b1d566128e60592b90
2021-11-13 19:01:31 +01:00
jenkins-bot 4982868628 Merge "search: Prepare for Vue 3 migration" 2021-11-13 00:09:18 +00:00
jdlrobson 058551e9b9 Fix font size in editor preview
Depends-On: I7eaef3ef89a23932edd5abdd74703eb3297ee061
Bug: T287733
Change-Id: I42c6a8da06d1ab9c4d546b940bc4d627b118e2a6
2021-11-12 17:50:31 +00:00
bwang b196d68326 Use searchFooterText slot in typeahead search component
- Create new 'vector-searchsuggest-containing' translation for WVUI search footer text
- Use 'search-footer-text' slot in WVUI typeahead search
- Remove instances of old 'footerSearchText' prop

Bug: T290392
Depends-on: I8fb7761e60be330e58cd017872318fe3675c0be1
Change-Id: I9c946f85c3e4a603c362c3ea4b8016c585cdd212
2021-11-12 10:47:55 -06:00
Translation updater bot 7a57ae93fe Localisation updates from https://translatewiki.net.
Change-Id: I772990e90deee00bc966f2f064e5efe1b81d4828
2021-11-11 10:04:42 +01:00
jenkins-bot 39ffd2c8e3 Merge "Revert "Apply typography rules to `.mw-body-content` elements outside `.vector-body`"" 2021-11-10 20:58:37 +00:00
Jdlrobson 0b6636d587 Revert "Apply typography rules to `.mw-body-content` elements outside `.vector-body`"
This reverts commit da832cc53d.

Reason for revert: Bartosz reports this made
things worse, so probably best to go with
the VisualEditor selector approach.

Change-Id: Ifcb18c7a388986df44424f9a58be35314c3d3e2c
2021-11-10 15:07:19 +00:00
jenkins-bot e95e48ce51 Merge "Add scroll event + init A/B test logging to sticky header, AB js" 2021-11-09 23:26:17 +00:00
Clare Ming 457dcfc472 Add scroll event + init A/B test logging to sticky header, AB js
- Pull IntersectionObserver into new file to share observer with different callbacks:
  - Wrap show/hide functionality of sticky header in conditionals based on user test group or by default.
  - Fire hooks for scroll event tracking in WME.
- Add new js for A/B test functions and variables:
  - Fire hook to send data for A/B test initialization.
- Update main js to include scrollObserver, A/B test init functionality.
- Add A/B test config.
- Update ResourceLoader package dependencies for sticky header.
- Though not a strict dependency, see I42e3e7c2084c1e88363d5d1662630ed23a28c4d2 in WME repo which uses these hooks to log scroll events.
- This patch includes changes from I56f40e706f8706fde1c0891a0561dd32c5e02bfc which were consolidated here for simplicity and ease of review - related to T292587 which calls for logging an init event for bucketing of users during A/B testing.

Bug: T292586
Change-Id: If6446e1e84cea3649905808c4f0e9f6862255fa3
2021-11-09 15:00:25 -07:00
jenkins-bot e3b5356aab Merge "Apply typography rules to `.mw-body-content` elements outside `.vector-body`" 2021-11-09 21:38:11 +00:00
jenkins-bot 4efa75aa7f Merge "Fix specificity of widespread `.external` selector" 2021-11-09 17:14:03 +00:00
jdlrobson da832cc53d Apply typography rules to `.mw-body-content` elements outside `.vector-body`
Bug: T287733
Change-Id: Ib737f215104b2aa234bf694e734de12fccff2fc3
2021-11-09 06:32:01 +00:00
Translation updater bot 63af267555 Localisation updates from https://translatewiki.net.
Change-Id: Ic5cf468df7639856dbcc7450f32db46e47519e7b
2021-11-09 07:31:41 +01:00
Volker E 2ba2af97cf Fix specificity of widespread `.external` selector
Returning to `a.external` over only `.external` as it's used widely
within MediaWiki and skins and it needs to kick in in appropriate
places.
`.external` is besides one false positive only for anchor elements,
nonetheless more specific is simpler and more fail-safe than the
other way round.

Change-Id: I3e2fec26d1f835b11f9a66fdf4ba7faeca12d9d2
2021-11-08 21:58:57 -08:00
Translation updater bot a20bf464b3 Localisation updates from https://translatewiki.net.
Change-Id: Iaa8925f1fa698a237b90b5e0fbf493809129c1cf
2021-11-08 08:19:02 +01:00
Roan Kattouw 5dee570cb2 search: Prepare for Vue 3 migration
Port the initialization code for the Vue search to use Vue.createMwApp()
instead of new Vue( ... ). The former mimicks Vue 3's API for mounting
components.

Without this change, this code breaks in Vue 3 (even in compatibility
mode) because the compat support for new Vue(...) is imperfect. By the
time renderFn is called, the searchForm container has already been
emptied by Vue's internal mounting code.

Instead, inspect searchForm and generate the prop list before mounting,
then pass the props to createMwApp() and mount the component.

Bug: T294476
Depends-On: I1fcdcf7bf87f5af2deb9763a231f2c360ea45b23
Change-Id: I5b6e66051d97e75f8f03b8258894daba22525797
2021-11-05 15:53:34 -07:00
jenkins-bot 04ff34bd0c Merge "Initialize the skins.vector.es6 module before the skins.vector.js module" 2021-11-04 18:11:29 +00:00
Translation updater bot ac481991e6 Localisation updates from https://translatewiki.net.
Change-Id: I1a8224d993adff5b85afd5b071eba88ab621fe06
2021-11-04 10:09:25 +01:00
jenkins-bot 2d501e987c Merge "Add comment to dropdownMenus.js regarding the CHECKBOX_HACK_BUTTON_SELECTOR" 2021-11-03 17:47:00 +00:00
Nicholas Ray c741759cab Initialize the skins.vector.es6 module before the skins.vector.js module
stickyHeader.js, a file in the "skins.vector.es6" module, clones the
user menu. Because of this, it must initialize before dropdownMenu.js, a
file in the "skins.vector.js" module, in order for dropdownMenu.js to
bind the correct checkboxHack event listeners to the user menu in the
sticky header.

Therefore, change the es6 module to export its main method. The
skins.vector.js module can then use mw.loader.using to ensure the
skins.vector.es6 module initialization happens first in browsers that
support es6. Browsers that don't support es6 will continue to initialize
the skins.vector.js module.

Bug: T291096
Change-Id: I1bb6f2da9703ed2679eacfdb42b9818efe614ab9
2021-11-03 11:03:18 -06:00
Translation updater bot 89b98d68b4 Localisation updates from https://translatewiki.net.
Change-Id: Ie14f5eba012ac013cff825fdc123085105e5c824
2021-11-03 08:22:59 +01:00
Nicholas Ray 7f58c88934 Add comment to dropdownMenus.js regarding the CHECKBOX_HACK_BUTTON_SELECTOR
Per request [1], a clarifying comment was added explaining that our
checkbox hack implementation has drifted from the core's recommendation.

[1] https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/732732/2/resources/skins.vector.js/dropdownMenus.js#7

Bug: T291096
Change-Id: I3a5bc9d463bace11185affbb21320d86fc1c5d99
2021-11-02 17:58:52 -06:00
Translation updater bot ea0f0a26fd Localisation updates from https://translatewiki.net.
Change-Id: Ib77428aa8c7473ecbed0fe6d43b3b127b8f2cbe1
2021-11-01 09:36:48 +01:00
Translation updater bot 43f6b74b6b Localisation updates from https://translatewiki.net.
Change-Id: I83035de7b29bc9c4ca49a2f015b1aea33f987094
2021-10-29 08:24:04 +02:00
Translation updater bot 9e81c8434e Localisation updates from https://translatewiki.net.
Change-Id: If87d6cf38a3f73b5830de352be80096865051748
2021-10-28 08:31:48 +02:00
jdlrobson 768a07ec6c Add sticky header edit feature flag
Can be disabled via &vectorstickyheaderedit=0 or configuration
change.

This will allow us to fine tune the edit features without blocking
deploying the existing feature.

Bug: T294383
Change-Id: Ic282ea4f2ff0108eeaa154c8a77e4e5fd30daeae
2021-10-26 21:59:29 +00:00
jenkins-bot 34d77d5e41 Merge "Sticky header edit icons trigger via JavaScript" 2021-10-26 17:32:50 +00:00
jenkins-bot 5641a38edf Merge "Fix title getting cut off in sticky header." 2021-10-26 15:51:01 +00:00
Translation updater bot 85d05d7a9a Localisation updates from https://translatewiki.net.
Change-Id: I764bc19247ebf3f036714def5170096ce8d0a6ce
2021-10-26 08:20:19 +02:00
Clare Ming 741d59df06 Fix title getting cut off in sticky header.
- Add padding to title class selector.

Bug: T289814
Change-Id: Iab167414d10ce256be8e966f115ae164c1bd3331
2021-10-25 20:51:43 -06:00
jenkins-bot 68aa856916 Merge "Remove duplicate `vector-menu-dropdown` class" 2021-10-25 22:59:52 +00:00
jdlrobson 0663087dd5 Sticky header edit icons trigger via JavaScript
Current expected behaviour: the editor experience will
load and the user will be thrown to the top of the page.

Bug: T293158
Change-Id: I3585616c2244a6b91ef5f160beb1cf51af3599aa
2021-10-25 22:35:13 +00:00
jenkins-bot c822029e38 Merge "Combine return paths in getLanguagesCached" 2021-10-25 21:52:02 +00:00
Nicholas Ray 24dbcd1a1a Remove duplicate `vector-menu-dropdown` class
This class is already being added via SkinVector::decoratePortletClass
so the one in the Menu template can be removed.

Bug: T291096
Change-Id: Icb9fa7a1e583ad4ef0138c5bd069aa68598c9b6e
2021-10-25 09:55:42 -06:00
Translation updater bot 028f3e7316 Localisation updates from https://translatewiki.net.
Change-Id: I099186b3472e8bf636d7b9710492c06250a50a84
2021-10-25 08:55:49 +02:00
Fomafix 574bbfd549 Combine return paths in getLanguagesCached
Also use single quotes instead of double quotes and fix typos.

Change-Id: Ibfd855f55f38ea824d38ad858b654d8229838cd1
2021-10-23 12:55:37 +00:00
Translation updater bot 4768a3695d Localisation updates from https://translatewiki.net.
Change-Id: I49207f7ba86f7fea8e3f4da0c5a0140685238820
2021-10-22 08:16:43 +02:00
jdlrobson ca0401789d ES6-ify sticky header code
- Can now use const/let
- No need for feature detection for things like fetch and closest
as we can assume they exist if ES6 support is available

Change-Id: I85b01add13fd74e1514119498815403e42a09af0
2021-10-21 23:44:30 +00:00
jdlrobson b8122cc40b Separate code from ES6 browsers from ES5 code
This will allow us to write ES6 code for the new features which
is limited to those browsers.

For browsers that do not support ES6, the code will not execute
because of the "es6" flag. Doing this will help us avoid issues
like T293402

Change-Id: Iffb7098cb22395e33b87352fb4f08516f6f25e6f
2021-10-21 15:55:04 -07:00
jenkins-bot 62347f0a74 Merge "Make dropdown menus toggle with enter key" 2021-10-21 20:22:41 +00:00
Nicholas Ray 876d3ddf39 Make dropdown menus toggle with enter key
Bug: T291096
Change-Id: Ia5d1a33aa04dab09f1454ade4816fdb9d48f1eca
2021-10-21 09:59:58 -06:00
jdlrobson c16fa80006 Sticky header: Add user page link to user menu in sticky header
Bug: T292557
Change-Id: Ia72c214ef6384dfeae21556aa4007eb6075f0057
2021-10-21 15:15:51 +00:00
Translation updater bot 1c3dde072b Localisation updates from https://translatewiki.net.
Change-Id: I1e8beed945466dc89ec154e885ef79209287bb8f
2021-10-21 08:24:30 +02:00
Translation updater bot b87a979d26 Localisation updates from https://translatewiki.net.
Change-Id: I7a72e3709125d3db4223bc33eefaf1d84e37a120
2021-10-20 08:40:09 +02:00
jdlrobson ae28c427d6 Vector should be notified by addPortletLink to collapsible where needed
Bug: T139830
Change-Id: Ibf17a3df7f9409a02f1a316d5da16b32fabcc5a2
2021-10-19 23:24:28 +00:00
jenkins-bot b1dd172a5f Merge "[a11y] Add title attributes to logout, talk and history and DRY up code." 2021-10-19 16:36:58 +00:00
jdlrobson 358d81ddce [a11y] Add title attributes to logout, talk and history and DRY up code.
* Addresses feedback in:
** T289816#7440605
** T283505#7440585
Change-Id: I98abdab8c3eb20567af527e6a8bf75faa5670d6b
2021-10-19 08:47:00 -07:00
jenkins-bot 7b63f7c751 Merge "Define documentable types in eslintrc instead of inline" 2021-10-18 21:14:26 +00:00
Clare Ming fa15608f3e Fix article title in sticky header template.
Bug: T289814
Change-Id: Ie12097f722053eb9efb557a1e9668d26104a7091
2021-10-18 14:00:47 -06:00
Ed Sanders 90b5ff5149 Define documentable types in eslintrc instead of inline
Change-Id: I80f0557a6355208d2694f3776cce2ee858573a9c
2021-10-18 18:08:32 +00:00
bwang a1b523a9d5 Avoid calling forEach on searchbox NodeList for older browsers
Bug: T293402
Change-Id: Ic2d10ca9c664c284fc9b5433b5ff1cc32d98c960
2021-10-18 17:56:05 +00:00
Translation updater bot ea58308a48 Localisation updates from https://translatewiki.net.
Change-Id: I68d3a0b8a1c1ed12ef53addf110cdeb5e917f663
2021-10-18 15:24:59 +02:00
jenkins-bot 041496585b Merge "Revert "Use searchFooterText slot in typeahead search component"" 2021-10-13 15:01:39 +00:00
Bernard Wang 7575cf97a5 Revert "Use searchFooterText slot in typeahead search component"
This reverts commit b7728ddda5.

Reason for revert: Depends on WVUI release

Change-Id: If97551a8609433b569fbc88800a7bf9ffc137587
2021-10-13 14:34:08 +00:00
Clare Ming 6c009f87c0 Make edit icons in sticky header untabbable for VO/screen readers.
Bug: T290201
Change-Id: I5248db6ab29b1a9a995a5053d84e63cfb7b9fd93
2021-10-12 16:02:52 -06:00
jenkins-bot 529ccd1a86 Merge "Use searchFooterText slot in typeahead search component" 2021-10-12 21:34:45 +00:00
Alexander Vorwerk e924b9b01c MediaWikiTestCase -> MediaWikiIntegrationTestCase
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.

Bug: T293043
Change-Id: I9f8c1e134e9de9e7142ea18e2a9b903e6583cfdb
2021-10-12 01:10:33 +02:00
jenkins-bot e85783cb12 Merge "Update vector-intro-page translation description" 2021-10-08 21:47:39 +00:00
bwang ef889fec69 Update vector-intro-page translation description
Change-Id: I288f5d47cf272bfdfca5c2f5bba1445942cc4571
2021-10-07 16:27:08 -05:00
jdlrobson ba7d228cea [cleanup] Drop unused messages
Messages listed in ValidSkinNames must be used in a template.
None of these messages are used in templates (confirm by prefixing
with msg- and searching the repository.

Change-Id: I77387d67c27888d9726b1f67aaea484abddc4e2e
2021-10-07 17:03:12 +00:00
Translation updater bot 0cef8deeb8 Localisation updates from https://translatewiki.net.
Change-Id: Ib3fcbfae0103bffb35b11eb09431c7fd78ec4a36
2021-10-07 09:05:26 +02:00
bwang b7728ddda5 Use searchFooterText slot in typeahead search component
- Create new 'vector-searchsuggest-containing' translation for WVUI search footer text
- Use 'search-footer-text' slot in WVUI typeahead search
- Remove instances of old 'footerSearchText' prop

Bug: T290392
Depends-on: Ic92721d5aaf6b833c882a26e9a60b42ab91546fa
Change-Id: I34a184cc8f10172a7ebf67981731c3694d008446
2021-10-06 11:37:26 -05:00
Clare Ming c4d1d8c579 Switch order of edit icons in sticky header.
Bug: T289723
Change-Id: If54184eb28d32a189e539c74967918241ddcae41
2021-10-06 09:32:35 -06:00
Translation updater bot 755b20d8ad Localisation updates from https://translatewiki.net.
Change-Id: I61836dc3bad629ee24354ad1a99473e108b56af1
2021-10-06 09:30:23 +02:00
jenkins-bot 06475e55e7 Merge "Remove @min-width-logo, @margin-top-sidebar variables from screen.less" 2021-10-05 23:59:41 +00:00
jenkins-bot 29b35c25ac Merge "Add edit icons to sticky header" 2021-10-05 23:49:35 +00:00
Clare Ming 67e7eab714 Add edit icons to sticky header
- Add edit icons.
- Update data passed to sticky header, button templates.
- Show/hide edit icons client-side based on ids in fixed header.
- Disable sticky header when in Visual Editor mode.
- Use Visual Editor hooks to toggle IntersectionObserver.
- Remove extraneous js for setting offsets for other sticky elements (simplify by moving known sticky element th to css - follow up to https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/722475/comment/7b8ab2db_cd5c7e78/).

Bug: T289723
Change-Id: Ifbab2f1c4d716f8fc261e3d7fa35fc71c6065ec5
2021-10-05 23:31:19 +00:00
Nicholas Ray 87b565a5f0 Remove @min-width-logo, @margin-top-sidebar variables from screen.less
AFAICT these variables are unused.

Change-Id: I675de18cf4b2bb0b7aa913d4ad5801ca0e7eb155
2021-10-05 16:53:52 -06:00
jenkins-bot a2a6aabb6c Merge "Address cache related FIXMEs" 2021-10-05 22:20:12 +00:00
jdlrobson 95e3271e79 Address cache related FIXMEs
Follows up the sticky header search refactors
in caed16e

Change-Id: I5832bc04f0c675ff8bc1a00fff17b6b9f8399e6e
2021-10-05 21:53:09 +00:00
jenkins-bot ba00180eed Merge "Logo scales with font-size" 2021-10-05 19:21:04 +00:00
Translation updater bot 338a9eeb8b Localisation updates from https://translatewiki.net.
Change-Id: Ia78dc95a20961a2e1e838f01313b1816f90fa691
2021-10-05 08:31:29 +02:00
jenkins-bot bf3e17ab1c Merge "Replace getVectorMenu function with jQuery equivalent" 2021-10-04 19:00:45 +00:00
bwang 8758f87c4b Replace getVectorMenu function with jQuery equivalent
Bug: T292319
Change-Id: I9c9a179b3bcce9eccdf7037818823568f77f2b35
2021-10-04 17:55:49 +00:00
Translation updater bot 6960919063 Localisation updates from https://translatewiki.net.
Change-Id: Ib2b193edef177d4c02cbdeed7472fe74c8d4c78f
2021-10-04 08:58:36 +02:00
Translation updater bot d1b9eb9c04 Localisation updates from https://translatewiki.net.
Change-Id: I33e3809d051b3b694d52acaaf2ccf9d37eaf1a30
2021-10-01 09:31:34 +02:00
jenkins-bot 17ccb9ab3a Merge "Accommodate other sticky elements with sticky header" 2021-09-30 23:17:26 +00:00
Clare Ming e30c3408cf Accommodate other sticky elements with sticky header
- Update sticky header js to apply top offsets.

Bug: T289817
Change-Id: Id0e7bf7b018fbbfb2a9c1932314bf67f245b465d
2021-09-30 16:35:55 -06:00
bwang 405b52054f Update sticky header to be hidden to screen readers and not tabbable
- Adds aria-hidden="true" to the sticky header
- Adds tabindex="-1" support to Button.mustache and update sticky header button data
- Add tabindex to cloned user menu

Bug: T290201
Change-Id: I270db0485f08af310fb40365703da1efc07d3cb9
2021-09-30 09:47:57 -05:00
Translation updater bot cc8ff2170f Localisation updates from https://translatewiki.net.
Change-Id: Icd074626c3a6b649c3a8d91f1afc6bce79e3fa9c
2021-09-30 08:59:25 +02:00
jenkins-bot 74736571e7 Merge "templates: Move spaces into conditions for cleaner html" 2021-09-29 22:39:06 +00:00
jenkins-bot 8419d063cc Merge "Restore original more menu padding in legacy Vector" 2021-09-29 22:20:59 +00:00
jenkins-bot ac3382e91c Merge "Add scroll padding to the root element when the sticky header is enabled" 2021-09-29 22:18:05 +00:00
jdlrobson 4e8a3186a6 Restore original more menu padding in legacy Vector
One of the goals with desktop improvements is to not make any
visible changes to the original Vector skin.

In T289163 we wrapped links in a span, and moved the font-size
declaration to the span. The padding of the link is now applying
with font-size 16px.

Bug: T289163
Change-Id: Ifbf6f7a4c5cb6fda6389b33fc9962bdb03dd1f43
2021-09-29 21:33:38 +00:00
Nicholas Ray 1209b388e9 Add scroll padding to the root element when the sticky header is enabled
When the sticky header is visible, it has a global impact on the
scrolling UX. For example, it can undesirably overlap elements when the
user clicks on a jump link and when the user tabs through elements in
reverse order. Therefore, we need to add scroll padding to the root
element when the sticky header is enabled (when the feature flag is on
and at higher resolutions)

Known limitations:

* Scroll padding is supported by all the latest modern browsers except
for Safari [1]. This was considered an acceptable tradeoff with the
caveat that this decision may be revisited in the future as we learn
more about user interaction with the sticky header.

[1] https://caniuse.com/mdn-css_properties_scroll-padding-top

Bug: T290518
Change-Id: Ie5eb01d7eafd18ce740be620dfb5c8849386af6e
2021-09-29 14:25:26 -06:00
Umherirrender 5e4b0ef26a templates: Move spaces into conditions for cleaner html
When looking at raw html it always looks like something is missing when
there are trailing or leading spaces on attributes.
Just move the space into the conditions and it looks better.

Change-Id: I2a8d3246c43b8345eb819eae5887a39f68cfbdc0
2021-09-29 14:06:07 +02:00
Translation updater bot 67c309e27f Localisation updates from https://translatewiki.net.
Change-Id: Ibedf20d3ba84e86857e3785504147d09252d7469
2021-09-29 09:03:36 +02:00
jdlrobson e12fe1dbb0 Logo scales with font-size
Bug: T291895
Depends-On: Ie86a5b59fbf93a400796a4cac3724207830092b5
Change-Id: I194a11316e8ac68319f41c6a79b2c9cd081a4b66
2021-09-28 21:44:53 +00:00
Translation updater bot 253442da67 Localisation updates from https://translatewiki.net.
Change-Id: I46975cd7cc46cddf42b4d32bd08e65f4bbe33a34
2021-09-28 08:20:39 +02:00
jenkins-bot 20135a348e Merge "Wire up sticky header search feature" 2021-09-27 22:58:34 +00:00
jdlrobson 125ea5dea9 Wire up sticky header search feature
Bug: T289724
Change-Id: I784ea5eb12b6f43d19769ff48a14d3fd4627853c
2021-09-27 14:47:58 -07:00
jenkins-bot f9405739ed Merge "Vector menu items are wrapped in spans + improve Vector addPortletLink support" 2021-09-27 19:38:36 +00:00
Translation updater bot 6728104c3a Localisation updates from https://translatewiki.net.
Change-Id: I6a5cb922acdac0a8b59f16af9d037d9f68a87fc7
2021-09-27 08:38:15 +02:00
jdlrobson a6c0b21044 Vector menu items are wrapped in spans + improve Vector addPortletLink support
* In legacy Vector, menu items are now wrapped with spans. This
  consistency in HTML is required for splitting Vector into two
  different skins.
* Vector's portlet link items now support icons

Bug: T289163
Bug: T291722
Change-Id: I4464888983ac8b8b5f971e0c679dbeda09a61be5
2021-09-25 05:01:55 +00:00
jenkins-bot ce1888e6b6 Merge "Update anon user menu introduction link to be localized and not hardcoded" 2021-09-24 20:54:57 +00:00
bwang 8e35a09964 Update anon user menu introduction link to be localized and not hardcoded
Bug: T290813
Change-Id: I38bd95abbca0fea68a795986971da02ea25b1c36
2021-09-24 13:40:16 -05:00
jenkins-bot 84023ff39c Merge "Allow multiple search components on the same page" 2021-09-24 17:04:14 +00:00
Translation updater bot 205f343581 Localisation updates from https://translatewiki.net.
Change-Id: I5cd7a27694a9434f86ac6484da02af9eb083cec0
2021-09-24 08:27:24 +02:00
jdlrobson caed16e26f Allow multiple search components on the same page
Styling should not depend on IDs to allow us to have multiple
searches in the page.

Precursor for wiring up search in the sticky header.

This also tweaks performance metrics to track separate metrics
for the sticky header search

Change-Id: I5b4192a8f5a9f95af26c1faf904f7cc994323518
2021-09-23 23:23:58 +00:00
jenkins-bot 7bd31d0c8a Merge "Prevent gadgets from adding to the sticky header user menu via addPortletLink" 2021-09-23 21:46:04 +00:00
jenkins-bot 67cd5b7db3 Merge "Do not use User session in the constructor" 2021-09-23 19:25:04 +00:00
bwang a1f9122eed Prevent gadgets from adding to the sticky header user menu via addPortletLink
Bug: T291426
Change-Id: Ibe8837111011179245745c7b645f046efdbc6ee5
2021-09-23 12:17:55 -05:00
jenkins-bot 1adcb190f1 Merge "Defer to core for more template data" 2021-09-23 16:07:47 +00:00
Translation updater bot 6eceff747f Localisation updates from https://translatewiki.net.
Change-Id: Iea85c54f52b68db201d991174ee29550a515482d
2021-09-23 12:29:33 +02:00
Ammarpad 99930c4722 Defer to core for more template data
Bug: T289221
Depends-On: Ieb5398c3505602dfbf77d97f24f3d19f703924b8
Change-Id: Ib3ffe0b3f4fd7342b749cd827f40faa7a429bf23
2021-09-23 07:28:40 +01:00
jdlrobson d4befe8c39 Do not use User session in the constructor
This is going to be forbidden going forward.
The legacy lookup and overrides are deferred
until they are actually needed to keep the constructor
cheap

Bug: T289163
Change-Id: Ib23360e3439abc828404c1de8e0906915ee7d8b6
2021-09-23 01:36:42 +00:00
Ammarpad 2bcfac0f07 Remove redundant template data
These values are already provided in core

Bug: T289221
Change-Id: I36f5a22e3e866bc41502a9a53ec502b145955fbf
2021-09-22 19:18:05 +01:00
Translation updater bot 30c2da8ea8 Localisation updates from https://translatewiki.net.
Change-Id: Ibb7a26f53e9ed1e85d80b4a92e78ebb096f1975c
2021-09-22 08:12:25 +02:00
bwang 809a972676 Fix sticky header language button
- Fixes blank sticky header language button when no languages are present
- Adds arrow to sticky header language button

Bug: T289815
Change-Id: I36dc5fb0aad9c3ca1fced0d46e5167e8707f6731
2021-09-21 19:59:16 +00:00
Amir E. Aharoni 9afae1fcaf Update the wording of vector-language-button-aria-label
1. "Change article language" can be understood as changing the article
   itself. I'm changing it to "Go to an article in another language."
2. Remove comma splice.

Change-Id: I46c484129ecfda263603defe87c84906c1881c2b
2021-09-21 10:51:11 +03:00
Translation updater bot b049ccfc00 Localisation updates from https://translatewiki.net.
Change-Id: Iaecab14ab3ef2ae8f95a959f44cb681a2a238ae4
2021-09-21 08:10:52 +02:00
jenkins-bot 2fd714d833 Merge "Add aria-label to language dropdown menus" 2021-09-20 16:19:36 +00:00
jenkins-bot 5eea8cff03 Merge "Restore legacy new (red) link in legacy Vector to `#ba0000` & `#a55858` for visited" 2021-09-20 15:58:43 +00:00
jdlrobson 5919a26949 Restore legacy new (red) link in legacy Vector to `#ba0000` & `#a55858` for visited
Given we don't want to change the color in modern Vector we must rely on this
ugly hack to change the link color.

This can be revisited when Vector has been split into two skins
which can use 'mediawiki.skin.variables.less'.

Bug: T288739
Change-Id: I17401f897dce4e6adca9d05008899d28ff02517c
2021-09-20 13:13:48 +00:00
Translation updater bot 04e4b7e70d Localisation updates from https://translatewiki.net.
Change-Id: Iaed8e7fe96851b0d80d9234591c26b2c24d9f9b1
2021-09-20 08:21:46 +02:00
jenkins-bot 2f02c28258 Merge "Restrict sticky header to specified namespaces" 2021-09-17 19:27:25 +00:00
jenkins-bot fe953ae505 Merge "Fix aria-expanded status for user menu" 2021-09-17 19:27:22 +00:00
Clare Ming bdad84a7c9 Restrict sticky header to specified namespaces
- Hardcode allowable namespaces, actions for now in relevant js.

Bug: T290347
Change-Id: If482505be5de4b3e5bf130530f27f0d917ecaaa0
2021-09-17 19:07:04 +00:00
bwang d9a002574c Fix navigation menu h2 from showing in legacy Vector
Restores code removed in 50d866dc

Bug: T291264
Change-Id: Ibcdcd0a2dc31a0cdcfa570901765207dc729af6e
2021-09-17 15:03:21 +00:00
Translation updater bot f258da947d Localisation updates from https://translatewiki.net.
Change-Id: Icae8127f709c972a7b7b204520777afd03e7fb3d
2021-09-17 08:47:18 +02:00
bwang b295ccc931 Fix aria-expanded status for user menu
The user menu dropdown was announcing to screenreaders as "Personal tools expanded collapsed". This is due to the core icon classes causing the spans to be display: block. This patch adds !important to the relevant display styles to ensure the statuses are always read out correctly

Bug: T253650
Change-Id: I0b51af5da98af1bd0c0029db54420e395242842d
2021-09-16 13:48:26 -05:00
Translation updater bot adba7af0e3 Localisation updates from https://translatewiki.net.
Change-Id: Ifd0d0b907d100e3db1170ca9273fe4e8fb25a6a6
2021-09-16 08:13:13 +02:00
Clare Ming bdc8852a1c Add aria-label to language dropdown menus
- Update portlet data.
- Update menu template.
- Add translatable strings.

Bug: T289523
Change-Id: I9b8f40843609c0192afdabd3117167b933155842
2021-09-15 12:25:23 -06:00
jenkins-bot 3c894154df Merge "Improve heading structure and heading semantics by removing redundant headings and labels for modern Vector" 2021-09-15 16:43:41 +00:00
Translation updater bot 4c8cd0c6b6 Localisation updates from https://translatewiki.net.
Change-Id: Ib1e92f783b3449140e7175f548527a28485327e3
2021-09-15 08:16:44 +02:00
Nicholas Ray 93745e4800 Add search to sticky header
Per T289724#7342741, server renders an anchor tag pointing to #p-search
into the "button-start" bucket of the sticky header.

In the future after T289718, this anchor will then acts as a button when
the search module is loaded and searchToggle executes.

* skins.vector.search was modified to accomodate instantiating multiple
search components (one in the main header and one in the sticky
header).

* searchToggle.js was modified to accept a searchToggle element as a
param which the caller can then instantiate when ideal. For the sticky
header toggle, this needs to happen *after* the search module loads.
Before then, the toggle will act as a link.

* Drops one jQuery usage from searchToggle so that it can be jQuery
free. Because the native .closest method is used, IE11 support is also
dropped. However, the script feature detects and returns early if the
API isn't available.

* Makes App.vue accept an `id` prop so that multiple instances of it can
be created.

Bug: T289724
Change-Id: I1c5e6eee75918a0d06562d07c31fdcbd5a4ed6d5
2021-09-14 16:58:07 -07:00
jdlrobson f271c86238 [refactor] DRY up attribute suffixing
This makes the code more readable and allows us to apply
the suffixing in other places in the sticky header.

Change-Id: I44008c18a3faea2089bc93eb5ce7fea1cad1aaec
2021-09-14 23:34:48 +00:00
jdlrobson 21a21f7e93 [refactor] reduce usages of typescript type declarations
While needed for cloned elements, others can be avoided by
using more general Element class

Change-Id: Iaee121a9f746e9729b5ecbdec80915bf05c11655
2021-09-14 23:34:36 +00:00
jenkins-bot 8f2a5c58f2 Merge "Add history and talk page icons to sticky header" 2021-09-14 23:26:06 +00:00
jenkins-bot 056ec56208 Merge "Clean up for adding title to sticky header" 2021-09-14 22:22:01 +00:00
jenkins-bot bd1dab6bb8 Merge "[Storybook] Add Header component" 2021-09-14 21:45:53 +00:00
Clare Ming 5ec728ec60 Clean up for adding title to sticky header
- Update styles for fade out.
- Remove unused styles.

Bug: T289814
Change-Id: I0bdbaf1a1f0306d47df83f61811b0c85056415e0
2021-09-14 15:10:46 -06:00
jdlrobson 52204c0f1a Add history and talk page icons to sticky header
Bug: T290597
Change-Id: Ib590399df09a9da8e181b331d4227b0de30b9a8e
2021-09-14 12:34:47 -07:00
jenkins-bot b7ef3d9a0e Merge "Add page title to sticky header" 2021-09-14 19:31:33 +00:00
jenkins-bot 53d1508f62 Merge "Add user menu to sticky header" 2021-09-14 19:23:13 +00:00
Clare Ming 3362e62ef2 Add page title to sticky header
- Fade out after 500px.

Bug: T289814
Bug: T290596
Change-Id: Ice3054f417707261d7c06769cb92aa170cfadba1
2021-09-14 19:12:29 +00:00
Clare Ming 755f10cd0b Add user menu to sticky header
- Remove unused button, data from sticky header.
- Simplify template to leave sticky user menu placeholder.
- Update js to clone user menu with new ids.
- Include gadget-injected items in sticky user menu.

Bug: T289816
Change-Id: I23fde537efc2a66a2df22cd2633fbab034b73eb6
2021-09-14 12:57:08 -06:00
jdlrobson ad5c127239 [Storybook] Add Header component
* Moves screen variables relating to Header to Header
* Adds a Header storybook entry
* Moves data-logo from Logo template to Header.mustache
* Updates UserLinks to use USER_LINK_PARTIALS
* Renames confusing SearchBox story names
* Updates package.json to use a static folder.
* Use mediawiki.org for sourcing mw-ui-button and mw-ui-icon styles
since deploys there come earlier
* Removes usages of ID selectors

Change-Id: I0e158fa7e62c56a50cfff497d75f0808effd1eed
2021-09-14 18:33:10 +00:00
bwang 687c6a50d8 Improve heading structure and heading semantics by removing redundant headings and labels for modern Vector
- Apply aria-hidden to h3 in Menu template, ensuring the nav landmarks are still properly labeled, but no longer reading duplicate labels to screenreaders
- Remove "Navigation menu" h2 element, which is not needed as the nav landmarks are already labeled
- Remove searchbox h3 element, which is redundant with the search landmark
- Scope all changes to modern vector

Bug: T265993
Change-Id: I4e5da7a0699160fa57234bd126b75243e0157778
2021-09-14 10:47:05 -05:00
Nicholas Ray 326e11dfbf Scope styles that should only apply to the main header to Header.less
We have many styles related to the layout and visibility of search that
are only useful in the context of the main header. Since many of these
elements have classes that will also be in the sticky header, we should
scope these rules to the main header so that we avoid an uphill battle
of styles trying to override eachother.

Additional changes:

* We previously had a mix of #p-search and .vector-search-box selectors
for the same element in the CSS. Header.less now only uses
.vector-searchbox to avoid specificity wars.

* Removed nearly all of the #p-search rules previously found on L147 -
L167 in screen.less after observing nothing relatively bad happening
when they were removed.

Bug: T289724
Change-Id: I2e6c269e29717cd20d8acfaddc3631ea1b8fedfa
2021-09-14 15:34:05 +00:00
Translation updater bot 1a56dbb8c4 Localisation updates from https://translatewiki.net.
Change-Id: I6ca0de5f93273df25d24e531c7654eefaf04b826
2021-09-14 08:34:45 +02:00
Volker E f68dab62a6 Remove obsolete code for non-supported browsers
As we continue to live with software like 2010 wikitext editor for
a chunk of our users in foreseeable future, let's at least remove some
obsolete code sent down the wire.
Note that I haven't touched this code as part of If51f20137a00, but
when thinking about this again while doing a final code search
it seems appropriate to remove this the highly customized code
here in contrast to normal 'library' styles.

Bug: T258766
Change-Id: Id4993dcb5b5be6a399800d9c07e26ebe145a8372
2021-09-13 15:24:11 -07:00
jenkins-bot 6a0607afdf Merge "Inherit link colors from core variables and override @color-link-new" 2021-09-13 18:23:06 +00:00
jdlrobson 0238078aaf Inherit link colors from core variables and override @color-link-new
Vector should use the variables defined in core for red links

Bug: T288739
Depends-On: I799b46664f01c5631fb9d1ae4f5c43caeeaac818
Change-Id: Idcf5a54d76a1343d3407821b8a5b8d8ece8af9d0
2021-09-13 17:56:26 +00:00
jenkins-bot 82832b137a Merge "Remove disable dropdown behavior" 2021-09-13 07:05:25 +00:00
Translation updater bot 95faa643b3 Localisation updates from https://translatewiki.net.
Change-Id: I1b3d26c3e5be0134b3189a1e344c64576cc8ed03
2021-09-13 08:32:47 +02:00
libraryupgrader 1a54f2daa8 build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: Icdd62e1e68c64f0137b11d1aeae5def531abac1d
2021-09-10 22:54:21 +00:00
Translation updater bot 2cbaa646ac Localisation updates from https://translatewiki.net.
Change-Id: If7f5871baeb47a694bd48bcae751169d262f4888
2021-09-10 08:17:16 +02:00
jdlrobson 31dba307ed [refactor] SearchBox uses Icon template partial
Change-Id: I8ff49b85dd2151618e48251e0fc38152a50ca381
2021-09-09 18:57:37 +00:00
Translation updater bot c97591189d Localisation updates from https://translatewiki.net.
Change-Id: I6b26a9165a12862012099563ab072ebc48e97a64
2021-09-09 08:19:47 +02:00
jdlrobson 0be41f3414 [storybook] ButtonAndIcons should use Button template
Change-Id: I391cd6b3f9d167c1ff659bba6a5e12be7ff9a439
2021-09-08 19:32:31 +00:00
bwang 62149265e9 Add ULS to sticky header
- Rework Icon template into Button template to support all button variants
- Update ULS helper functions in SkinVector
- Update StickyHeader template to use the new Button template
- Update Storybook

Bug: T289815
Depends-on: Iba6cbbd6c6e48a1abfda342421822e3ff2715362
Change-Id: I718b3e05a988e20beb82d599e4168d497fa4c299
2021-09-08 12:39:55 -05:00
Translation updater bot e33d2aa335 Localisation updates from https://translatewiki.net.
Change-Id: Ia025e615230f23d19230723f5e022a41a9adb37c
2021-09-08 08:11:54 +02:00
jenkins-bot 6a1783eacc Merge "Make sticky header functional/visible" 2021-09-07 22:38:24 +00:00
jenkins-bot 084aec1e38 Merge "[storybook] Document button usage and update broken stories" 2021-09-07 22:34:14 +00:00
Clare Ming e639c9287d Make sticky header functional/visible
- Show sticky header after bottom of first h1.
- Hide sticky header before bottom of first h1.
- Add media query for reduce motion preference.

Bug: T290101
Change-Id: I2b1ecd31ac360a1ef5bf2f016978d6e0665a316c
2021-09-07 16:10:21 -06:00
jdlrobson 3ed167f318 [storybook] Document button usage and update broken stories
* add stories for buttons and icons using wvui and mwui
* Update user link stories
* Add the vector-menu-dropdown-noicon class to more and
variants menu
* Fixes the language button story and simplifies its code.
* Updates Hooks::makeButtonIcon to Hooks::makeIcon which
reflects the method purpose more. It doesn't output button
classes.

Bug: T289514
Change-Id: Ifd750da0c0181ec56f39ff00d653e88bfc848038
2021-09-07 21:23:33 +00:00
jenkins-bot 9e9f3ec0cd Merge "[refactor] Remove common UserLinks code" 2021-09-07 16:31:18 +00:00
jdlrobson ff8e29d240 [refactor] Remove common UserLinks code
There is no common UserLinks code. These styles serve
legacy only.

Bug: T288852
Change-Id: Ied191bc1bc5dbd48491fa285b5def265c7d5262d
2021-09-07 15:37:13 +00:00
Translation updater bot df4717abec Localisation updates from https://translatewiki.net.
Change-Id: I70261e7ae11ef5b2e20b1f8360b3bb4ad3c87b1c
2021-09-07 08:12:19 +02:00
Translation updater bot a4ec24d7bc Localisation updates from https://translatewiki.net.
Change-Id: I70b3f62ee9c448ce47f3308abd4aa1724a9b7993
2021-09-06 08:23:15 +02:00
libraryupgrader aaac2ba4b7 build: Updating stylelint-config-wikimedia to 0.11.1
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list

Change-Id: I5252d63ec939a711022844ed9e4c2d247e154820
2021-09-04 17:38:00 +00:00
jenkins-bot 9ffb6cb044 Merge "Restrict sticky heaader visibility" 2021-09-03 21:05:17 +00:00
Clare Ming af317dbc58 Restrict sticky heaader visibility
- Hide if javascript disabled.
- Hide at lower resolutions.

Bug: T289714
Change-Id: I0c669c7fc46fda7bf5055d20cc1cd54d472a9330
2021-09-03 14:19:24 -06:00
jdlrobson 0a47c667d8 Skin style for ULS no longer needed
Fixes upstream in ULS (Ie9e30af5468aea9803d77c9a36e480ba2b2e86a0)
mean these are no longer necessary

Bug: T289630
Change-Id: I1edee874a42b070bc319648496ae80a01b6365fb
2021-09-03 20:13:24 +00:00
jenkins-bot fed987d079 Merge "Simplify how we generate icons and button classes in Vector" 2021-09-03 19:54:03 +00:00
jdlrobson b88f2970f7 Simplify how we generate icons and button classes in Vector
- Separate icon classes from button classes in user links/language
- Upgrades the personal tools language button preference to
a mw-ui-button with icon
- Adds a generic selector for dropdown menus without an icon
- Cleans up user links CSS now mw-list-item class is available
- Removes icon hack CSS

Bug: T289630
Bug: T283757
Change-Id: Ib518858e06549f252d73d57fd4768f446cc561b9
2021-09-03 19:25:31 +00:00
jenkins-bot 70c43d38d4 Merge "Add userGroup to skins.vector.icons" 2021-09-03 18:16:23 +00:00
Martin Urbanec 71539a7cc6 Add userGroup to skins.vector.icons
Will be used as part of Growth's mentor dashboard.

Bug: T289054
Change-Id: I0055890dcdb451e60b7176069bfcee8f3c8fa886
2021-09-03 14:37:29 +02:00
Translation updater bot 7074d990a6 Localisation updates from https://translatewiki.net.
Change-Id: I814d24544607b4c71a71ab3e58c6e0b181110eda
2021-09-03 08:16:26 +02:00
jenkins-bot 2efbbc7af8 Merge "Do not hard code Special:Search" 2021-09-02 21:53:10 +00:00
jdlrobson 520dfd2260 Do not hard code Special:Search
Bug: T287540
Change-Id: I234acbaa2cce8f43653507b4298090c50451699d
2021-09-02 20:20:56 +00:00
Nicholas Ray 1ab4600e4d Add 'is-language-in-header' key back in
Looks like this was an unintentional deletion from

I16223ce849267e718aad22b8a24b2327332ac8b7

Change-Id: I56350d7e936b4d179c1bd12376ffebf295897a99
2021-09-02 13:56:59 -06:00
Translation updater bot 877e001ea9 Localisation updates from https://translatewiki.net.
Change-Id: Ib2edf09d9700c012eead088de575bbd2a1a1fc6a
2021-09-02 08:28:23 +02:00
Clare Ming 21c45837ef Spoof aria-expanded for dropdown menus using checkbox hack
- Mimic expanded/collapsed state of menu without JS.
- Update template, styles, i18n to make accessibility of dropdowns accurate.

Bug: T253650
Change-Id: I58ecebf520d6107554dbb81470dee69a5d4a7f1d
2021-09-01 16:12:26 -06:00
jenkins-bot 94d135ecfa Merge "Build the sticky header skeleton" 2021-09-01 20:35:21 +00:00
jdlrobson 8657171471 Build the sticky header skeleton
The sticky header is currently disabled unconditionally
and nothing is wired up, with placeholders for data and
functionality which will be added in future.

Bug: T289716
Change-Id: I16223ce849267e718aad22b8a24b2327332ac8b7
2021-09-01 12:32:31 -07:00
jenkins-bot c34ba94a94 Merge "Set responsive max-width on username in header" 2021-09-01 15:01:46 +00:00
Translation updater bot 3f5abe98e0 Localisation updates from https://translatewiki.net.
Change-Id: I880ec5478d26f3b2088f2212566661ca3eb5e1bd
2021-09-01 08:18:13 +02:00
Nicholas Ray 5ca9d00d55 Set responsive max-width on username in header
Per T287522#7295558, the username should have a computed max-width of
200px above 1200px and a max-width of 155px below 1200px.

Additional changes:

* Use flex-wrap: nowrap on header instead of wrap. I think the former
may have been an unintended consequence of the consolidated links
feature flag clean up.

* Use core's text-overflow mixin for both the username and the usermenu
items

* Change the user menu's max-width to use relative units

Bug: T287522
Change-Id: I536e6371f85ccde75673af46c7667eb447eff081
2021-08-31 17:06:35 -06:00
jdlrobson c8dd4e9ed1 Remove disable dropdown behavior
Now that we bind the ULS dialog to the checkbox element,
(see c08ae11) the default behaviour of the checkbos is prevented,
so it is impossible for the dropdown to ever
be shown when ULS is enabled and clicked so this code no longer
serves any purpose.

Depends-On: I97a69c30b27cb1ded06451389e086229561c3589
Change-Id: Ic9d03dea12ee8bb2d7430eccd70e4343e3805d36
2021-08-31 20:53:41 +00:00
jenkins-bot 3ff5e1b6a4 Merge "Update ULS button states to be consistent with other quiet buttons" 2021-08-31 19:44:15 +00:00
bwang c08ae1152e Update ULS button states to be consistent with other quiet buttons
- JS-enabled ULS button gets a focus state by moving the ULS click handler to the Menu checkbox instead of the h3, and unhiding the checkbox
- JS-enabled ULS button no longer gets a darker background when the menu is open (ULS default style)
- JS-enabled and no-js ULS buttons both rely on mw-ui-button and mw-ui-quiet classes for focus/hover/active states
- Old styles and skinStyles are removed

Bug: T283757
Change-Id: I66073d6128a27afbd80a7adcff03cc7fcefa9556
2021-08-31 10:59:59 -05:00
Translation updater bot c2f7dd92d9 Localisation updates from https://translatewiki.net.
Change-Id: I0e63c84b56d3b8f3c354318048b7714f43c7f30d
2021-08-31 08:17:46 +02:00
Nicholas Ray a35b21d2cf Correct positioning of search icon before WVUI loads
WVUI sets the icon as `left: -11px` [1]. Vector should do the same to
ensure the icon doesn't move when WVUI loads. Also set top and bottom
properties to zero so that the height of the icon's container is the
same as in WVUI (32 px).

[1] https://phabricator.wikimedia.org/F34622194

Change-Id: I73fa55f9013dc1bdd51581d357109d4817638d91
2021-08-30 16:59:12 -06:00
jenkins-bot a068d6125d Merge "Template directory is set in skin.json" 2021-08-30 17:43:50 +00:00
Translation updater bot 4380ea018a Localisation updates from https://translatewiki.net.
Change-Id: I25c45b4915c5036e34e43e9686ea00d94e76e486
2021-08-30 08:22:12 +02:00
jenkins-bot fef51f9023 Merge "Improve readability of anon user menu for screenreaders" 2021-08-27 20:36:16 +00:00
jdlrobson 3435f8fd9b Template directory is set in skin.json
Thanks to the upstream changes in T262067 we can make this template
directory relative to the skin and declare it inside skin.json

Bug: T262067
Change-Id: Ieccdf87979d14eeec0834b6b0cecf064d5fd9cfc
2021-08-27 17:36:28 +00:00
Translation updater bot d7c25a14db Localisation updates from https://translatewiki.net.
Change-Id: I0c38ed77447956768616132219870c064c9307ef
2021-08-27 08:45:51 +02:00
jenkins-bot 73e8d0ebc3 Merge "Remove user links feature flag" 2021-08-26 18:49:29 +00:00
bwang d15005408f Improve readability of anon user menu for screenreaders
Bug: T288293
Change-Id: I10ca58aa492447f179c0ce12eabc0cd1ce4e9d9b
2021-08-26 12:58:10 -05:00
Clare Ming 1efe0a4203 Remove user links feature flag
Update/remove config, constants, hooks, templates, styles, logic, tests, stories to check legacy vs modern Vector where applicable instead of the decommissioned user links feature flag.

Bug: T288852
Change-Id: I5c5831091a10711838a8a2877c782df4996d4596
2021-08-26 10:07:15 -06:00
Translation updater bot 4f444b031f Localisation updates from https://translatewiki.net.
Change-Id: I0b8823c0385e11c82d89e78dd523f9d2264a392f
2021-08-26 08:39:20 +02:00
jenkins-bot 30cdc5894e Merge "Do not show create account link for private wikis." 2021-08-25 21:40:46 +00:00
jenkins-bot 6e6be4fbf5 Merge "Replace deprecated CentralIdLookup::factory" 2021-08-25 21:31:27 +00:00
jenkins-bot 7afd480266 Merge "Add title attributes to menu icons on hover" 2021-08-25 21:25:17 +00:00
Clare Ming cd2a186469 Do not show create account link for private wikis.
- Add conditional to check for 'createaccount' permissions based on config.
- Update relevant template to show/hide create account markup.

Note that this solution excludes the use case of extensions using core hooks
to disable account creation. See https://phabricator.wikimedia.org/T288428#7303233.

Bug: T288428
Change-Id: I89852207ee42f5ddd07e5dd6141461c6bfbcd5ac
2021-08-25 21:23:49 +00:00
Clare Ming 3dccc74b4b Add title attributes to menu icons on hover
- Add title attribute to Header template for hamburger icon.
- Override tooltip for user links menu icon for anon users.
- Make sure tooltips are empty for legacy version.
- Add translatable strings for new tooltip, title.

Bug: T287494
Change-Id: I84ce6a1eb2a37eb9ea71a40c565c059d156a44ba
2021-08-25 13:20:22 -06:00
TChin a841713f35 Replace deprecated CentralIdLookup::factory
Bug: T289713
Change-Id: Icba4d81d66a40012658172929ed4e015c074b903
2021-08-25 13:58:49 -04:00
jenkins-bot 92e034fbe7 Merge "[refactor] Clean up responsive handling" 2021-08-25 16:17:20 +00:00
libraryupgrader 6a2f7a5d63 build: Updating npm dependencies
* path-parse: 1.0.6 → 1.0.7
  * https://npmjs.com/advisories/1773 (CVE-2021-23343)
* url-parse: 1.5.1 → 1.5.3
  * https://npmjs.com/advisories/1776 (CVE-2021-3664)

Change-Id: I6945dcb93475ce199f1a105fa525e555b5d8f94b
2021-08-25 14:46:31 +00:00
jenkins-bot 967962cb51 Merge "Add imageGallery icon for UploadsLink and ContentTranslation menu links" 2021-08-24 18:08:00 +00:00
bwang d9dadf4a83 Add imageGallery icon for UploadsLink and ContentTranslation menu links
Bug: T288541
Change-Id: I9b71869c84c9745abbe233b11bb662aa0d4bb987
2021-08-24 16:57:27 +00:00
jenkins-bot af2a64d140 Merge "Update vector menu hide dropdown class to use BEMish convention." 2021-08-24 15:54:03 +00:00
Clare Ming 129bf5c350 Update vector menu hide dropdown class to use BEMish convention.
- Keep double-dash class name for cached HTML.
- Update instances of renamed class in less + js.

Bug: T253671
Change-Id: Ieb1ce630e8fa84167e2ca8497f66a20183fdaf90
2021-08-24 15:33:41 +00:00
Translation updater bot ea840ed7b3 Localisation updates from https://translatewiki.net.
Change-Id: I975f58ef2e2ff26ded4225116bf9468852f24148
2021-08-24 10:27:49 +02:00
jdlrobson 391d9ba509 [refactor] Clean up responsive handling
There is no need for this to be in the constructor. Separate into
its own function that inherits from parent class and existing parent
method isResponsive.

Change-Id: I60d155ec9db99ccfe0b74271dee76275a8a6986c
2021-08-23 15:59:15 +00:00
Translation updater bot d6778948da Localisation updates from https://translatewiki.net.
Change-Id: I054b78422c3e595b32c1a90d340cfa16c9f7dcf0
2021-08-23 09:06:03 +02:00
Translation updater bot c8ea221555 Localisation updates from https://translatewiki.net.
Change-Id: Icfdf57bdf841a9b8cfc45cbdd46e5a3d9b3ff876
2021-08-20 08:25:44 +02:00
Translation updater bot 6e4ce42fa1 Localisation updates from https://translatewiki.net.
Change-Id: Ife0d68455e87684c61dc1b259da29eb66e4b5df6
2021-08-19 08:15:16 +02:00
bwang a50b1db793 Replace deprecated 'content' and 'content-thumbnail' features with 'content-media'
Bug: T287410
Change-Id: Iab67cedd67a03420b9204c92549f616d63266497
2021-08-18 19:08:10 +00:00
Translation updater bot 95af98644c Localisation updates from https://translatewiki.net.
Change-Id: Ib7d87bbd199abdace98d1ddba4c1ba419d67f7bd
2021-08-18 08:14:48 +02:00
Translation updater bot ce8cd44b0e Localisation updates from https://translatewiki.net.
Change-Id: I0673cbf87e619d4409bfbc8ee908749f5425798f
2021-08-16 08:18:32 +02:00
jenkins-bot 7053d84941 Merge "Revert "Add wikibase skin style"" 2021-08-13 21:40:13 +00:00
Jdlrobson b7464135cc Revert "Add wikibase skin style"
This reverts commit c595cc5106.

Reason for revert: Doesn't work. Must be done inside Wikibase extension.
See Ic576d8de9377813f7fe2d48841c1b6f303579728

Bug: T287206
Change-Id: I9904a72e4965a4124e4784501a3b4e77167a2971
2021-08-13 21:18:53 +00:00
jenkins-bot 040cbb7dc4 Merge "Use the search title if configured" 2021-08-13 18:11:07 +00:00
jenkins-bot 1c93c90902 Merge "Use centralized MediaWiki typescript definition" 2021-08-13 17:23:44 +00:00
jenkins-bot ed3abdd4c4 Merge "Add wikibase skin style" 2021-08-13 16:12:46 +00:00
Translation updater bot e02f0d72ad Localisation updates from https://translatewiki.net.
Change-Id: I4a500f5a6b3544391676603cb4ff6e70babea739
2021-08-13 08:20:39 +02:00
jdlrobson c595cc5106 Add wikibase skin style
Bug: T287206
Change-Id: I6e38ad106eeaaafba21ac55b067be00b8d2a0972
2021-08-12 21:28:38 +00:00
bwang 21c273af1f Override user menu line height
Bug: T288540
Change-Id: I30810de5ba36e082a4e8a1f6f93f34c99344dae8
2021-08-12 19:56:05 +00:00
Translation updater bot 15a0ce8c57 Localisation updates from https://translatewiki.net.
Change-Id: I8acabc29bcad2ac4621e5e47b18259f99f59f552
2021-08-12 08:10:52 +02:00
jenkins-bot 5eed693afb Merge "Copy class across to new language link item" 2021-08-11 21:52:33 +00:00
Translation updater bot 80034ce13d Localisation updates from https://translatewiki.net.
Change-Id: I16f545ebe537e6b2ccd604fbf073817362665e50
2021-08-11 08:20:40 +02:00
jdlrobson 5a0214afc9 Copy class across to new language link item
If the Vector code runs before the Wikibase code,
the Wikibase code will not work as the CSS selector
will no longer match.

Bug: T287206
Change-Id: I8555b60f2463ad19efadd57bccbb91ae4e2cc528
2021-08-10 13:17:30 -07:00
Sam Smith e6e2120099 Fix language treatment A/B test bucket counting
Register a temporary requirement that is configured the same as the
"LanguageInHeader" requirement. Pass that requirement a custom
configuration, in which the language treatment A/B test is always
enabled. Increment the bucket corresponding to whether the requirement
is met.

Supporting changes:

* Add a version to the base bucket name and set it to 2

Bug: T286932
Change-Id: Ic639687237074a13e7feb3c9084a35db0e5cb902
2021-08-09 19:48:38 +01:00
Translation updater bot 000f20213e Localisation updates from https://translatewiki.net.
Change-Id: I55553256b2706250ec5707a3eeb8c86f5ec19a3f
2021-08-09 08:27:48 +02:00
jenkins-bot aec29ebc2d Merge "Update UserLinks and SearchBox storybook stories to match prod" 2021-08-06 22:49:34 +00:00
bwang ade631ad40 Add max-width and text-overflow: ellipsis to Echo alert with modern user links
Bug: T287996
Change-Id: Ifcce663e86b5cf9162fa7ed20568ec83045ba998
2021-08-06 15:59:39 +00:00
bwang 7aeda662a5 Ensure emptyPortlet class cannot hide user links menu
Bug: T28819
Change-Id: Ia477439f28d5a3ac98cfc28385f179ca72946c26
2021-08-05 13:38:17 -05:00
jdlrobson aebb3fb522 Use the search title if configured
Allow commons to use Special:MediaSearch

Depends-On: 	I37b9d3a2b263f496a283f4bfdc769b7dc880ab06
Bug: T287540
Change-Id: I2a2463d704ef5b2264574cdf186836ba00a639f5
2021-08-05 15:45:41 +00:00
bwang d1f1f32418 Update UserLinks and SearchBox storybook stories to match prod
- Update UserLinks data to wrap link content with spans and other markup changes
- Use UserLinks__login.mustache and UserLinks__logout.mustache for rendering UserLink stories
- Add new SearchBox story to account for search collapse behavior in modern Vector

Change-Id: Ib0abce31db60a0c5c88dea17085e2974ac5112b5
2021-08-05 10:08:31 -05:00
Translation updater bot bf68ce9555 Localisation updates from https://translatewiki.net.
Change-Id: I001de93d9ae1ec887c78abe6a808cab657e0a99d
2021-08-05 08:24:08 +02:00
jenkins-bot 78223873e3 Merge "Add sticky header feature flag, query param, and class" 2021-08-04 20:02:09 +00:00
bwang 46d98c90f4 Add sticky header feature flag, query param, and class
Bug: T284463
Change-Id: I520832fa1e0a66bb24479e47c8e8f8011e514299
2021-08-04 18:49:56 +00:00
jenkins-bot 100e8281d0 Merge "Add max-width to user menu and text-overflow: ellipsis" 2021-08-04 16:15:45 +00:00
Translation updater bot b0129f1d27 Localisation updates from https://translatewiki.net.
Change-Id: Iece19f1a1a67f369c2e5c203052cc7115ad8429f
2021-08-04 08:16:31 +02:00
Nicholas Ray 8c36871f1b Add max-width to user menu and text-overflow: ellipsis
When implementing how to cut overflowing text, a white fade out was
considered instead of an ellipsis, but that implementation brings
additional complexity when considering the user menu's hover states.

Therefore, the widely used `text-overflow: ellipsis` was used instead
with approval from the designer [1]

[1] https://phabricator.wikimedia.org/T287522#7255400

Bug: T287522
Change-Id: I49e6084bd621ca1637fbd167c8eaf8c07ee695ca
2021-08-03 16:59:52 -06:00
jenkins-bot 65ea203549 Merge "Remove 'legacy' feature" 2021-08-03 18:28:28 +00:00
bwang 58c87018b2 Remove 'legacy' feature
Bug: T287410
Change-Id: Ibf8c20cfb1c3adb262224a28488c03c64323f509
2021-08-03 11:06:36 -07:00
jenkins-bot 5d944a6300 Merge "Do not rely on load order for disabling language button fallback" 2021-08-02 21:56:38 +00:00
Translation updater bot ddd46f74b1 Localisation updates from https://translatewiki.net.
Change-Id: Ia920ec04c03ab1bd7b0c592e9185baff3275ca55
2021-08-02 08:39:14 +02:00
Translation updater bot 76d4db9532 Localisation updates from https://translatewiki.net.
Change-Id: I494a9982877f2f87cb6833e549bdd062a2725912
2021-07-30 08:29:13 +02:00
jenkins-bot 4974d7d595 Merge "Run Vector's SkinTemplateNavigation hook last" 2021-07-29 23:42:03 +00:00
jenkins-bot 5ef8aa9853 Merge "Tests should use Universal hook" 2021-07-29 18:50:27 +00:00
jdlrobson d0c41d1dfc Run Vector's SkinTemplateNavigation hook last
Depends-On: Iec99be92378dc1a43f39428caffc03e1f594a927
Bug: T287533
Change-Id: I7d840d047627108a0a921ea52d5cb4bd06f36ab5
2021-07-29 14:27:28 +00:00
Translation updater bot 3493f85c8a Localisation updates from https://translatewiki.net.
Change-Id: I5e1eb570061e2b4bd489c5fe204b6e8d91c49df7
2021-07-29 08:46:31 +02:00
jdlrobson 85ffc0805e Do not rely on load order for disabling language button fallback
Some code disables the dropdown behaviour when ULS is loaded, however
it does not always appear to be working as the `ext.uls.interface`
module may be loaded for other things unrelated to the compact
languages link button.

The safest thing to do for now seems to be to check the configuration
flag wgULSisCompactLinksEnabled. In future, perhaps a hook event could
be added to ULS and that could be subscribed to instead.

Bug: T287191
Change-Id: I0cf8d387919078aabc9e77a0a452f8b3364016ee
2021-07-28 16:59:48 -07:00
jenkins-bot d3f09a1c3d Merge "Fix padding/positioning of the user menu orange talk message notification" 2021-07-28 23:09:09 +00:00
Nicholas Ray f62e1997f5 Fix padding/positioning of the user menu orange talk message notification
The padding-top of the orange notification set in
ext.echo.styles.alert.less was being overriden by the `padding-top: 0`
set in UserLinks.less which was intended to only override the padding
set in Menu.less.

This commit:

* Scopes the li styles in Menu.less to apply only to the legacy user
menu (found in both legacy and modern vector with the consolidated user
links feature off) which appears to be the only menus that needs these
rules.

* The padding-top previously in UserLinks is no longer needed as a
result of the above point.

* Adjusts/cleans up the positioning of the orange notification by
removing an unneeded margin/padding-top and setting the top to 100% (the
previous `calc` statement was unintentionally resulting in 112%).

Bug: T287633
Change-Id: Ia7069d291f53d8e0e0e576d7b96b7a8b1a6cb29d
2021-07-28 16:35:08 -06:00
jenkins-bot 7ebd1ddc92 Merge "Remove duplicate login button from user links user menu." 2021-07-28 22:02:06 +00:00
Clare Ming 27996c496b Remove duplicate login button from user links user menu.
Bug: T287585
Change-Id: I8f040be7f76911ca05268981b270e2eb44b2ff96
2021-07-28 15:32:25 -06:00
Clare Ming f89a5b2d0b Add statsd counter for languages A/B test
Bug: T286932
Change-Id: I86ef358bfd5316e1f89fb1fde16f1cddade4d211
2021-07-28 13:26:45 -06:00
jdlrobson c000fa9a2a Tests should use Universal hook
The existing hook does not allow modification of variants which
will soon change.

Bug: T287533
Change-Id: I8969296c64875d58e3c7ea95f6b567916f82d8a7
2021-07-28 11:07:42 -07:00
Nicholas Ray 7205a0b8e3 Fix user menu "learn more" link spacing
Per the design spec of T287523 and T285786.

Bug: T287523
Change-Id: Icdfc6dca19b83fcc54352c9f4a8c15e1f1bd640f
2021-07-28 09:52:45 -06:00
Translation updater bot ed493798f9 Localisation updates from https://translatewiki.net.
Change-Id: I9f1be118a458f3652635b1331cded1a00a76e8a8
2021-07-28 08:22:17 +02:00
jenkins-bot 7881d8e651 Merge "Restore print, links, table and message box styles" 2021-07-27 21:45:16 +00:00
jenkins-bot 63dcfb720d Merge "Copy interwiki links into sidebar" 2021-07-27 21:21:20 +00:00
jdlrobson 722b5fbf80 Restore print, links, table and message box styles
These should have been added in the migration.
Follow up to 4a93c70

Bug: T278896
Change-Id: I089077d7ff7a9daf0e98b4dc40f04a11b4764277
2021-07-27 21:18:03 +00:00
Nicholas Ray d8f62f780c User menu design tweaks
* Revises UserLinks.less according to the T285786 spec.

* Unsets 'createaccount' data in $content_navigation in favor creating
this link inside SkinVector which follows the same pattern as the Login
link. This is needed because the create account link needs to be on top
of the login link in the menu per T285786#7231671.

* Changes MenuDropdown.less to pad the anchor element instead of the li
element. This results in a more intuitive click target.

* Places an end margin on the search box to add space between the user
links and the search box.

Bug: T285786
Change-Id: Idb860e6b65c9f266a8027e3f486ccf4c4ec4ed3c
2021-07-27 14:25:32 -06:00
bwang a27b6f7096 Copy interwiki links into sidebar
Bug: T287206
Change-Id: I951b2a277f9484f8e2735951d85c0766098607b5
2021-07-27 12:08:11 -05:00
jdlrobson a46e790187 Use centralized MediaWiki typescript definition
Use @wikimedia/types-wikimedia rather than maintaining our own.

Bug: T263914
Change-Id: I5319f422b85a772c248f2114a75f906a1aff6251
2021-07-26 21:27:12 +00:00
jenkins-bot 245566386b Merge "Remove unnecessary user page breakpoint style" 2021-07-26 19:44:58 +00:00
jenkins-bot b67a8bdfdd Merge "[modern/performance] Simplify Vector styles" 2021-07-26 19:33:15 +00:00
bwang f8ddffc26a Remove unnecessary user page breakpoint style
Bug: T276566
Change-Id: I1b48c91e499bf74185b4d584419d4a48af427bde
2021-07-26 19:05:02 +00:00
Translation updater bot 0d2c7c582b Localisation updates from https://translatewiki.net.
Change-Id: I46c3b9f800b16d8b3772a49b18bf8c7abe083b47
2021-07-26 08:14:39 +02:00
libraryupgrader 8dc9511bbc build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* svgo: 2.3.0 → 2.3.1
  * https://npmjs.com/advisories/1754 (CVE-2021-33587)
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)
* prismjs: 1.23.0 → 1.24.1
  * https://npmjs.com/advisories/1762 (CVE-2021-32723)

Change-Id: Ief0fe110b6746c209085502cf4639429a4116ab5
2021-07-24 01:35:45 +00:00
jdlrobson 4a93c706b6 [modern/performance] Simplify Vector styles
Bundlesize drops as a result of no longer loading the legacy
code.

Bug: T278896
Change-Id: Ib992dd19356e563af356a616055ac297f9ad0b02
2021-07-23 23:49:14 +00:00
Translation updater bot 4050aaa645 Localisation updates from https://translatewiki.net.
Change-Id: Iaca48dfc3663ee805036c66c27548b8547cc835e
2021-07-23 08:09:55 +02:00
jdlrobson e96cce7207 Restore the true height of the language button
Drop the override, now that the skinStyles have been identified
that were causing this irregularity.

Depends-On:   I9d62ad8a79168bdaebace07fb82f22da4c534b5c
Bug: T191021
Change-Id: Ic5bc639186477570028efa1cb2a09cd64a5aaca1
2021-07-22 16:27:48 -07:00
jdlrobson 83e63d3e99 Sidebar hover background should be consistent with mw-ui-icon
Remove override now it's a default.

Addresses Alex's feedback item 1 in
T191021#7231088

Bug: T191021
Change-Id: I2702ffb9cbee2dfc841b3f03638fdfd24a128493
2021-07-22 22:07:09 +00:00
jenkins-bot accb2892ad Merge "Correct the user icon padding" 2021-07-22 19:53:36 +00:00
jdlrobson 628c436f15 Correct the user icon padding
Addresses topic 3 from Alex's feedback in:
    T191021#7228591

Bug: T191021
Change-Id: I12e5fea3f1893b94e520bcec91d52af9596a2fd4
2021-07-22 19:21:48 +00:00
jenkins-bot 2b93a50fe2 Merge "Remove margin-left: auto on search box to prevent it from switching sides" 2021-07-22 18:49:41 +00:00
bwang 589bb21d1c Remove margin-left: auto on search box to prevent it from switching sides
- Scopes margin-left: auto style to vector with user links off only

Bug: T286733
Change-Id: If5dbdd89c2f773d6a98bf4ffa76f64409c11fd8d
2021-07-22 13:22:40 -05:00
Translation updater bot b621b3836f Localisation updates from https://translatewiki.net.
Change-Id: Id8ed88d1fcbc64818bf762b8bedce813202fd677
2021-07-22 08:14:44 +02:00
jdlrobson f66cc87898 Removes additional space between language button label and icon
Caused by whitespace in HTML

Addresses topic 2 from Alex's feedback in:
T191021#7228591

Bug: T191021
Change-Id: I32de25d4f4927c2ea8059b972a55b79a94691e76
2021-07-21 21:50:10 +00:00
jdlrobson 68e55542af Drop redundant border
This was increasing the icon size from 44x44 to 46x46

Addresses topic 1 from Alex's feedback in:
T191021#7228591

Bug: T191021
Change-Id: I03c80b5ceda9b23dfa53a245bed820ca22a1d95a
2021-07-21 21:50:04 +00:00
jenkins-bot 364c35dcdf Merge "Remove Vector skinStyles for icons and fix language button" 2021-07-21 18:44:37 +00:00
jdlrobson 96136a0e2d Remove Vector skinStyles for icons and fix language button
Depends-On:  Id08590f6a3fbbfda8226f2899f50f0b64cbb1481
Change-Id: I5be642f2e20d67e1d27c74ddb6ec086738a261aa
Bug: T191021
2021-07-21 11:02:42 -07:00
bwang 14e9d6ba9f Fix dropdown font sizing in legacy vector
Bug: T287052
Change-Id: I5ec4fb0dc61ed8913debc85061421f567c8cd824
2021-07-21 14:29:37 +00:00
Translation updater bot 6cb42b975f Localisation updates from https://translatewiki.net.
Change-Id: I459f5c570979d5d4a388c7e60655ed5971876d19
2021-07-21 08:06:52 +02:00
jdlrobson 13de4ff225 Prepare for updated mw-ui-icon implementation in Vector
We will couple the roll out of the consolidated user links code
with the roll out of the new icon styles.

This change is restricted to the user links feature and will result
in some slight UI discrepencies until
Ibc136a17662ae839f90babb21e0f7e8f27b7a7d5
is merged.

Bug: T191021
Change-Id: Ia2d2c86e61341b9900f9ac337ddd763252e0515f
2021-07-20 18:52:40 +00:00
Translation updater bot 63100569e6 Localisation updates from https://translatewiki.net.
Change-Id: I6b01992752a1ba1975cadf8968f3fae666699cb0
2021-07-20 08:22:26 +02:00
jenkins-bot e4fc634551 Merge "Avoid using User::setOption()" 2021-07-19 22:32:00 +00:00
Translation updater bot a932da0400 Localisation updates from https://translatewiki.net.
Change-Id: I446af81b3b00446e484411b4621c3fd90436ed12
2021-07-19 08:18:22 +02:00
ZabeMath e7fbb01aca Avoid using User::setOption()
User::setOption() is deprecated and should be replaced with UserOptionsManager::setOption()

Bug: T277818
Change-Id: If867b4f97918db581d337a32b33cbca2315a71f6
2021-07-18 13:48:44 +02:00
DannyS712 2c25d15489 ESLint: remove redundant disable of one-var rule
No longer needed now that we use eslint-config-wikimedia
version 0.20.0, which no longer includes that rule.

Bug: T286838
Change-Id: I44518a4cc8e9d6e4cde38899f68d7952956a266e
2021-07-17 01:38:26 +00:00
Translation updater bot 1448c8c9ca Localisation updates from https://translatewiki.net.
Change-Id: Iad69f027f9382834280fd13ae0d5fe88e40def46
2021-07-16 08:44:50 +02:00
jdlrobson 60923c6ddb Collapse search below desktop breakpoint
The tablet breakpoint doesn't work. It is not possible to apply
the min width of 350px for the search input given the other elements
in the header, however the desktop breakpoint provides plenty of space.

Change-Id: I93c29700d465d641f8155c01a311e1e720c37695
2021-07-15 22:02:55 +00:00
jenkins-bot 297322f810 Merge "Remove caching FIXMEs" 2021-07-15 21:12:00 +00:00
jenkins-bot 2e5ecae6d2 Merge "Consolidate user links outside of the user menu dropdown into a single new menu" 2021-07-15 20:48:37 +00:00
jdlrobson dd73491331 Remove caching FIXMEs
Code here has been in production a week now, so we no longer need to support
the old HTML structure.

Change-Id: I508dec3294588c9fc7f86958c47a3e5b52493df9
2021-07-15 20:28:48 +00:00
jdlrobson 276738b620 Consolidate user links outside of the user menu dropdown into a single new menu
- Adds UserLinks__more template to process the list of user links.
- Simplifies styles in UserLinks.less, and namespace them under .vector-user-menu-more
- Add i18n for the label of the new navigation menu
- Update storybook and typing

Bug: T284584
Change-Id: I92290815869dcb939f01d9aff4aa202f6f004894
2021-07-15 20:27:54 +00:00
jenkins-bot 73fd6c0290 Merge "Add querystring parameter override for user links, language in header." 2021-07-15 19:26:35 +00:00
Clare Ming cb3d5742da Add querystring parameter override for user links, language in header.
- Add new OverridableConfigRequirement class.
- Add query parameter constant for user links.
- Update Feature Manager with new requirements.
- Use new class for LanguageInHeader requirement.
- Remove LanguageInHeaderTreatmentRequirement class and test.
- Add unit test to cover user links and language in header.

Bug: T285855
Change-Id: I56b729a9e245ed2ddc85625c0be39f5c26320ac4
2021-07-15 16:51:48 +00:00
Translation updater bot c5c0ff6037 Localisation updates from https://translatewiki.net.
Change-Id: Ib228299fbacab42ebf180ea117895bdcc1d8d7b6
2021-07-15 08:13:44 +02:00
Nicholas Ray ca22b84df4 Make #p-search's start margin dependent on .vector-search-box-show-thumbnail
Before this commit, the following config would result in the search box
not lining up vertically with the tabs:

$wgVectorWvuiSearchOptions = [
  "showThumbnail" => false,
];
```

This commit fixes that by making the start margin dependent on the
`showThumbnail` option.

Bug: T284242
Change-Id: I0132ef8afb3206836d9f16771cbefda5b8bfa3ec
2021-07-14 13:40:54 -06:00
Nicholas Ray 7d917c8dbb Widen WVUI search suggestions to edge of search button when search is toggled
Per T284242#7206507, the width of the search suggestions should be
increased at small resolutions.

Bug: T284242
Change-Id: I16ac7c4174c427d340dc16b0b56221ff7b6e1016
2021-07-14 13:36:35 -06:00
Nicholas Ray 91af0e098d Make search toggleable at smaller screen widths
Now that the header collapses at small resolutions
(I89d75843ca7e33e6de93af5d7c22e46b7249c4b7), this commit wires the
search toggle to show the search box when clicked and hides it when the
user clicks outside the search box.

* Adds searchToggle.js to perform handle the toggle behavior of the
searchbox.
* Adds `@padding-horizontal-tabs`, `@size-search-expand` to variables.less
so that these can be used to set the start margin of the search box
(enabling its start edge to match the tab text start edge).
* Modifies screen.less to only apply search max-width when >=
@width-breakpoint-tablet

Bug: T284242
Change-Id: I82563d44967f60aee1cd4d3aa6fb4f405822686b
2021-07-14 00:14:45 +00:00
jenkins-bot e750b8212e Merge "Fix collapsible item behaviour" 2021-07-14 00:04:05 +00:00
jdlrobson 91e07c6b9a Fix collapsible item behaviour
the user-links-collapsible-item class now applies to list items
not links

Follow up to 05a02a39fb59117c522678001d79b0d9dfdf63ca

Bug: T285960
Bug: T276566
Change-Id: I04fa303c4e95373fdf5ff090de1bba030386c286
2021-07-13 23:42:34 +00:00
Clare Ming c4efbb3d6a Update styles for talk message at lower port widths.
Bug: T284243
Depends-On: Icb349987c5f5939b7f4ffa477ac1ecb35b5425e7
Change-Id: I69bc3a1aea6b5a640b91c67f5beae4c263c8d31a
2021-07-13 15:47:08 -06:00
jenkins-bot a377b46fcf Merge "Move userpage link to precede notifications" 2021-07-13 18:27:26 +00:00
Translation updater bot 66002b600f Localisation updates from https://translatewiki.net.
Change-Id: I0d21dc89ff2ded399b6198470bc39ee6c632955d
2021-07-13 08:13:04 +02:00
Clare Ming 19173ea296 Move userpage link to precede notifications
Update user links template to reshuffle order.

Bug: T285728
Change-Id: Ie33a513a9a72e9d659d04a76bb38d8fb1977fb19
2021-07-12 13:06:18 -06:00
Translation updater bot fb3561e756 Localisation updates from https://translatewiki.net.
Change-Id: I4fdcf601bd0a499fae40c16d8860500d01c599e2
2021-07-12 08:08:17 +02:00
Translation updater bot e9053a1f76 Localisation updates from https://translatewiki.net.
Change-Id: Ic4374b1d6d485bb42c2fa19a0b373d9ee0215318
2021-07-09 08:08:01 +02:00
Translation updater bot 493d5c4cc5 Localisation updates from https://translatewiki.net.
Change-Id: I10a10fb843ede4eb2afc6f757c49301e7d7eea52
2021-07-07 08:08:56 +02:00
Translation updater bot f72d5ba87d Localisation updates from https://translatewiki.net.
Change-Id: Ib3107b10031bc68da586779a22e09155dccda804
2021-07-06 08:39:59 +02:00
Translation updater bot 60a6f9ea0b Localisation updates from https://translatewiki.net.
Change-Id: Idfa16d8f08dbfd7adfe61d6f6be0906dcae3ccf1
2021-07-05 08:08:44 +02:00
Translation updater bot f3a4f9cc52 Localisation updates from https://translatewiki.net.
Change-Id: I870e10db1691e47fc2807f96a067e2a72be8e1ff
2021-07-02 08:32:37 +02:00
jenkins-bot 7c1455b90e Merge "Refactor the way we add classes to list items" 2021-07-01 22:13:43 +00:00
jdlrobson 3dffee277c Refactor the way we add classes to list items
Append mw-ui-icon classes to list item not list link
This allows us to apply a custom padding separate from the icon.

Note due to a bug in how core handles personal user items,
this will result in the icons temporarily disappearing for several
items until If399dfff9bbdd3b03b2ca702face3ec5164bef11 is resolved.
This is okay given the user menu is currently feature flagged.

Bug: T191021
Change-Id: I766aeb4d1bb36cebd0d80ad43ced940dbea96477
2021-07-01 14:25:46 -07:00
Translation updater bot 07bc73cbce Localisation updates from https://translatewiki.net.
Change-Id: I3482cfda1cec0c738c18c91c6579ffe490e71f65
2021-07-01 08:11:07 +02:00
bwang 0a75e2e627 Ensure userAvatar icon is only used in logged in users
Additional change: A bundlesize increase is required given
recent developments in the user menu.

Bug: T284748
Change-Id: I2b0981d621c3add42731e50d5aef299b32548b4a
2021-06-30 22:41:47 +00:00
jenkins-bot 6597bc7d86 Merge "Collapse header at lower resolutions" 2021-06-30 22:11:34 +00:00
jdlrobson 6777c5b1fe Collapse header at lower resolutions
Reduces the min-width to 340px with several changes at lower
resolutions
* collapses create account into dropdown
* hides language button and user messages
* The search component is updated to include a search toggle which
can be used to hide and show the search input at lower resolutions
- this leads to a slight HTML change with caching implications,
it also moves away from a BEM usage which is not standard for this
repository.
* limits width of logo based on the dimensions we display
in mobile

Bug: T276566
Change-Id: I89d75843ca7e33e6de93af5d7c22e46b7249c4b7
2021-06-30 21:43:35 +00:00
jenkins-bot 91aeef476d Merge "search: Disable query highlight for some languages" 2021-06-30 21:01:01 +00:00
Sam Smith 445ba883a2 search: Disable query highlight for some languages
Following on from I551414b1, disable query highlighting for the list of
languages provided by @TJones in T281797.

The user's interface language can be different from the wiki's content
language and so the former is not available at configuration time. Thus,
we fetch the user's interface language at request time. Fortunately,
@TJones' list of languages is small so there should be little
perceivable performance impact from the perpective of the user.

Additional changes:

- Remove the config.VectorWvuiSearchOptions.value.highlightQuery
  property from skin.json

Bug: T281797
Change-Id: Ib39736a93fa64e82253f88551d125413e672558b
2021-06-30 16:47:46 +01:00
jenkins-bot 400f67e526 Merge "Fixes transition from input focus state to WVUI focus state" 2021-06-30 13:42:31 +00:00
Translation updater bot c437f38e59 Localisation updates from https://translatewiki.net.
Change-Id: I0bcae0aa7904b677a88e4f5ce38bf8b2988a3f7b
2021-06-30 08:27:22 +02:00
jdlrobson a220e553eb Fixes transition from input focus state to WVUI focus state
VueEnhancedSearchBox tries to mimic the styles of WVUI to get a
seamless transition however doesn't account for the focus state that
shows briefly while this occurs.

This was leading to the icon jumping as it transitioned.

Bug: T279015
Change-Id: I10a4ec5d64bb58e2f21506c8a09a1bb6c34ecd65
2021-06-29 14:39:10 -07:00
Translation updater bot 4ba15fc73f Localisation updates from https://translatewiki.net.
Change-Id: I44f778770a21d3ff8357aac22143ca3498dd664e
2021-06-28 09:25:07 +02:00
jdlrobson 62d0cf8d92 Dropdown toggles trigger click tracking instrumentation
Bug: T284542
Change-Id: Ib019c616bc53ebab50ed9eeef05b6d9712958f38
2021-06-24 23:08:19 +00:00
jenkins-bot b8545c4b5e Merge "Remove whitespace from page title template" 2021-06-24 22:16:07 +00:00
jenkins-bot 170a4eb9fa Merge "Update search loading animation delay to 500ms" 2021-06-24 17:49:13 +00:00
bwang 0c8154f1bd Update search loading animation delay to 500ms
Bug: T273093
Change-Id: I517bb80a9557c85607ae3588bb44dc83cbeb1dc0
2021-06-24 17:18:16 +00:00
bwang 9dc295945c Remove whitespace from page title template
Bug: T282318
Change-Id: Idd36ad20545e04706bbc9bfa034c65fc0d6bba16
2021-06-24 16:47:31 +00:00
Nicholas Ray b82ecc2173 Remove SkinVector::ICON_USER_LINK_MAP usage
Per T284594, we are now setting the icon key/value when the relevant
menu item is created (e.g see I95f2a0a01134f2c3dfc22083be66c99de26b530f
) to allow for easier reuse of icons across skins.

Additionally:

* Refactor SkinVector to pull the appropriate login/logout icon from
core instead of setting this in Vector

Bug: T284594
Depends-On: I95f2a0a01134f2c3dfc22083be66c99de26b530f
Depends-On: I6292de50c3940f39b0084a2af4f79af78583720f
Change-Id: I02163645937de4b8a2c4375f29851c29462a582d
2021-06-23 18:33:17 +00:00
Translation updater bot 02de393331 Localisation updates from https://translatewiki.net.
Change-Id: I3b20c80a5e5bc49fcef47d6b1d9c0cb9aeb6970b
2021-06-23 08:12:53 +02:00
jenkins-bot bea07a11c6 Merge "Partial Revert "Update tests for default Menu template value"" 2021-06-22 21:30:24 +00:00
bwang d8351bc0ae Update user links storybook
- Remove logged in links from logged out user links storybook
- Add icons to all user links

Bug: T284584
Change-Id: I7fbe22b257d1a6e08c27315d69b0ae1233868aed
2021-06-22 18:52:26 +00:00
jenkins-bot f6d116ff98 Merge "Add icon prefix to login link" 2021-06-22 17:06:10 +00:00
Clare Ming d9f4c51b4e Add icon prefix to login link
Add classes to prefix login link with login icon.

Bug: T276562
Change-Id: I2b188a25986a717436af223a469b05c95e5b2d88
2021-06-22 09:18:06 -06:00
bwang 84737bc9c7 Remove reference to BaseTemplateAfterPortlet
Bug: T280608
Change-Id: I87ebd765defd7c71f2463257d8bae14107988220
2021-06-22 15:02:01 +00:00
Translation updater bot 5029ce11e4 Localisation updates from https://translatewiki.net.
Change-Id: I689d4e589d662e41e166f8846308b25da3886760
2021-06-22 08:11:24 +02:00
bwang 7909cf1eb6 Update user links storybook
- Fixes logged in and logged out links in the user links storybook
- Fixes type def warnings by importing defs
- Update the user page styles in storybook

Bug: T284584
Change-Id: I8e56df16617f71be89ac8d3094497cdb0daa64ef
2021-06-21 21:34:35 +00:00
jenkins-bot b4e1929d84 Merge "VectorUseWvuiSearch should reflect production config" 2021-06-21 20:54:38 +00:00
jdlrobson 7d32418513 VectorUseWvuiSearch should reflect production config
At this point most wikis enable this config flag. Explicit overrides
exist for wikis where it is not available (commons and wikidata).

The config on master should always reflect production config so
it's time to change the default.

Change-Id: I8835e070d2636f600f733645119b0f8497eda3e8
2021-06-21 13:26:55 -07:00
Jdlrobson 604e24f6be Partial Revert "Update tests for default Menu template value"
This partially reverts commit 0fc7be61c1.

Reason for revert: was temporary change

Change-Id: Iad87da825e44a7d3a64b85dc314d8eb27d95b7a6
2021-06-21 20:20:34 +00:00
jenkins-bot 45598d0ec3 Merge "Update user menu icon and storybook" 2021-06-21 14:42:26 +00:00
jenkins-bot 30eb4196b9 Merge "Skin: Convert number of languages to interface language" 2021-06-21 14:22:40 +00:00
bwang 8389de9cb9 Update user menu icon and storybook
Bug: T284748
Change-Id: Icdbfd882490b380871befd3c6606c4b48d225132
2021-06-18 20:30:55 +00:00
Sam Smith 78929d58da Skin: Convert number of languages to interface language
Bug: T283955
Change-Id: Ic601cf94907bdec329021a48101da13a979af106
2021-06-18 17:18:52 +00:00
Translation updater bot 9f925d23fd Localisation updates from https://translatewiki.net.
Change-Id: Ibe8a279b6aebafeefe0a8dd6ca800a6d344823b4
2021-06-18 08:21:58 +02:00
Translation updater bot 4e952558f4 Localisation updates from https://translatewiki.net.
Change-Id: I6e7b6e1ce644d8b0f4ff3b2778291df9731b10d3
2021-06-17 08:21:32 +02:00
bwang 22e343eecb Ensure login button is only rendered for anon users
Bug: T276561
Change-Id: I0f4fa94b4caacc45b299d7518523aa906ff65849
2021-06-16 14:01:06 -05:00
jenkins-bot c7ad20524c Merge "Update tests for default Menu template value" 2021-06-16 00:10:12 +00:00
bwang 0fc7be61c1 Update tests for default Menu template value
Change-Id: I32586a379cbacaad5cfb361facf79c01e982818a
2021-06-15 17:02:53 -05:00
Translation updater bot 148380af9f Localisation updates from https://translatewiki.net.
Change-Id: I26ec7cf36d95c7a200004c6ac37d0336e9e4355c
2021-06-15 08:34:24 +02:00
jenkins-bot b54b85753b Merge "Move "logout" button to bottom of user links menu in modern Vector" 2021-06-14 23:02:46 +00:00
Jan Drewniak c26ae0f965 Move "logout" button to bottom of user links menu in modern Vector
For modern Vector, removes the logout link in the user menu and places it
below that menu by appending it to the html-after-portal property of the
skin data.

Also modifies the `.vector-user-menu-login` style to accommodate both the
login and logout button.

bug: T281791
Depends-On: If82a736e37174aaadd0ff07019a1fae3759a9e51
Change-Id: I7675230e09a50eaeab448182329f850ad2689514
2021-06-14 23:40:19 +02:00
jdlrobson 0b024a4a4d Allow disabling of the new compact languages button
Depends-On: I726c61d4c6895a28b999781752535e0ddc961744
Bug: T282149
Change-Id: I436554d9d51470d277d59c2c71e08124735e12fd
2021-06-14 15:49:43 +00:00
Translation updater bot 99a201d5b9 Localisation updates from https://translatewiki.net.
Change-Id: I3ed6c2b71f03cdbc60805deb40ff7b1ad1ab2dca
2021-06-14 08:41:22 +02:00
jenkins-bot 20d127a8df Merge "Remove UserMenu and use Menu template instead" 2021-06-11 16:03:57 +00:00
bwang 34344adbf5 Remove UserMenu and use Menu template instead
- Adds html-before-portlet to Menu.mustache
- Removes UserMenu.mustache and type def
- Factors out getCreateAccountHTML and getLoginHTML for generating HTML used in Menu
- Scopes UserLink template data under "data-vector-user-links"

Follow up to: 298f945983
Bug: T284584
Change-Id: I91104eb7c4fd12756e770561666f4c9a64da57d6
2021-06-11 09:41:58 -05:00
Translation updater bot 210a305d35 Localisation updates from https://translatewiki.net.
Change-Id: Id18358ca02c7eb36760ca7d36ad08879c47c4ed9
2021-06-11 08:35:52 +02:00
Clare Ming 9ec5d6ded0 Hide language links on print version
Add selector to hide language links for print version of pages.

Bug: T282304
Change-Id: I6b17676e7491863e684c1704d0a849f0ba3827f5
2021-06-10 16:35:28 -06:00
Translation updater bot ad95c880a1 Localisation updates from https://translatewiki.net.
Change-Id: I4fd31f6faa700d98143f135bdb898a534a5403e6
2021-06-10 08:36:06 +02:00
jenkins-bot 320b7708f4 Merge "Prefix user links menu items with icons" 2021-06-08 14:35:57 +00:00
Translation updater bot 0b65f84d40 Localisation updates from https://translatewiki.net.
Change-Id: I246252f7ebba77b14a30e32d1595fa6fa50e1ae1
2021-06-08 08:37:33 +02:00
Clare Ming b80d97b1e8 Prefix user links menu items with icons
- Add logic in Vector hooks to prefix user menu links with icons.
- Add method for getting icon name based on user menu key.
- Add constant to map user menu keys to associated icon references.
- Include icon treatment for both logged in/out users.

Bug: T276562
Change-Id: Ia69366eb4fbd50b48fe5513ef99048bdc5df64fb
2021-06-07 18:10:54 -06:00
Translation updater bot dbfcfdfac0 Localisation updates from https://translatewiki.net.
Change-Id: Ib19e284bd24ceca84dae9a9b23261c63628ff4ec
2021-06-07 08:45:28 +02:00
jenkins-bot 6f2c6f7776 Merge "Storybook: Add stories for logged in and logged out UserLinks" 2021-06-05 02:28:05 +00:00
jenkins-bot fcb1bf7a19 Merge "Update styles for user-interface-preferences in user links menu." 2021-06-05 02:26:39 +00:00
Clare Ming 06d0afbcb3 Update styles for user-interface-preferences in user links menu.
- Add new menu to UserLinks template.
- Fix styles for user links toolbar.

Bug: T282196
Change-Id: I42d6e6e11d76b2d25b2720a617f2fb2e545eb4b6
2021-06-05 02:01:17 +00:00
James D. Forrester 5c50fa8fd2 .nvmrc: Update to Node 12.21.0 as CI has migrated
Bug: T284345
Change-Id: Idd32bce55a3f8b0e0f2191738e89311539eb3d98
2021-06-04 14:45:10 -07:00
Translation updater bot 571764fdc6 Localisation updates from https://translatewiki.net.
Change-Id: Ib1cd3cecf279c9a3b208cda88058f9d83b696b0b
2021-06-04 08:39:36 +02:00
bwang b4c0e8e67d Storybook: Add stories for logged in and logged out UserLinks
- Update menu helper params to support additional data
- Add UserLinks typing

Follow up to: 298f945983
Change-Id: I0f9d1ac3289101566f437213714b872f6fa9199b
2021-06-03 21:42:28 +00:00
jenkins-bot 8021270bce Merge "Update UserLinks styles to use classes instead of ids" 2021-06-02 22:38:04 +00:00
bwang b5aa055900 Update UserLinks styles to use classes instead of ids
Follow up to: 298f945983

Change-Id: I5bc28501d0ae4c2597796dbf1ed9c10eacadad62
2021-06-02 22:16:59 +00:00
Roan Kattouw 02638ff59d Use the new wvui-search module from MW core
Depends-On: Ifa3abeab2a929e15597fa51b95b4442fe818ef31
Change-Id: I24712ca8e4d9558a17c029a4c59484dc0f5b8fad
2021-06-02 13:40:20 -07:00
jenkins-bot a15fd2eb80 Merge "search: Add option to disable highlighting query" 2021-06-02 19:21:30 +00:00
jenkins-bot 0141be5080 Merge "Create new user menu template for consolidated user links in logged out users" 2021-06-02 19:09:54 +00:00
Sam Smith 2b05a6a203 search: Add option to disable highlighting query
... for the WVUI search autocomplete widget.

The VectorWvuiSearchOptions object is sent to the client whole and
already used as the base props for the app component constructed in the
skins.vector.search RL module. We also define the highlightQuery prop on
that component so that its value can be passed to the WVUI
typeahead-search component.

Bug: T281797
Depends-On: I142810c177b850ecd7015f835bb6630bae00a6ea
Depends-On: Ia5e14fb9d0073a5126a0918f7a94213c671e773a
Change-Id: I551414b111226e690f6a2bc69dabf5edc6fb0a96
2021-06-02 18:51:01 +00:00
bwang 298f945983 Create new user menu template for consolidated user links in logged out users
- Adds mustache template for the new user menu
- Uses new functions for getting user link data that have been factored out of SkinTemplate in the dependent patch
- Refactor new user menu styles to be namespaced inside UserMenu.less

Notes:
- Originally this patch included more storybook changes, but I removed them in favor of this follow up patch: 696651

Bug: T276564
Depends-On: Ia841f92c626ca32a9ad437b3d1cff78309c83ed8
Change-Id: Ib15752428265fdc06a3000f62bdca44c67648974
2021-06-02 09:23:22 -05:00
jenkins-bot 56916a17d1 Merge "Change search button msg key to `searchbutton`" 2021-06-02 10:06:24 +00:00
Volker E 42216de481 Change search button msg key to `searchbutton`
Bug: T280405
Change-Id: Iea3bf40be029eaa330101b7b9a1bdea191d71416
2021-06-01 15:48:09 -07:00
jenkins-bot ca148c71f8 Merge "Storybook should include UserLinks" 2021-06-01 16:19:02 +00:00
Translation updater bot b4f91d8e5c Localisation updates from https://translatewiki.net.
Change-Id: I463fd80c061198839d3e24dd2015847595dad5a3
2021-05-31 08:38:06 +02:00
Translation updater bot cf7657ccb7 Localisation updates from https://translatewiki.net.
Change-Id: I8b1b0c25851d75a2751c6468096e5f259183c837
2021-05-28 09:11:44 +02:00
libraryupgrader 2ccd49648b build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: Ic5b705747935ebc1ecd06eb553162ecc45abf1f1
2021-05-28 05:48:38 +00:00
jdlrobson 6300923601 Storybook should include UserLinks
Merge UserMenu into UserLinks for legacy and modern
Add a story for the UserLinks menu

Fixes: rendering of Skin (legacy) personal tools (the user icon
no longer overlaps)

Change-Id: I491ebb3962780bf2cf7f1dfb4dd09d576c294366
2021-05-27 19:27:27 +00:00
jdlrobson e1d0f1e61c Storybook: Consistent styling
- Make sure common styles are loaded for all components
- Add icon in user menu

Fixes renders of:
- Language button (no top margin and button styles)
- MenuPortal (no left margins)


Change-Id: I98b4820b6d91d46fd27a1d433d5bacd187a7cbb0
2021-05-27 19:27:21 +00:00
jenkins-bot e111ead970 Merge "Storybook: Move helperMakeMenuData into utils" 2021-05-27 18:28:22 +00:00
jdlrobson e305d720d4 Storybook: Move helperMakeMenuData into utils
In preparation for using for the UserLinks component.

Change-Id: Ifd3d1cc5513cd1477d1cb2e5d6e4db800fee12f7
2021-05-27 18:06:05 +00:00
Translation updater bot 838f72a484 Localisation updates from https://translatewiki.net.
Change-Id: If26220738c2d51dc55cc27fcd16715a2a0752716
2021-05-27 13:47:34 +02:00
Translation updater bot b445847998 Localisation updates from https://translatewiki.net.
Change-Id: I9272166db48f6549cbaf468974a2606e89d8c295
2021-05-27 13:12:17 +02:00
Translation updater bot 329a0dac56 Localisation updates from https://translatewiki.net.
Change-Id: Ia5be2abd9780a55f5a84f6aa75ac0dcb9a1d7367
2021-05-27 10:39:23 +02:00
Translation updater bot 64d03c85ac Localisation updates from https://translatewiki.net.
Change-Id: Ibb742b86acbfcdaba1ef88f3ebd6370b4a7efd4d
2021-05-26 09:08:20 +02:00
jenkins-bot 1c3a214b24 Merge "Refactor: Create UserLinks component" 2021-05-25 18:49:47 +00:00
jdlrobson 96bf1e8276 Refactor: Create UserLinks component
Have a single template for the UserLinks component, with a single
element wrapping all its subcomponents as discussed.

Change-Id: I35936a6fa1ba335639ca3f47fd439a3662268fca
2021-05-25 16:57:35 +00:00
jenkins-bot d7e22f7f20 Merge "Use escaped() instead of parse() in SkinVector::createULSLanguageButton" 2021-05-24 16:02:39 +00:00
jenkins-bot a9215e49a6 Merge "Introduce the vector-body class" 2021-05-24 14:51:07 +00:00
Jan Drewniak 7258a7cb86 Use escaped() instead of parse() in SkinVector::createULSLanguageButton
Bug: T282540
Change-Id: Ie8f0fe262f34e669d49f98efc27c179b257786dc
2021-05-24 14:07:25 +02:00
Translation updater bot 2f854e0b9e Localisation updates from https://translatewiki.net.
Change-Id: Ib1f8652d7a435177de767c2012d90d57391f1c29
2021-05-24 09:59:46 +02:00
jdlrobson 3306124038 Introduce the vector-body class
This follows up I4c1b15d90bacbc9b13782a1d8f52e838ce8ecd83
In that change, a new class for Vector specific styles should have
been added and the existing CSS referenced. I could have sworn I did
this, but obviously not (perhaps a git rebase or unstage change problem).
We did it for the other skins e.g. Monobook (I90d85c21f4a62e6697f24e3ce388445a0a53c2b0)
but evidently not Vector.

We also have to worry about cached HTML now, the #bodyContent is
the most reliable selector to use for before and after
I4c1b15d90bacbc9b13782a1d8f52e838ce8ecd83

Additional:
Remove the mixin-clearfix rule on bodyContent - this is now
redundant with the changes in T279388 and should have been
removed.

Bug: T283206
Change-Id: I15103cea72c793589a03ab1a3e7f3b377acb287f
2021-05-21 13:50:31 -07:00
James D. Forrester eb5d58a9f5 composer: Point IRC presence to Libera and better git source
Change-Id: I92aabc5091b04d9744de2d845934871801fab7cd
2021-05-21 10:11:50 -07:00
Translation updater bot ea85248088 Localisation updates from https://translatewiki.net.
Change-Id: I21be576c91ea7b576b00ee74bcdfcda0bb834342
2021-05-21 08:36:19 +02:00
Translation updater bot 96b383df0d Localisation updates from https://translatewiki.net.
Change-Id: Ie6316de4329bfad84dfc600ca4849d1123cde447
2021-05-20 09:13:44 +02:00
Translation updater bot cc982d3bae Localisation updates from https://translatewiki.net.
Change-Id: Iad6e288d13dd12ef301ce0ec6ca6c0320fa52e92
2021-05-19 08:47:00 +02:00
Translation updater bot ea6a4a0889 Localisation updates from https://translatewiki.net.
Change-Id: Ia6ade96fddf83f7ebb08e1f3900a06dc142be119
2021-05-18 08:49:38 +02:00
Thiemo Kreuz 9213c514e6 Remove not needed $this->equalTo() from tests
This is the default anyway. I believe the tests are much more
readable without this.

Change-Id: I9f6c0d777ae5cd184acf40b1ef5b7b171dc3e675
2021-05-17 10:05:10 +02:00
Translation updater bot 9b4c0e39ae Localisation updates from https://translatewiki.net.
Change-Id: I4331005d26acef68b01a97b966443b2abdac9930
2021-05-17 08:48:02 +02:00
libraryupgrader dd6cdd7149 build: Updating jsdoc to 3.6.7
* https://npmjs.com/advisories/1674 (CVE-2021-23358)

Change-Id: Iaa01d3c4f3becdbc8f45368e9877211b434b7fa6
2021-05-15 18:15:54 +00:00
jenkins-bot 81947cbd67 Merge "Remove unused $contentNavigation from `getTemplateData` method" 2021-05-14 20:20:54 +00:00
Nicholas Ray 7ab2edb2fa Remove unused $contentNavigation from `getTemplateData` method
This is not used in the method and, from the surface, appears to be
extraneous.

Change-Id: I63b1eba54f8ce11296c187b292010e415a2915af
2021-05-14 12:13:14 -06:00
jdlrobson 6998c536d4 Both UserMenu stylesheets should be shipped in modern
Since we have feature flagged the new user menu feature, it is
imperative we load both sets of styles until the feature has
shipped. This allows us to switch seamlessly between the two
without worrying about cached HTML being served with updated CSS.

To do this, we add a new class to both user menu's distinguishing
the legacy version from the modern version. The styles are then
scoped to these new selectors.

This also fixes some regressions with the legacy user menu in
modern Vector when wgVectorConsolidateUserLinks is disabled.

Notes:
* No caching selector is needed for #pt-userpage given it can only
ever be output for logged in users.
* ID selectors in general are bad, so scoping to mw-portlet-personal-user-menu-legacy
isolates the legacy component allowing it to be rendered alongside the modern UserMenu

Bug: T276561
Change-Id: I068c5233bb25a7b141e66a6726b5761841f83eb2
2021-05-14 10:13:09 -07:00
Jdlrobson efaf3aadf3 Remove mw-body-content from HTML that is not the article body
The `mw-body-content` class is currently decorating various things,
however should be limited to the body of the article. This allows
us to identify the wrapping element without resorting to a selector
that makes use of an identifier and to separate styling concerns of
UI (indicators and site notice) from article content.

Bug: T279388
Change-Id: I4c1b15d90bacbc9b13782a1d8f52e838ce8ecd83
2021-05-14 00:01:52 +00:00
Clare Ming 63f9dd81e3 Cleanup styles for personal user dropdown menu.
Remove redundant styles. Update personal menu dropdown to more closely reflect design of OOUI dropdown elements. Extract legcay-specific, modern-specific styles for UserMenu into separate partials. Create new shared UserMenu component.

Bug: T276561
Change-Id: I1e56cd5b3b24ac1b5cae684301b8e3a84ea33a5c
2021-05-13 23:19:54 +00:00
jenkins-bot 234659e3e3 Merge "Allow `languageinheader` query param to fully control treatment of languages" 2021-05-13 20:04:15 +00:00
Nicholas Ray de5a640c0b Allow `languageinheader` query param to fully control treatment of languages
Before this commit the `languageinheader` query param would only take
effect if the A/B test was enabled AND the query param was set. Per
T282543, we want the query param to take effect regardless of the state
of the language/AB test config.

To see new treatment, set `languageinheader=1`.
To see old treatment, set `languageinheader=0`.

Bug: T282543
Change-Id: I6a06e90b6e46a6fd7506a5ddeaf071b893ebfe8e
2021-05-13 12:04:12 -06:00
jenkins-bot 13e45adb28 Merge "search: Wire up submit event handler" 2021-05-13 15:39:12 +00:00
Sam Smith 7f780961a6 search: Wire up submit event handler
Bug: T274869
Change-Id: I5fab22564fa2fe140858cc214aac017d7bd6c68e
2021-05-13 15:29:18 +01:00
Translation updater bot 25ee080773 Localisation updates from https://translatewiki.net.
Change-Id: I98f8bafd0769dc34953b1d1221075a0d9bc295e2
2021-05-12 09:26:57 +02:00
Translation updater bot 87058d8caa Localisation updates from https://translatewiki.net.
Change-Id: I627f494ab9ec1dfe6a0448ecec98efc1a02c887e
2021-05-11 09:10:51 +02:00
jenkins-bot 50430ea06a Merge "search: Update styling for the search loading state" 2021-05-10 20:55:31 +00:00
jenkins-bot b41e224ec6 Merge "Refactor: Renaming mustache variable `page-isarticle` to `is-article`" 2021-05-10 09:38:08 +00:00
Jan Drewniak c22dc8d95b Refactor: Renaming mustache variable `page-isarticle` to `is-article`
Modifies this variable name to use proper hyphen-case and
prioritizes the type of variable rather than it's source.

This prioritization makes sense in Mustache templates because the
variable is a boolean and is used exclusively in if statements,
e.g. {{#is-article}} ... {{/is-article}}

Change-Id: I72e9baf0a979d922b8217aabe8cf0c40699f891b
2021-05-10 08:55:06 +00:00
Translation updater bot 18e74b2292 Localisation updates from https://translatewiki.net.
Change-Id: I54821846ebfced651cde76b622ac74f2a9eb5e96
2021-05-10 08:59:33 +02:00
bwang 964e214e87 search: Update styling for the search loading state
Bug: T273093
Change-Id: Ifd7f07411597be844cb7de79e416975261069506
2021-05-07 17:04:42 -05:00
Jan Drewniak 9027d57804 Fix: update to 80d734b4, hide language dropdown when ULS loads
Bug: T276140
Change-Id: I70997fbc54554b8d1b9c271a5ca93f2a47f1ee92
2021-05-07 12:24:30 +02:00
Translation updater bot 865cc4a566 Localisation updates from https://translatewiki.net.
Change-Id: I1858001c141885236e191c94abb78ea29f7d51ac
2021-05-07 08:47:06 +02:00
jdlrobson e7a4ecf9db Refactor: Clarify functions that return booleans and template booleans
We prefix templates that are booleans with "is-" and tend to prefix
functions that return booleans with "if" or "should"

This renames the new "shouldConsolidateLinks" method.

Follow up to I1c305d89bece147a6f1b478441119c3169abfbdd

Change-Id: I6a5908b8b35ca6bceec8b864e3ac651fc7e8ced8
2021-05-06 23:51:56 +00:00
jenkins-bot 840bc5b0cd Merge "Consolidate user links into personal dropdown menu for logged users." 2021-05-06 20:17:33 +00:00
Clare Ming dc0b679bfa Consolidate user links into personal dropdown menu for logged users.
Pull personal menu items except for user page link into a consolidated dropdown menu based on feature flag using Vector hooks. Add consolidate user links feature flag for logged in/out users. Update styles for personal toolbar. Add logic to template to show legacy toolbar or consolidated toolbar based on feature flag variables.

Bug: T276561
Depends-On: If4e143aada711d210ae45d33b97a6be0685b6a41
Change-Id: I1c305d89bece147a6f1b478441119c3169abfbdd
2021-05-06 12:49:39 -07:00
jenkins-bot 545eb7fb2b Merge "LanguageButton story should load mediawiki ui button styles" 2021-05-06 09:10:29 +00:00
Translation updater bot ca113fd066 Localisation updates from https://translatewiki.net.
Change-Id: Ic6433b90bd8143042dc322da59c6cacb5d1d5a2a
2021-05-06 08:56:58 +02:00
Nicholas Ray 8eba1da250 Silence eslint compat/compat for search performance instrumentation
Eslint is throwing compat warnings on every commit in Vector. This
commit silences those warnings.

Change-Id: I0e914c6179745415e916fadd382d86baa72e3e63
2021-05-05 14:37:35 -06:00
jenkins-bot bea00bc290 Merge "Create A/B test harness for Language in header feature" 2021-05-05 17:33:38 +00:00
jenkins-bot 888e17bd47 Merge "Place language button near bottom of Main page." 2021-05-05 17:08:18 +00:00
Jdlrobson d2c7805fa8 LanguageButton story should load mediawiki ui button styles
Discovered while testing I97bf0c11d0321752d472ac4988618a1db92b7271

Change-Id: I8634717ea58544b2d226fbb114bea43639a6542d
2021-05-05 09:41:10 -07:00
Jan Drewniak 80d734b4d2 Place language button near bottom of Main page.
In modern Vector, the language button that is placed inside
the page header should appear near the footer, if the page is a
Main page.

This changes some CSS selectors to not depend on the language
button having the `.mw-body-header` parent element.

Bug: T276140
Change-Id: I97bf0c11d0321752d472ac4988618a1db92b7271
2021-05-05 13:42:19 +02:00
Nicholas Ray 49f2b25737 Create A/B test harness for Language in header feature
* Adds ab test config to enable/disable the ab test. Defaults to `false`
(ab test disabled).

* Adds a `languageinheader` query param which only takes effect when the
ab test is enabled. The query param is cast to a bool and determines
which treatment is shown. For example, set query param to
`languageinheader=1` to see the new treatment. Set query param to
`languageinheader=0` to see the old treatment. To bucket based on the
user's id or global user's id, don't set the query param.

* Moves the language in header config work that was previously in
ServiceWiring into a `LanguageInHeaderTreatmentRequirement` class so
that unit tests can be done on most of the logic that determines whether
the language in header will show.

* Adds logic to bucket user based on [global] user id.

Bug: T280825
Change-Id: Id538fe6e09002fae6c371109769f3b7d61e7ac6d
2021-05-04 14:41:53 -06:00
libraryupgrader 932c8d541e build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

Change-Id: Ib71722afb42c300ec3d6a3cd3bfab7eddde18bdf
2021-05-04 12:41:27 +00:00
Translation updater bot 1703243a76 Localisation updates from https://translatewiki.net.
Change-Id: Ic99976f71b7ff3accc3615a51fee52f4503f6578
2021-05-03 08:41:02 +02:00
jenkins-bot c6f92d6ae8 Merge "templates: Remove role deprecation HTML comments" 2021-05-01 15:20:28 +00:00
James D. Forrester 70e61dbd8a build: Switch node version to 10.24.0 now CI is on buster
Change-Id: I544f4266966b6ffbd2b43eae54570d452c9db237
2021-04-30 11:46:37 -07:00
Sam Smith 5998d82056 templates: Remove role deprecation HTML comments
Sending these comments to all users incurs small performance penalty on
both sides. Further, the intended audience for the comments is
vanishingly small when compared to all users and we have more direct
avenues to contact that audience, i.e. the Technical Village Pump.

Remove the HTML comments related to the deprecation of the
role="navigation|main" attributes on the navigation and main elements.

Bug: T281025
Change-Id: I4735c435fc31c5ba4fbf99e9d9bf12adc466b02f
2021-04-30 15:44:52 +01:00
Roan Kattouw 402b01e0ca search: Prevent double-escaping of messages passed to typeahead-search
The parameters passed to the typeahead-search Vue component don't need
to be escaped, they're already escaped by the Vue implementation. Use
.text() instead of .escaped() for the i18n messages passed to this
component, to prevent them from being escaped twice.

Change-Id: I5dcf442f6af181a99123bf7426743af01b097729
2021-04-29 11:34:48 -07:00
Translation updater bot 897769a04d Localisation updates from https://translatewiki.net.
Change-Id: I94c3a5b2baf2ea6fbd6bae09dc9b268fa83a98c5
2021-04-28 16:41:35 +02:00
Translation updater bot 1e4f513e60 Localisation updates from https://translatewiki.net.
Change-Id: I05bec89bdd8add4d7af62cee2d5c5cb5b42cf1df
2021-04-28 08:51:42 +02:00
Translation updater bot 1b80a0db16 Localisation updates from https://translatewiki.net.
Change-Id: Ic3f65a3716821b17dc95502a9d0ed73c0b040c84
2021-04-27 08:40:42 +02:00
Translation updater bot 0c5a3f7749 Localisation updates from https://translatewiki.net.
Change-Id: I98dc9ca6a1be9bb6658b30f529c98db219e477a9
2021-04-26 09:14:15 +02:00
Translation updater bot b55b6f4200 Localisation updates from https://translatewiki.net.
Change-Id: Ibf70bba15ba2b4c9f2c61200a63f9737fef8c22c
2021-04-23 08:39:15 +02:00
jenkins-bot 2acf0694c9 Merge "[search] Don't destroy #p-search element" 2021-04-22 20:14:21 +00:00
Translation updater bot 5fd01af17e Localisation updates from https://translatewiki.net.
Change-Id: I5baa90700f1a4feee4575caa6c0522874f1b89d3
2021-04-22 09:34:16 +02:00
jenkins-bot 5820fa0b18 Merge "Scope right-aligned dropdown menus to #right-navigation & .mw-portlet-lang" 2021-04-21 19:15:27 +00:00
Nicholas Ray 2ff3308ac4 Remove 'noexternallanglinks' check from `canHaveLanguages`
`noexternallanglinks` is a magic word that can be used to
suppress/modify the languages produced by wikibase [1]. Most importantly
though, languages can still appear even with the usage of this magic
word. Therefore, this check can be removed.

[1] https://www.mediawiki.org/wiki/Wikibase/Installation/Advanced_configuration#noexternallanglinks

Bug: T277517
Change-Id: I1f532b3e669564f570b47451693ddb15757a6101
2021-04-21 10:45:06 -06:00
Sam Smith 9914d813d6 [search] Don't destroy #p-search element
The #p-search element is present in at least the Vector, Vector V2,
Timeless, and Monobook skins. This is because the HTML for the element
is generated in MediaWiki Core. At the very least, the
SearchSatisfaction instrument relies on the element always being
present.

Update the skins.vector.search module to simplify the App component
template so that it doesn't render a div#p-search element and mount that
component on the #searchform element instead.

Bug: T274869
Change-Id: Ifde679b62484fda7661fded2d978b78adac9f5da
2021-04-21 14:01:56 +01:00
Translation updater bot 90da534616 Localisation updates from https://translatewiki.net.
Change-Id: I93bb9656c6c06ea3d0f69246e5fa8a3abbea141b
2021-04-21 08:54:55 +02:00
jenkins-bot 83c92290ae Merge "build: Update 'svgo' to latest" 2021-04-19 13:50:39 +00:00
Translation updater bot 94b565a208 Localisation updates from https://translatewiki.net.
Change-Id: I440051ebab3844e22203bd9d0fcf79413b81324d
2021-04-19 08:54:44 +02:00
Volker E 2b5c18d7c9 build: Update 'svgo' to latest
Also change script name to 'minfiy-svg' to align with other npm 'svgo'
using products and to improve readability for non-native speakers.

Bug: T278656
Change-Id: Ib2a8a251a48ea99c8019d63b4f2586fea4079021
2021-04-18 14:51:48 -07:00
jenkins-bot e637cef2c2 Merge "Add config for language in header for logged in/out users" 2021-04-16 17:49:43 +00:00
Clare Ming 8cab50874c Add config for language in header for logged in/out users
Register updated requirement for language in header for logged in and logged out users in Vector's ServiceWiring file. Make VectorLanguageInHeader backwards compatible to handle boolean values when registering LanguageInHeader feature. Update VectorLanguageInHeader variable to array in config to handle different logged states.

Bug: T277588
Change-Id: I37a3a01e83f051cf0679769c8b9b5b41f00d6d72
2021-04-16 10:38:28 -06:00
Translation updater bot 48eecb2d18 Localisation updates from https://translatewiki.net.
Change-Id: I551e3fa999bc747f9048092402b51f38e4bbc265
2021-04-16 09:52:10 +02:00
jdlrobson afaa02ae42 Adjust floating override
Follow up to I3234e7712b8c111b070c35e38425c865ff7213f9
Do not disable the feature entirely as it has other purposes.

Bug: T280260
Change-Id: I47d16eb8186efa83e158713d852b443bce9aee1c
2021-04-15 17:18:29 +00:00
libraryupgrader e352b94055 build: Updating npm dependencies
* eslint-config-wikimedia: 0.19.0 → 0.20.0
* ssri: 6.0.1 → 6.0.2
  * https://npmjs.com/advisories/565

Change-Id: I4db94efccd2d6b58b994b080a99c5c066b829892
2021-04-15 13:54:37 +00:00
Jan Drewniak f52c2f8a4a Scope right-aligned dropdown menus to #right-navigation & .mw-portlet-lang
Removes the global rule for right-aligning the Vector dropdown menus
and instead scopes that alignment to dropdown menus that appear
inside #right-navigation and the language button in modern Vector.

Bug: T275158
Change-Id: I6c00ccc365f70682841d9eda9d31bbe25c757aa0
2021-04-14 23:31:59 +02:00
Translation updater bot 50dcf4f7a5 Localisation updates from https://translatewiki.net.
Change-Id: I7dd1498a6d8f2ae4f22345e241e84d62be5b8e66
2021-04-13 09:23:44 +02:00
jenkins-bot dd19a1924c Merge "Reorganize LESS files to match ResourceLoader conventions" 2021-04-12 20:45:43 +00:00
Translation updater bot bf80910a79 Localisation updates from https://translatewiki.net.
Change-Id: If236b8fbf6ec044ce821713cb8bc882d4c36c7e2
2021-04-12 08:41:53 +02:00
Translation updater bot 7687748dc0 Localisation updates from https://translatewiki.net.
Change-Id: I2c313e7e737d1bbd2d8f1af76d7384ab0c24cf9a
2021-04-09 09:01:25 +02:00
Jan Drewniak edd2f4ff85 Reorganize LESS files to match ResourceLoader conventions
Separating most LESS files into 2 ResourceLoader modules and a common
folder:

- skins.vector.styles
- skins.vector.styles.legacy
- common

This changes aims to clearly separate the old (“legacy”), the new
(“modern”) and the common styles which were previously all placed under
`skins.vector.styles/`.

Inside each directory are separate folders for `layouts` and
`components`.

The entry files, `skin.less` and `skin-legacy.less` are moved into the
specific folders and a third, `common.less` entry file is created that
contains the common imports for both old and new Vector.

Aliases have been added to the Storybook Webpack config to avoid adding
the story file changes to this patch. Images coming from CSS `url()`'s
have also been temporarily disabled in Storybook until Storybook can be
upgraded to use Webpack 5, and use array values for aliases, in a
follow-up patch.

This patch also slightly changes a footer layout specific rule so that
existing `padding` remains unchanged in rendering due to new common and
component structure.

Bug: T264309
Change-Id: I1cd2681a2b61edb7be56c38f9bb3994827d7e322
2021-04-08 15:47:56 +01:00
libraryupgrader 2e9917d587 build: Updating y18n to 4.0.3
* https://npmjs.com/advisories/1654 (CVE-2020-7774)

Change-Id: I69ab4c5db75906cb6b774aadf772a47cdbce9cdf
2021-04-08 09:10:48 +00:00
Translation updater bot 7bbe0e1df6 Localisation updates from https://translatewiki.net.
Change-Id: I0a1246d8046d1edf891cc6d51cd34bcac93a89c1
2021-04-08 08:42:48 +02:00
Translation updater bot ec6bca52ee Localisation updates from https://translatewiki.net.
Change-Id: Ieefae3f13c641ac58859e0d9df47086038e8ecab
2021-04-07 08:54:20 +02:00
jenkins-bot 2e8f193072 Merge "Remove redundant mw-indicator styles from `layout-default.less` and `layout.less`" 2021-04-06 21:25:04 +00:00
Translation updater bot fcdc1cd80b Localisation updates from https://translatewiki.net.
Change-Id: I7021fbaffd6142087793eeb6c162a5a717e8d820
2021-04-06 12:06:01 +02:00
jdlrobson bdd7eaacf1 [legacy] Restore old floating style inside Vector
This is a modified revert of Ia1eec412111e8f6af3b45affdc186d9eafd4262c.
This is not applied to modern Vector, for reasons given on ticket.

Bug: T279008
Change-Id: I3234e7712b8c111b070c35e38425c865ff7213f9
2021-04-05 15:07:07 -07:00
Bernard Wang 55fdf38714 Remove redundant mw-indicator styles from `layout-default.less` and `layout.less`
Bug: T278362
Change-Id: I76f39a9f4cf7404e7d50a272ebce08d53594ef5f
2021-04-05 16:58:41 +00:00
jenkins-bot 1b42cd8dd4 Merge "[styles] LanguageButton: Amend icon color by setting opacity" 2021-03-30 23:10:51 +00:00
Volker E 5a1a382c17 [styles] LanguageButton: Amend icon color by setting opacity
Amending icon color by setting `opacity` accordingly to Design Style
Guide requirements.
Also using `em` base sizing for accessibility reasons in order to
make icon resizable on user text zoom preferences. And adding some
comments and mediawiki mixin usage.

Bug: T277660
Change-Id: Ia226857a38d3b3d5b4583e95905ef55e406c5cb2
2021-03-30 22:13:50 +00:00
jenkins-bot d6b7ef0a8e Merge "Hide languages-in-header button when no additional languages" 2021-03-30 18:23:55 +00:00
Jan Drewniak 980c8453ce Hide languages-in-header button when no additional languages
Hides the languages-in-header feature if there is only one
available language.
Also factors the additional classes required for the language
button into a separate function.

Note: Hiding the language button is a temporary solution
until T275147 is resolved.

Bug: T276950
Change-Id: I241abc6061bba12a6a209074fa4c2d2c89cea930
2021-03-29 23:07:26 +00:00
jenkins-bot 15e343dede Merge "Clean up VectorHooksTest" 2021-03-29 20:20:03 +00:00
DannyS712 7dfec540ec Clean up VectorHooksTest
Fix order of parameters in assertions.
Remove unneeded "\".
Make constant a class constant.

Change-Id: If372dec96b54d466a066163420c6fd9da177c66c
2021-03-27 02:25:22 +00:00
Translation updater bot c1a6d14fe9 Localisation updates from https://translatewiki.net.
Change-Id: I053d9f262c5947827570aa5a94c9980a8838d336
2021-03-26 08:53:07 +01:00
jenkins-bot d29bdb86bd Merge "build: Update SVGO to latest v2.2.2 and re-crush SVGs" 2021-03-25 23:17:31 +00:00
Ammarpad b7bf9a88a3 Use content-parser-output RL SkinModule feature
Require MW 1.36

Bug: T277218
Depends-On: I52f752aa782b09a51e2165300cc75d0e47fa3351
Change-Id: Ia1eec412111e8f6af3b45affdc186d9eafd4262c
2021-03-25 17:34:28 +00:00
Volker E 5734191840 build: Update SVGO to latest v2.2.2 and re-crush SVGs
SVGO v2.x changed configuration to JS, amending configuration.
Also re-crushing SVGs.

Change-Id: Id6379e06e6aa1c25760f8489166d354fca25cd52
2021-03-25 09:19:42 -07:00
jenkins-bot 734ced999b Merge "[styles] Remove `margin` normalization already covered in 'normalize' module" 2021-03-24 21:55:36 +00:00
Volker E e5b652852e [styles] Remove deprecated `.box-shadow()` mixin calls and cleanup vars
Removing calls to deprecated `.box-shadow()` as basic browser support
is now given unprefixed. In the course we also replace deprecated
vars with already available ones since MW v1.35 following unified
name scheme on both, box shadow and border ones.

Change-Id: Iae353c934c0995c0b6b2635761352685eb91accb
2021-03-24 14:03:25 -07:00
Volker E c8cd609862 [styles] Remove `margin` normalization already covered in 'normalize' module
Has been introduced before 'normalize' module, now it's time to remove
duplicated style property.

Change-Id: Idff74430655c29b67dfccf97a22f53caaee34155
2021-03-24 13:33:19 -07:00
Jan Drewniak 88dcdab6db Removing temporary `.body` selectors.
Per the comment, it's been a week. These selectors should be removed.

Change-Id: Ifebb7939596827fc8ade7213f3acf6bf80eebb40
2021-03-24 13:53:48 +01:00
Translation updater bot 2b0141cdef Localisation updates from https://translatewiki.net.
Change-Id: I0535595c34734fac16d428f0a0014bdccd5eb81f
2021-03-24 08:32:09 +01:00
jenkins-bot bd6770014e Merge "Inform anonymous A/B test by tracking time from navigationStart" 2021-03-23 18:29:36 +00:00
jdlrobson b183ac3bf3 Inform anonymous A/B test by tracking time from navigationStart
This will inform us on the approach taken in
I315ea30b88e43f3df29b0a0b37907272ec77d0a7

Additional change:
Flesh out TypeScript with eventLogging interface

Bug:  T275807
Change-Id: I9789cd1dfab5181fa093bce46c5c9b0d338339f5
2021-03-23 10:40:20 -07:00
Translation updater bot 72518acb18 Localisation updates from https://translatewiki.net.
Change-Id: Ifd7c5e1bcfe5b758cee37982de2bb652365fb665
2021-03-23 08:27:26 +01:00
Translation updater bot a425c942a7 Localisation updates from https://translatewiki.net.
Change-Id: I1f23f2b3ad9e2462973cafa2d96791bbeb854178
2021-03-19 08:28:37 +01:00
Translation updater bot 06f82148a9 Localisation updates from https://translatewiki.net.
Change-Id: If1660001e34223a30288451676d1e0e14155cac1
2021-03-17 08:28:30 +01:00
jenkins-bot 991e4b0587 Merge "build: Updating eslint-config-wikimedia to 0.19.0" 2021-03-15 18:47:37 +00:00
jenkins-bot 0954ff6e2a Merge "tests: clean up requirements tests" 2021-03-15 15:43:17 +00:00
Translation updater bot 4a4d390e5e Localisation updates from https://translatewiki.net.
Change-Id: Ibfe7cce1f76dc79a2fd6b4d25c0bb35cf6b6ef80
2021-03-15 08:44:30 +01:00
libraryupgrader f01df6f803 build: Updating eslint-config-wikimedia to 0.19.0
The following rules are failing and were disabled:
* compat/compat

Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I12c1a88cef8e2c95bed496628d2fe74d031f8278
2021-03-15 04:57:07 +00:00
libraryupgrader 02c2268716 build: Updating dependencies
composer:
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* prismjs: 1.19.0 → 1.23.0
  * https://npmjs.com/advisories/1638 (CVE-2021-23341)
* elliptic: 6.5.3 → 6.5.4
  * https://npmjs.com/advisories/1648 (CVE-2020-28498)

Change-Id: Ibc3cd2c3772dc89f053a6a695a7717a391c9ee32
2021-03-12 08:32:23 +00:00
Translation updater bot 825c494848 Localisation updates from https://translatewiki.net.
Change-Id: Id8cda8aea8ce293f7b0a23688c260244388c3173
2021-03-11 08:42:31 +01:00
DannyS712 568dbebd47 tests: clean up requirements tests
Convert to unit tests, no integration needed
Use data providers

Change-Id: Ife758952b6bf8a046eddf4bdc478437564f0bc22
2021-03-10 14:45:24 +00:00
Translation updater bot d17aed2727 Localisation updates from https://translatewiki.net.
Change-Id: I8bf9eedaeb4f62c7d6ad4f48ed3e58f5c98d48b4
2021-03-10 08:34:29 +01:00
jdlrobson 127422e4c6 Language button skinStyle overrides
* ULS makes the language button text font weight normal on bold,
reset this.
* Because our icon is non-standard our left margin is also non-standard.
Adjust.
* Remove opacity on language button (it applies to more menu because of
the label text color)

Bug: T268241
Change-Id: Ie9b275a857e8bcb7b767446f0523954134751659
2021-03-08 11:11:07 -08:00
jenkins-bot c84d5d38d5 Merge "[modern] Usability improvements to dropdown" 2021-03-08 16:40:52 +00:00
Translation updater bot f90c5d5804 Localisation updates from https://translatewiki.net.
Change-Id: Ic9401e56d2268c5b330ab641b84abb2ec4f85bbc
2021-03-08 08:49:45 +01:00
jdlrobson 41d30615a2 [modern] Usability improvements to dropdown
* Don't reveal the menu on hover
* Don't flip the dropdown arrow when open
* Menus close when clicked outside

Bug: T275681
Change-Id: I36f5c46422725a935c962be3194fd37bde1fa769
2021-03-07 18:59:41 +00:00
jdlrobson c9c00e71b0 Disable margin in ext.uls.compactlinks module
On beta cluster, ULS is adding a margin to the language button
meaning it is not vertically aligned.

Follow up to ac62386909

Change-Id: I4b85c391543078da7ef813cf4ddaf30d92be3b8d
2021-03-04 23:25:55 +00:00
jenkins-bot e827eb0518 Merge "Languages should not appear in side bar on modern Vector special pages" 2021-03-04 00:04:51 +00:00
jdlrobson 0d2e38375c Languages should not appear in side bar on modern Vector special pages
Follow up to 52edeee

Bug: T273144
Change-Id: I22b33d2090dcd814658ecc2f155d86a5b1791fc3
2021-03-03 22:48:00 +00:00
jenkins-bot cf187653a8 Merge "Correct the height of the language button" 2021-03-03 19:53:23 +00:00
jdlrobson ac62386909 Correct the height of the language button
In wvui quiet buttons have a minimum height of 32px
Given the importance of vertical alignment, here inside Vector
seems the best place to define this.

Bug: T268241
Change-Id: I95b61a0c239ccfb7fa1b2ddaa6980ad2737e8f26
2021-03-03 10:03:17 -08:00
jdlrobson 1d01f70e32 Refactor: Separate Language button code into its own JS file
Having this outside the init function makes the code more
easy to understand.

Change-Id: I6bdcb385738ceb986e21075b006db40567386e7b
2021-03-03 00:13:45 +00:00
jenkins-bot 9bdd6c0130 Merge "[icons] Amend 'search' icon" 2021-03-02 18:40:52 +00:00
jenkins-bot 175723f2e5 Merge "Disable language button on certain pages" 2021-03-02 08:04:34 +00:00
jdlrobson 8d8e2d85e6 Language button is quiet with focus, active and hover states
* Add mediawiki ui button styles to Vector and convert language
button to a quiet button
* Restore the arrow for language button with ULS
* Vertically align button to first line of header
* Add a storybook entry for LanguageButton

Additional changes:
* Fix issues revealed by storybook - menu dropdown should
reset generic typography rule for `ul` tags
* Allow quotes usage in storybook without disable rule

Bug: T268241
Change-Id: I483350084fb46a51c50af6aab78c62db6d02df89
2021-03-01 20:01:45 +00:00
jdlrobson 52edeeea1c Disable language button on certain pages
The logic is based on the existing logic for the "Add language links"
however with the additional constraint that the page is not a special
page.

To avoid multiple expensive calls to getLanguages method,
the getLanguagesCached method is introduced.

Bug: T273144
Change-Id: I1085efca1e10c9b6f1305c2238664e0b2ec69123
2021-03-01 18:03:26 +00:00
Translation updater bot b97ff7e827 Localisation updates from https://translatewiki.net.
Change-Id: I203577c22c2a617d033890a3ab206cb183f679a4
2021-03-01 08:57:06 +01:00
Umherirrender ee4b7fb9b5 build: Updating mediawiki/mediawiki-codesniffer to 35.0.0
Change-Id: If3ede1c45ba7cbbcd2ed91ff600d4c2396087130
2021-02-26 23:21:17 +01:00
Translation updater bot 763ba39a09 Localisation updates from https://translatewiki.net.
Change-Id: I3a039232b53274efb9f648731e09f4309bae7f19
2021-02-25 08:41:01 +01:00
Jan Drewniak d8bdba0026 Reorganize layout variables
Reorganizes the variables into sections in layout.less.

Also removes a few variables that were only used once for the calculation
of other variables (e.g. `@min-width-container-base`,
`@margin-horizontal-sidebar-button-icon-ems`) as well as
variables that were just multiplied by 2, e.g.
`@padding-horizontal-page-container-total`.

Change-Id: I4a3fc3111f7983a55b7992bee09c03a7ab4092b8
2021-02-24 22:23:07 +00:00
Volker E 35ce451498 [icons] Amend 'search' icon
Following Design Style Guide guidelines slightly decreasing icon on
canvas in accordance with designers.

Bug: T213580
Change-Id: I0ea2426f4e0873b9aac12fe2143203a765e42c3a
2021-02-23 13:01:59 -08:00
Translation updater bot 31a9e6feff Localisation updates from https://translatewiki.net.
Change-Id: If1426f962e1edb124851d753de8ba3063eedd419
2021-02-22 08:57:55 +01:00
Translation updater bot 159ad59806 Localisation updates from https://translatewiki.net.
Change-Id: Ib9b48576d85a71238024974a0076c4f55491ff0a
2021-02-19 08:34:47 +01:00
Translation updater bot 10364af3b2 Localisation updates from https://translatewiki.net.
Change-Id: Ic190490375dd9730946d2bd1aaf95b0f836b9985
2021-02-16 08:33:34 +01:00
Translation updater bot eb28fba3e7 Localisation updates from https://translatewiki.net.
Change-Id: Ica3fb28f0c32ce99f60156fd54ca6f94acbb4b3a
2021-02-15 10:10:20 +01:00
Nicholas Ray f549eb58d2 Replace `mediawiki.util` dependency with `mediawiki.Uri` in `skins.vector.search` module
I can't find any usages of `mw.util` in the Vector search code, but
there is a usage of `mw.Uri` in instrumentation.js.

Change-Id: I358295301403bc33be3a183392ed9e39c2378f6c
2021-02-12 11:23:59 -07:00
jdlrobson 4035d3575f Move resource loader definition to skin.json
Now `wvui` is in core, there is no need for this to be conditional.

Depends-On: I91db16946e7ea46f69a6b57b116962f77ce3cd20
Change-Id: Icceaefc63d227ca772a986ad2c6ce28cbdb0a7d6
2021-02-12 01:49:21 +00:00
jenkins-bot fdd713b244 Merge "Search results should overlay personal tools" 2021-02-12 01:36:06 +00:00
jdlrobson a4f126a76f Search results should overlay personal tools
This removes the problem with the Echo icon being visible on top
of search when the browser is resized to 500px with Echo installed.

Change-Id: I6aba17cb85979617a55e9879518eacdb916ac18b
2021-02-12 00:53:50 +00:00
jdlrobson daf6a798c4 TypeError: data.collapseCondition is not a function
Lots of logspam relating to this error. If data is {}
this error will be thrown which is possible given the
code.

This is possible if a gadget rewrites tabs

e.g.
$( '#p-views ul' ).remove().append($('<ul>'))

Change-Id: I0d3f391fccdb38758fb3cfd7e84889143d479b1e
2021-02-11 21:19:28 +00:00
jdlrobson 6f16af4212 Round up to nearest kb
The precision we are currently using leads to lots of issues with
core changes and as we grow the new vector.

I think checking in at every 1kb margin seems like a better state
of play for now.

Bug: T270883
Change-Id: Iaa4fb44a471777fdebfb906c465ea67b5bdb3903
2021-02-11 16:51:41 +00:00
jdlrobson 591fd316cf Switch back to skin version 1 for now
Per conversation with Bartosz this should have been done in an
explicit commit and probably needs better messaging.

Change-Id: I63f286d1c22dcb7d0bad956f01e8482e5111face
2021-02-11 14:20:09 +00:00
Translation updater bot febecb5db2 Localisation updates from https://translatewiki.net.
Change-Id: I8cc97b71de43e3ddde1fd726bb7908dbf04d8e89
2021-02-11 08:43:52 +01:00
Jan Drewniak e1f2d2896f Convert max-width layout to relative units
The max-width layout uses a mix of ems and px.
the var `@max-width-margin-start-content` uses ems to define a max
width breakpoint, however the workspace and content containers
`@max-width-content-container` are defined in px.

This leads to layout bugs like the sidebar ovelapping when the base
em unit is not the assumed 16px.

This patch changes the layout px units to ems.

(There should be no visible difference at the assumed 16px font size).

Bug: T270104
Change-Id: If8f284dc5e27c8e1c10f3a6897b7a5e4b8bb357d
2021-02-10 22:58:14 +01:00
jenkins-bot b4a8287589 Merge "Simplify responsive Vector implementation" 2021-02-10 14:29:21 +00:00
jdlrobson 68b989efb6 Simplify responsive Vector implementation
Vector has a wgVectorResponsive flag. This adds a ResourceLoader
module as well

I propose the configuration is repurposed to disable the min-width
on Vector and enable the viewport tag. This will allow us to use
test.wikipedia.org to test Vector at lower resolutions in future
as well as provide a suitable option for 3rd parties wanting to run
a responsive version of Vector that can be opted into using:

```
$wgVectorResponsive = true;
$wgVectorDefaultSkinVersion = '2';

```

As part of this change, the default skin version is set to 2, in
preparation for the next MediaWiki release. Note on Wikimedia wikis we
explicitly set this version so this will not impact any of our deployed
wikis.

Bug: T242772
Change-Id: I878920f49d18c5d60efd3ac45dc7912d2c62086e
2021-02-10 13:05:14 +00:00
Translation updater bot 28388de910 Localisation updates from https://translatewiki.net.
Change-Id: I0910a73a0735d78bed4122b1f61bc86b54e874dd
2021-02-10 08:40:50 +01:00
Translation updater bot e220bc9e74 Localisation updates from https://translatewiki.net.
Change-Id: Ic4ff4f00e898e60b12e6b52ee8c85be61b8592c6
2021-02-09 08:44:05 +01:00
Nicholas Ray b8f1d8c8a5 Bring back hoverability of dropdown menu (e.g. "More" tab)
Looks like I72165ba3784da3fcc9d1dd7076b3a6c96e670a2f removed the hover.
This brings it back.

Note this also makes the language button hoverable and will probably
need an additional specific selector (although the language button has
not been enabled anywhere yet)

Bug: T273143
Change-Id: Iac0539313eca5ba8d7ac165d31d2c028e803eacc
2021-02-08 23:11:43 +00:00
jdlrobson 0e0ec99c81 Language button - design fixes
* change color to #202122 (currently it's #54595d)
* padding-right for button text should be 30px (currently it's 40px)
* language icon seems to be displaying at 21x21px (should be 20x20px)
* language icon's margin-right should be 7px (currently is 14px)
* the down arrow should be 10px from the right edge of the button (currently it's 8px)
(requires core change in 661497 to apply)
* increase font-size to 16px (currently it's 13px)
* add a max-height of ~65vh (or something similar)
* add overflow: scroll
* add a border-top (since the menu is wider than the button)

Bug: T268241#6805123
Change-Id: I8891556cb82450db77b90837eeeb72ac78926e29
2021-02-08 19:03:02 +00:00
jenkins-bot 0e0d04b92b Merge "Add mw-interlanguage-selector class to language button & hide menu/arrow when appropriate" 2021-02-05 23:22:01 +00:00
Nicholas Ray e3abac06a6 Add mw-interlanguage-selector class to language button & hide menu/arrow when appropriate
* We add the `.mw-interlanguage-selector` class to the
.vector-menu-heading in the server rendered HTML. `ext.uls.interface.js`
later attaches a click handler to this selector that loads the rest of
ULS.

* We hide the dropdown arrow for js users and only show it again if
ext.uls.interface module isn't installed or is not being loaded.

* When the `ext.uls.interface` module has been loaded, we hide the checkbox
and checkbox hack menu in favor of showing the ULS popover.

Additionally:

* Adds '.vector-menu-heading' class to menu headings.

* Change h3 selector to `.vector-menu-heading`.

Bug: T273232
Change-Id: I6f4572c16ca4096dcda3aac4d585003b93dcccfa
2021-02-05 15:03:07 -07:00
Umherirrender 44cdd3290d build: Remove maxWarnings: 0 from eslint configuration
This interferes with LibUp's ability to automatically downgrade newly
failing errors to warnings and is a deviation from the settings we
typically use.

Bug: T263922
Change-Id: Ia44038a1df1052f633ce18ac6f35253e870ab0c6
2021-02-05 20:16:27 +01:00
Translation updater bot d74ab5ce5c Localisation updates from https://translatewiki.net.
Change-Id: Ia940248550ab2f7ef3a2698e3b10a5b2814f9118
2021-02-05 08:49:16 +01:00
jenkins-bot 3cb3b08ee5 Merge "Style the language button" 2021-02-05 00:06:21 +00:00
jdlrobson 98e7bce753 Style the language button
For now the core button mixins are used. In the longer
term we should aim to leverage wvui.

Bug: T268241
Change-Id: I334af039567c52462bcb4c15f07242c6de8eeace
2021-02-04 23:02:48 +00:00
jdlrobson 36eda30e0f Language button should use a new id to identify itself
This breaks existing integrations with extensions which will need
to be revisited as part of this redesign.

Change-Id: Iabf627e6926d4574f27448400d76210386ebdaa2
2021-02-04 20:27:13 +00:00
Translation updater bot d50eef9cf6 Localisation updates from https://translatewiki.net.
Change-Id: I678abaa7e2df7f484e823cebfb2c745e7af17514
2021-02-04 08:45:50 +01:00
jenkins-bot 0c330185b1 Merge "Add language icon to language button" 2021-02-04 04:03:32 +00:00
jenkins-bot 497b0aad8a Merge "The label of the language button refers to the number of languages" 2021-02-04 02:59:48 +00:00
Jan Drewniak 5014c17570 Place indicators under page title
Fixes error in 03d61e12, indicators should be placed below
page title.

Bug: T248761
Change-Id: I61dcef0567373f28fd479b21ffa940a6e223ac16
2021-02-03 23:19:30 +01:00
jdlrobson f083eb2716 Add language icon to language button
The sidebar currently uses mw-ui-icon so we continue this
practice, however we provide a general rule to ensure all icons
rendered through it default to 20x20. This didn't impact the side
bar icon as that already specifies a height of 20px.

Bug: T268241
Change-Id: I6f8e8400da048a97cbf59c3e6ad918763fc91041
2021-02-03 15:38:30 +00:00
jdlrobson ef0ab0724e The label of the language button refers to the number of languages
Instead of "In another language" the button label will be
"0 languages", "1 language" or "X languages"

Bug: T268241
Change-Id: I293a1d5f4885f76cc5f62169ee24b52c234f9229
2021-02-03 15:34:43 +00:00
jenkins-bot 4b171bf74f Merge "After portlet is included in display of menu dropdown" 2021-02-01 11:02:44 +00:00
Translation updater bot 6a6e95d404 Localisation updates from https://translatewiki.net.
Change-Id: I5f0cd5aefe32a7b6d40b6c490f1acd8819e72518
2021-02-01 08:51:54 +01:00
Translation updater bot d8dbdf101a Localisation updates from https://translatewiki.net.
Change-Id: I8a0a6aba50796b9bb75126439fa9d883d2b19ee2
2021-01-29 08:40:42 +01:00
jdlrobson 3ecc89e5c5 After portlet is included in display of menu dropdown
Bug: T273143
Change-Id: I72165ba3784da3fcc9d1dd7076b3a6c96e670a2f
2021-01-28 14:08:36 -08:00
Translation updater bot eb1d6fd492 Localisation updates from https://translatewiki.net.
Change-Id: I2be6545bb76b49c3f3c8de08ca8e1536e062aa14
2021-01-28 08:39:42 +01:00
jenkins-bot 625c4bd099 Merge "Move #mw-panel into #mw-navigation" 2021-01-27 21:26:31 +00:00
Nicholas Ray 16b34aa750 Move #mw-panel into #mw-navigation
Not only might this make more sense from an accessibility standpoint
(because sidebar is also part of navigation and there is a heading with
that name), but it should also hide the sidebar when printing as there
are core styles that hide #mw-navigation.

[1] 3b381b71e9/resources/src/mediawiki.skinning/commonPrint.css (L31)

Bug: T265217
Change-Id: I7f936defa177ba172e4253ee6450040ffa52e257
2021-01-26 19:31:43 -07:00
Nicholas Ray 1e7ed6b2e1 Make expanding search input dependent on $wgVectorWvuiSearchOptions
Per T270202#6767750 the input should expand when focused before WVUI
loads. However, the input should *only* expand when `showThumbnail` is
`true` in `$wgVectorWvuiSearchOptions` to match how its done in WVUI
where it takes into account the size of the thumbnails. When
`showThumbnail` is false, it should not expand as the input won't match
WVUI and the WVUI load transition will be jarring.

To test locally, toggle between true/false in your LocalSettings.php:

```
$wgVectorWvuiSearchOptions = [
  "showThumbnail" => false,
];
```
Bug: T270202
Change-Id: I70277c1082a504fbd5f6023e9873e8071de7e35d
2021-01-26 17:37:22 -07:00
Nicholas Ray 8c76a17e43 Move Wvui Search A/B Logic to FeatureManager
FeatureManager allows the logic to be centralized and allows clients to
ask about its state. For instance, SkinVector will make use of it in
I70277c1082a504fbd5f6023e9873e8071de7e35d.

Also:

* Adds WvuiSearchTreatmentRequirementTest to test A/B logic

WvuiSearchTreatmentRequirement/Test logic are adapted from
I878239a85ffbecb5e78d73aed5568c56dbd7d659.

Bug: T270202
Change-Id: Ia02349a7b41c7caf26fbd728e0be7d47488b97e5
2021-01-26 17:36:37 -07:00
Nicholas Ray 2789e27a29 Correct config comment
`VectorUseCoreSearch` was changed to `VectorUseWvuiSearch` in
I3a063e0b085765ea1db3c4478fb30c11b0942b75.

Change-Id: Icc9f944ea695999133293bc9e90ac0818f746191
2021-01-26 13:59:41 -07:00
Sam Smith 746315bb5b Add search widget treatment A/B test
If the VectorSearchTreatmentABTest config variable is truthy and the
user is loged in, then pick the Core treatment (defined in the
mediawiki.searchSuggest RL module) or Vector's Vue.js-based treatment of
the search widget based on their user ID. If not, then fall back to
picking the treatment based on VectorUseWvuiSearch.

Supporting changes:

* Update initSearchLoader() in skins.vector.js/searchLoader.js to check
  whether the body.skin-vector-search-vue exists

* Remove wgVectorUseWvuiSearch from the skins.vector.js RL module's config

* Update the performance-related metrics collection to check which
  module is being loaded rather that use the above

Bug: T261647
Change-Id: Idc978392f5db14f0ae2b06ade0175fe534f4ae70
2021-01-26 12:02:01 +00:00
Translation updater bot 62376398d6 Localisation updates from https://translatewiki.net.
Change-Id: I2e8370671e5ad89b32e55a4e4a66541bfa427551
2021-01-26 08:55:39 +01:00
jenkins-bot 93578b0d77 Merge "Create .mw-body-header element for body content" 2021-01-26 02:56:20 +00:00
Jan Drewniak 03d61e12c9 Create .mw-body-header element for body content
For language-in-header feature, edits the <header> element to
contain:
- page title,
- language selector
- tagline (siteSub)
- Indicators

These elements are associated with header/meta content so grouping
them inside one header element makes sense semantically.

Bug: T248761
Change-Id: Ief6c4936d1ebe381432369f8d86419da5f7c6cae
2021-01-25 23:57:47 +01:00
jenkins-bot 27ad6eab12 Merge "Rename `wgVectorUseCoreSearch` to `wgVectorUseWvuiSearch`" 2021-01-25 22:47:49 +00:00
jenkins-bot 407036710c Merge "Align the menu dropdown list to the end of the "more" button." 2021-01-25 22:39:51 +00:00
jenkins-bot 162cf8449d Merge "Languages can be moved out of sidebar" 2021-01-25 22:38:12 +00:00
Jan Drewniak 4a959a6878 Align the menu dropdown list to the end of the "more" button.
Instead of aligning the dropdown list to the starting edge of the
"more" button, this aligns the dropdown list to the end of the
"more" button, preventing any potential horizontal scrolling.

The containing list box is right-aligned, but this does not affect
the text alignment.

Bug: T267325
Change-Id: I8b889f8314519b8c6a74c661aca773b9b546657b
2021-01-25 15:52:16 +00:00
Translation updater bot 3d1e510479 Localisation updates from https://translatewiki.net.
Change-Id: Ibdafaa4bbf1606865750f227e9f58045ce0a5552
2021-01-25 08:58:28 +01:00
Nicholas Ray 53f49c5c64 Rename `wgVectorUseCoreSearch` to `wgVectorUseWvuiSearch`
This allows better compatibility with FeatureManager (e.g. can use
requirements such as REQUIREMENT_LATEST_SKIN_VERSION). It will become
especially useful in I70277c1082a504fbd5f6023e9873e8071de7e35d and when
A/B testing search.

Bug: T270202
Change-Id: I3a063e0b085765ea1db3c4478fb30c11b0942b75
2021-01-22 16:25:46 -07:00
jdlrobson 355b188db4 Languages can be moved out of sidebar
A new config flag wgVectorLanguageInHeader is added to allow
us to render languages in sidebar or outside sidebar, in the
header.

it defaults to false to allow for further development and to
not disrupt the status quo.

To accomodate the new menu, a new header is added based on the design
in Minerva to contain the heading and language button. The language
button is floated to the right.

The new menu is not styled. That exercise is left for the follow up
task T268241

No caching implications of this change, as legacy and modern
experiences remain touched without changing the default value of the
new config flag

Bug: T260738
Change-Id: I5af1522cac3831c1c833388461fe254c03191f65
2021-01-22 09:10:49 -08:00
jenkins-bot 87dfbda424 Merge "Usages of page-langcode dropped for html-user-language-attributes" 2021-01-21 22:33:04 +00:00
jenkins-bot 0867954219 Merge "Allow more control over the max-width rules" 2021-01-21 19:27:10 +00:00
jdlrobson 05dc15954d Allow more control over the max-width rules
Bug: T260091
Change-Id: Ie534b0c34e240c588a4cc330898531f1d12df1f0
2021-01-21 18:51:12 +00:00
Raymond a002c3aeae Add missing / for self-closing input element
Consistency tweak, all other input elements do have the /

Bug: T272597
Change-Id: I9a4b44dda928a071634edcbea5cef2f19eef8881
2021-01-21 14:46:45 +01:00
Translation updater bot 5a1e23aecb Localisation updates from https://translatewiki.net.
Change-Id: I6f67998b13c892c815b4d08544726745f4218b8b
2021-01-21 08:34:42 +01:00
jdlrobson 68b52a77e2 Usages of page-langcode dropped for html-user-language-attributes
html-user-language-attributes contains not only the lang attribute
but also the direction. There doesn't seem any value in regenerating
just lang attribute

Change-Id: I93e8081be1e81adf16d40bff54f0cc22c7155dd7
2021-01-20 16:13:12 -08:00
Translation updater bot ebe37ca792 Localisation updates from https://translatewiki.net.
Change-Id: I44cd0cab7999fca03c84fbed9558efb418c7b6ae
2021-01-20 08:29:08 +01:00
Translation updater bot d7f764990f Localisation updates from https://translatewiki.net.
Change-Id: If68f43f743e6817ea4042b469f35a9a1fc6cdaf2
2021-01-18 08:44:48 +01:00
jenkins-bot db5f1ebc1d Merge "Use `pointer-events: none` on magnifying glass to prevent submit button behavior and tooltips" 2021-01-15 22:21:06 +00:00
Nicholas Ray 2d57153c08 Only override .mw-page-container horizontal padding on tablet+ viewport width
`.mw-page-container` currently has an intentional non-zero vertical
padding that was being overriden by tablet media query styles. Instead,
only override horizontal padding on tablet.

[1] d525e564db/resources/skins.vector.styles/layout-default.less (L169)

Bug: T271868
Bug: T270146
Change-Id: I736805c9febeb333ea682ba0c70b2ff4768ae397
2021-01-15 11:58:09 -07:00
jenkins-bot d525e564db Merge "Use padding margin-collapse hack instead of overflow" 2021-01-14 22:42:50 +00:00
Ed Sanders 9abf12bbfa Use padding margin-collapse hack instead of overflow
Using the overflow hack breaks scrolling logic in OOUI.

Bug: T271868
Bug: T270146
Change-Id: I4038164efe54a8fb847781a004af98ec74c92cdb
2021-01-14 14:18:38 -08:00
jenkins-bot b0c30102fb Merge "Remove min-height style from #searchButton, #mw-searchButton" 2021-01-14 22:16:18 +00:00
Volker E 26126d15e4 [styles] Ensuring correct rendering height of search button in Safari
Overriding weird UA styles to ensure maximum click interaction area on
search button in no-JS and JS environment.

Bug: T272089
Change-Id: I8600402e022c041da29b31bf828198843c2ad7c6
2021-01-14 13:22:01 -08:00
Translation updater bot 723d92d2a4 Localisation updates from https://translatewiki.net.
Change-Id: I4b2c83f91424c0cf77603816cae00af15a20293e
2021-01-14 08:53:50 +01:00
Nicholas Ray de88675570 Use `pointer-events: none` on magnifying glass to prevent submit button behavior and tooltips
Follow up from Ibab9992a6aa3a60f83324b40017b53fb061991d7 (please refer
to that commit message), but using `pointer-events: none` to remove all
submit button behavior (submit behavior, cursor change, and tooltip).

Bug: T270202
Change-Id: I2bd8e88f1f497cc3b2d88c7fdad33c812d13a40a
2021-01-13 16:25:03 -07:00
jenkins-bot 7273a5194c Merge "Change magnifying glass cursor from pointer to default (arrow)" 2021-01-13 22:50:02 +00:00
Nicholas Ray ef700c4a6a Set Vector search variables relative to @font-size-base factor and increase max-width
T270202 shows the correct dimensions of the search component having a
max-width of 500px and min-width of 350px but since we set the font size
of `#p-search` to `@font-size-base` [1], I suspect the search related
variables need to account for this factor as well.

This increases the max-width of search to 500px per the spec.

[1] 30eb683a70/resources/skins.vector.styles/VueEnhancedSearchBox.less (L23)

Bug: T270202
Change-Id: I13ad550734e8a5347ed70e4b3c33102b4a13bde7
2021-01-13 22:18:57 +00:00
Nicholas Ray ab4a41426d Change magnifying glass cursor from pointer to default (arrow)
Before WVUI loads, we show a magnifying glass at the start of the input
that visually mimics the magnifying glass start icon in WVUI's typeahead
search component. Unfortunately, this element is a submit button in
Vector instead of the inert span element used in WVUI.

Although the submit button is useful for no-js users, it might be
confusing for js users. Ideally, an inert element like a span would be
used instead, but that deserves its own ticket. As a temporary easy
stopgap, changing the cursor to be an arrow instead of the pointer might
make this less confusing and discourage clicks to it.

Bug: T270202
Change-Id: Ibab9992a6aa3a60f83324b40017b53fb061991d7
2021-01-13 15:15:32 -07:00
Isarra 538ccb24d8 Use {{link-mainpage}} in legacy sidebar same as new logo
Bug: T271873
Change-Id: I370d2ddfb233f882929f4d79ee4cfc690576ed85
2021-01-13 00:29:58 +00:00
jenkins-bot 4316db55d5 Merge "Vector should support lower 500px resolution" 2021-01-12 23:09:22 +00:00
jdlrobson 6f1c2cfd73 Vector should support lower 500px resolution
* Lower the min-width from Vector to 500px

At lower resolution per mock:
* Tabs converge into single grouping
* Search input is 150px
* Sidebar rushes content below

Drop rule for mw-content-container for special pages and history as it is already
accounted for in .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container
rule.

Bug: T264218
Change-Id: I14ee75bd173fb2de1e33067f95ce09deba5bf27a
2021-01-12 14:18:45 -08:00
jenkins-bot f45d8ee0c9 Merge "Fix z-index of navigation menus" 2021-01-12 18:24:27 +00:00
Nicholas Ray dd0199a060 Remove min-height style from #searchButton, #mw-searchButton
These buttons are already absolutely positioned with their `top` and
`bottom` styles set. More importantly, the min-height style is causing
the buttons to not be vertically centered in Safari.

Bug: T270202
Change-Id: I21b88af4313249d8b2b775c32d12aa1f65c2d0c2
2021-01-12 11:01:19 -07:00
Translation updater bot cafb003a57 Localisation updates from https://translatewiki.net.
Change-Id: I8332490bea347c8f89a32de1324d6f76b60bb1f4
2021-01-12 08:40:33 +01:00
jenkins-bot 8dea938e3d Merge "Don't blindly overwrite contentnavigation" 2021-01-12 06:15:31 +00:00
jenkins-bot b1d7f8f6dc Merge "Sync Vector styling with latest changes in WVUI" 2021-01-12 00:31:45 +00:00
Nicholas Ray 37f6ff02df Sync Vector styling with latest changes in WVUI
* In Iecc3eebf0dce495400ba3d644dce39186f4fa395, a border was applied to
`.wvui-typeahead-search` to make it appear like the input box contains
the search submit button. Because of this change, we can't apply a
max-width to #searchForm when WVUI loads as it will cause the border to
extend farther than it should. Instead, we apply the max-width/other
styles to `.wvui-typeahead-search` (WVUI search's root container) and
`#p-search`'s direct child after WVUI loads.

* In I0ec3dcedaea90b01fe94e3416ee68ea33b782b4b, the start icon was moved
1 pixel to account for the input's border. These changes sync with the
changes to WVUI.

Depends-On: I0ec3dcedaea90b01fe94e3416ee68ea33b782b4b
Bug: T270202
Change-Id: I0ffd0a9225a5a9b935e09748d78ac45b17623790
2021-01-11 17:02:45 -07:00
mainframe98 12ef2258c3 Don't blindly overwrite contentnavigation
Caused a failure in Ia1451e3e802441162eecfc5b7f6a7ba2ae72f377.

Change-Id: Ib4112364c173952eb363e52756f03693a2e03512
2021-01-10 19:25:12 +01:00
libraryupgrader 5d279c94d2 build: Updating npm dependencies
* bundlesize: 0.18.0 → 0.18.1
  * https://npmjs.com/advisories/1594 (CVE-2020-28168)
* github-build: 1.2.1 → 1.2.2
  * https://npmjs.com/advisories/1594 (CVE-2020-28168)

Change-Id: I09e83b5e92eb6beeaabc75d44e5582c1389d58e4
2021-01-08 04:48:46 +00:00
Translation updater bot 8190097516 Localisation updates from https://translatewiki.net.
Change-Id: I88e27d44c80de490dbc64976932d75c705973ce5
2021-01-07 08:40:08 +01:00
jdlrobson d1fa2e6090 Fix template references
Seems less risky to fix this rather than revert, given a revert will
just mean more risk when we do it again, especially if the codebase
changes again and future manual rebases fail.

Bug: T271364
Change-Id: I7f63d6f07b6b715a9f31c83d572814da33ff2796
2021-01-06 13:56:01 -08:00
jenkins-bot f6e790b118 Merge "Simplify menu code" 2021-01-06 16:28:25 +00:00
Translation updater bot 9f5d348d8e Localisation updates from https://translatewiki.net.
Change-Id: Ibe2d253579f051aa10a511fb33e38fab9da1b5ff
2021-01-05 08:29:29 +01:00
jdlrobson 9f1a1fa829 Simplify menu code
SkinMustache in core provides most of what is required for Vector to
generate its menus.  In the interest of having a canonical source of
truth for menus across all skins, Vector should use this data.

To ensure the HTML generated is (mostly) the same after this patch to
prior, a few modifications are necessary:

* The data from core is decorated so that Vector can continue having its
  own custom class names on menus. This is done using the
  decoratePortletClass method.
* There is no support for a menu having a header representing the
  selected menu item, as is currently the case with variants. This is
  achieved via an extension to getPortletData. It's assumed that later
  when variants are merged with languages, this can be removed.
* Menus are agnostic to how they are displayed, so we must continue to
  add the is-dropdown template variable to drop down menus. In future we
  may want to rethink our Menu partial to make this unnecessary in PHP.
* The portal-first class is redundant in the modern Vector as we can
  use the first-child selector. Previously we introduced a class to
  service the legacy skin where this rule doesn't apply as #p-logo is
  the first child.  However, the legacy skin can do this using a special
  next sibling selector instead.

Bug: T268157
Change-Id: I5f7adc1840441b508ffee40139b85b64021789e6
2021-01-04 19:02:34 +00:00
Translation updater bot 64b7d4e868 Localisation updates from https://translatewiki.net.
Change-Id: Ieb60248ae8ca3f7f227b32dc4c60e02781969d6f
2020-12-30 10:17:39 +01:00
Translation updater bot cfec70852f Localisation updates from https://translatewiki.net.
Change-Id: I69b3a2fedcf8c920632e8f94c80c518b3c0ef58f
2020-12-29 09:51:41 +01:00
Translation updater bot 5dde318d5b Localisation updates from https://translatewiki.net.
Change-Id: Id99ca37364fb3c568553276cd7ac92a354f384ce
2020-12-28 10:44:14 +01:00
jenkins-bot 850b7a6ce6 Merge "Gadgets can change the search API" 2020-12-23 12:40:59 +00:00
jdlrobson 289f1d48f5 Gadgets can change the search API
```
mw.config.set('wgVectorSearchClient', {

   fetchByTitle: function( query, domain, limit ) {
      var xhr = fetch('http://' + domain + '/w/rest.php/v1/search/title?q=banana')
      .then(function (resp) {
          return resp.json();
      }).then(function (json) {
         return {
             results: json.pages
         }
      });
      return {
         fetch: xhr,
         abort: function() {}
      }
   }
})
```

This should be the absolute minimum to allow API clients to configure
the search. This should be considered an interim solution to buy us time to work out a more
elegant way to do this e.g. do this in the API itself…

Bug: T262566
Change-Id: Iac6f2551bed911980064dcb023193f800df0934f
2020-12-23 12:16:29 +00:00
jenkins-bot 9d16a71cea Merge "build: Updating mediawiki/mediawiki-phan-config to 0.10.6" 2020-12-23 07:41:52 +00:00
Translation updater bot 73e12842af Localisation updates from https://translatewiki.net.
Change-Id: I5b61a36624e4e9b9f6278734278e9060d41f1322
2020-12-23 08:34:18 +01:00
libraryupgrader 8d7df298b2 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: I8d43396372a965018c8f98815e56977a943e9310
2020-12-23 07:15:01 +00:00
Translation updater bot 13e044ec68 Localisation updates from https://translatewiki.net.
Change-Id: I259beffe4e3fdf0b5647fcfb9e3eb294b02d11af
2020-12-22 08:36:31 +01:00
jenkins-bot 48edb06b66 Merge "Bump the bundlesize of skins.vector.styles and skins.vector.styles" 2020-12-21 13:29:12 +00:00
Translation updater bot ff4d0d4d6f Localisation updates from https://translatewiki.net.
Change-Id: Ice550fe961ee8d43e8b2c042f8ba85f4b54d11d7
2020-12-21 08:43:59 +01:00
jenkins-bot c07310165a Merge "Use User->isRegistered(), not deprecated isLoggedIn()" 2020-12-19 17:06:44 +00:00
James D. Forrester 5ef1ddb733 Use User->isRegistered(), not deprecated isLoggedIn()
Bug: T270450
Change-Id: If385757d64664eba148914063fbbe88f72b66fdc
2020-12-19 16:44:06 +00:00
jenkins-bot a0dd9de829 Merge "Add missing @return to Requirement" 2020-12-18 23:01:33 +00:00
Umherirrender c643250755 Add missing @return to Requirement
even with type hint there should be the full phpdoc to be consistent

Change-Id: I74f2fec23d655deee5704b0ab432cba5c7921ab6
2020-12-18 22:55:08 +01:00
Ammar Abdulhamid 3253665b0e Bump the bundlesize of skins.vector.styles and skins.vector.styles
Needed for core change I276325dc55fd475655e0212fc256b95ebb41b276

Bug: T268593
Depends-On: If2348d30c2382cd9642e2741b10884752493e0c8
Change-Id: Ib80fc24c84eb333daa016c9816fdf91cc60d3983
2020-12-18 19:00:17 +00:00
jenkins-bot 30eb683a70 Merge "Sync location/other styles of #mw-searchButton with #searchButton" 2020-12-18 18:41:40 +00:00
Nicholas Ray 0fdd4a99ac Sync location/other styles of #mw-searchButton with #searchButton
`#mw-searchButton` is apparently used with no-js clients or if the
js-search is broken [1]. Its position and dimensions should be kept in
sync with #searchButton.

This commit:

* Ensures that the same styles, including position, applied to #searchButton
are applied to "#mw-searchButton" so the dimensions are identical. This
should also address a critique in T270202 by removing the "invisible
button".

* Applies a `client-js` selector to ensure these buttons are
only positioned to the left of the search input if js is enabled. If js
is not enabled, having these positioned to the left is confusing as the
input has no obvious "submit" button.

* Syncs the input's end padding to match WVUI's input's end padding if
JS is enabled.

[1] 465e9492bb/includes/templates/SearchBox.mustache (L12-L21)

Bug: T270202
Change-Id: Ie1bb8c68b713b3a18f90ee11b44c78b436a6d0ba
2020-12-18 11:14:19 -07:00
Bartosz Dziewoński bd2c739b68 Fix z-index of navigation menus
After the DOM order of content and navigation was swapped,
z-index of menus must be higher than the VisualEditor toolbar,
rather than the same, to continue overlapping it.

Bug: T264379
Change-Id: I4f5ce0b7ce85fd53727b38b1d7c31079945893f0
2020-12-18 18:51:44 +01:00
Translation updater bot 209c245717 Localisation updates from https://translatewiki.net.
Change-Id: I2614895f5be70474cbd992da465b19ee4b213deb
2020-12-18 08:26:23 +01:00
Nicholas Ray 465e9492bb Remove suggestion link underline on hover and li bottom margin
Per T270202, there should be no underline on hover. The underline is
coming from a style in core.

There should also be no bottom margin on the suggestion li elements. The
bottom margin is also coming from a style in core.

Bug: T270202
Change-Id: I215a41aa328366aee2bb552d5d49c95905fd37f2
2020-12-17 10:06:29 -07:00
jenkins-bot d6979b1917 Merge "[modern][styles] Use @size-search-figure variable in padding-left calc" 2020-12-15 10:11:50 +00:00
Translation updater bot 853852a995 Localisation updates from https://translatewiki.net.
Change-Id: I4a8864273f357df2022ddc3a3d62fb505b9fd28f
2020-12-15 08:39:14 +01:00
Nicholas Ray 720bd0e6b7 [modern][styles] Use @size-search-figure variable in padding-left calc
This variable is used in the same way in WVUI.

Change-Id: Ib7a6d7bb456b3179c3b2eae4b1b0da064fe1f79c
2020-12-14 17:04:33 -07:00
Volker E 595870baeb [modern][styles] Amend Typeahead component styles in modern
Following Design Style Guide components sizing and Alex' feedback
on task. Changing applied styles scope to non Vue.js enhanced,
modern-only style of search component as well, in order to have
clean appearance and transforming disruption free.
Also changing em static values to LESS calculations for more developer
friendliness and change background-size to be `em` as well for
user-set typographic zoom preference ability.

Bug: T269959
Change-Id: I157712721621344171a32a8887a5e20cc16cae0d
2020-12-14 11:37:14 -08:00
Volker E 816836c2ae [modern][styles] Shift search bar to the left
`@margin-horizontal-search` is used for margin of search component
and for personal tools, but they are also floated right so one only
gets a clearer picture of this change when the canvas is exactly at
one specific size.
Additionally it's used for a media query, so the min-width is slightly
reduced (by 32px equivalent) as well. That's advantageous too.
At some point we're going to change this to `rem` unit, that's why I've
taken distance from changing it to a `px` value for now although devised
differently before.

Bug: T269959
Change-Id: I21cac3f049eed64520dd229ef80d10f9be853e0e
2020-12-14 08:12:01 -08:00
Translation updater bot 2c0c6336fa Localisation updates from https://translatewiki.net.
Change-Id: I540339e7af69de9acf05e2e4e79e9a56c6a7d01f
2020-12-14 08:54:41 +01:00
libraryupgrader e27837d832 build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: I91c83a7070f219833cbaa3e33939778880dd7bf7
2020-12-12 08:35:05 +00:00
Umherirrender 61c50007e3 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: I79d8249096760043242f3ff18421b03f17afb1e9
2020-12-12 01:16:02 +01:00
Translation updater bot c5a6164cef Localisation updates from https://translatewiki.net.
Change-Id: I79d2b7ba3284c778b57c7a00fe1b753a51caf784
2020-12-11 08:39:13 +01:00
Jan Drewniak 8afa6f4440 Improve visual similarities between Vector and WVUI search forms.
Modifies and annotates the CSS required to make the server-rendered
version of the new search form look like the WVUI version of the
search form.

Bug: T264355
Change-Id: I989860cfbb755ecbb706b79bd807e9d0013bc4e5
2020-12-09 16:04:45 +01:00
Translation updater bot 3a782ce41b Localisation updates from https://translatewiki.net.
Change-Id: Ie798402f51360cc2bd4b8e1ca58fe833bfb1194e
2020-12-09 08:44:17 +01:00
jenkins-bot a9b47f57fb Merge "Development: Allow us to test search with different API hosts" 2020-12-09 00:14:43 +00:00
jenkins-bot 454611f60a Merge "[search] Add Vue search performance instrumentation" 2020-12-09 00:06:32 +00:00
jenkins-bot 707862df60 Merge "[search] Instrument Vue.js-based search widget" 2020-12-09 00:06:30 +00:00
Nicholas Ray 3aaedcfe3c [search] Add Vue search performance instrumentation
This is almost identical to the instrumentation currently used in
production for mediawiki.searchSuggest -- the only differences being in
the nomenclature of variables, etc.

As part of comparing Vue search with legacy search, we need to track how
long it takes a keypress to load and render search results for Vue
search. This will only be used only in synthetic testing at this time
(Real user monitoring (RUM) is not in scope for this ticket).

To test locally, first enter characters in input. Then to see the
metrics recorded:

```
// View all marks
performance.getEntriesByType('mark');

// View all measures
performance.getEntriesByType('measure');
```

This commit adds the following metrics which will only be used in our
synthetic tests. We are not collecting RUM metrics at this time.

Measures:

* mwVectorVueSearchLoadStartToFirstRender: Measures the time it takes
from the start of loading the search module to the first render of results.

* mwVectorVueSearchQueryToRender: Measures the time it takes from
the start of the fetch to the render of search results.

Bug: T251544
Change-Id: I39200648a3a0a4079a132134d142ad8997c8962a
2020-12-08 23:41:28 +00:00
Sam Smith aa10668e6d [search] Instrument Vue.js-based search widget
Add event listeners and associated helpers to emit SearchSatisfaction
events via the `mediawiki.searchSuggest` protocol.

Bug: T257698
Change-Id: Ica040cd18d6c4bf8a1b1f607bb4647c7e8eb7108
2020-12-08 23:41:19 +00:00
jdlrobson dce24c9784 Development: Allow us to test search with different API hosts
By default the API uses location.host as the host, however during
development it is useful to test against production wikis

For example to test against English Wikipedia:
$wgVectorSearchHost = 'en.wikipedia.org';

Note: Links when clicked will not take the user to the target page, and
instead will take the user to the search results page with a link to
create the page.

The following config can be used to workaround that page:
$wgDisableTextSearch = true;
$wgSearchForwardUrl = "/w/index.php?title=$1";

Change-Id: I5fbac7f54844d7a9d6976007bc0d0ff9938b9f2b
2020-12-08 15:22:45 -08:00
jenkins-bot f44fefb53b Merge "Cleanup: Drop unused body feature classes" 2020-12-08 22:25:20 +00:00
jenkins-bot b8e8655af3 Merge "Add Wvui Config to show/hide thumbnails and descriptions" 2020-12-08 22:25:18 +00:00
jenkins-bot 3c6c8ebbba Merge "Integrate WVUI search into Vector" 2020-12-08 22:18:38 +00:00
jdlrobson a52da8ddaa Cleanup: Drop unused body feature classes
These are no longer referenced in the code and artifacts of a time
when these were feature flagged.

Change-Id: Ia850ac9fb92033d82a333836ba7ff32312f042a7
2020-12-08 13:29:06 -08:00
Nicholas Ray e0c47dc462 Add Wvui Config to show/hide thumbnails and descriptions
Uses ResourceLoader's virtual config feature to get the config and pass
it down to Wvui's typeahead search component.

Disclaimer: I'm a typescript noob and am not sure if the
config.json.d.ts is correct although it seems to make tsc happy.

Bug: T260167
Change-Id: I2eced14c7df3b795b4de0e5149c2ca9fd598c7be
2020-12-08 13:28:42 -08:00
Jan Drewniak bd83398659 Integrate WVUI search into Vector
Creates a new skins.vector.search module that
replaces the searchSuggest module from MediaWiki core.

This module creates a new Vue app using the WVUI
search widget for the new search experience.

The legacy search input form is still retains on pageload,
and the new search kicks on search input focus.

In order to manage that transition, the legacy search
input is styled to resemble the new WVUI input, and the
new input is manually focused after the component mounts.

Vue is also added as a dev-dependency to help with
type-checking.

Other changes:
* the entry in skin.json is reordered alphabetically after
skins.vector.js

Bug: T264355
Change-Id: Ibb9561a77a14734297cb4d0ddcd415fc0750b45d
2020-12-08 13:27:12 -08:00
jenkins-bot 87fdf5d7c7 Merge "Amend standard 'search' icon size, position and CSS rules" 2020-12-07 12:47:14 +00:00
Volker E 795de73496 Amend standard 'search' icon size, position and CSS rules
Updating 'search' icon to latest WVUI/OOUI optimized, reduced path. Also
- amending size of search input and position of icon in input slightly to
  align it closer to standard text inputs
- simplify CSS by getting rid of selector which is targeting both, input and
  button and applying rules only where needed
- fixing code comments
- increasing icon size to `16px` equivalent `em` to enable user text zooming
  preference applied to search icon as well. `16px` is a compromise towards the
  old look and feel of the previous icon bringing it closer to standard icon size in
  legacy Vector.

This change affects both modern and legacy versions of Vector.

Bug: T266166
Change-Id: Ib4c0c74d3cac30e1893f4c76e56e1197652d41ba
2020-12-07 12:19:01 +00:00
Translation updater bot cff34a672a Localisation updates from https://translatewiki.net.
Change-Id: I1f6e3d4c9f80faa7f09e1fdc08a172737e8ecb74
2020-12-07 08:57:20 +01:00
Translation updater bot 2ff4d4d6ae Localisation updates from https://translatewiki.net.
Change-Id: I664835d6ac97c08d0bf06bb0a0e339425dc49efc
2020-12-04 08:36:03 +01:00
Translation updater bot 5bf22a7740 Localisation updates from https://translatewiki.net.
Change-Id: Iebb97cb0f2b3fe374c9366ec6c91366546e42bd4
2020-12-02 08:34:47 +01:00
Translation updater bot a6a3c5961f Localisation updates from https://translatewiki.net.
Change-Id: I21ae32c8e160374e8d77e91d4802d2ab8bdced96
2020-11-30 08:50:53 +01:00
Translation updater bot 2e77a06c10 Localisation updates from https://translatewiki.net.
Change-Id: Idc5de274ca9ee6af6d90dafca51128082eb7e468
2020-11-27 08:32:32 +01:00
Jan Drewniak 125fa03395 Update Vector search icon
Replaces vector search icon with an update version that is
copied from the OOUI icon set and used in WVUI search.

This update will help us unify the visual appearance of the
existing search input with the one in WVUI.

Bug: T264355
Change-Id: I34792ee80e711b10b441668cc4ae18cc0cc9daa6
2020-11-26 13:19:11 +01:00
libraryupgrader 659e8989ac build: Updating stylelint-config-wikimedia to 0.10.3
Additional changes:
* Removed globals `require`, `module`, included via `wikimedia/mediawiki` profile (T262222).
* Dropped the emtpy global definition in .eslintrc.json.

Change-Id: I18ea7925d42ae65c6afd49982186d9375ab9e6e3
2020-11-23 03:44:23 +00:00
Umherirrender f0e6b9dc89 build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: I6f0e5fe41eb71abf42273a3d9cc1390376605f7c
2020-11-22 20:32:34 +01:00
Translation updater bot ef7fa0010e Localisation updates from https://translatewiki.net.
Change-Id: I5608e335d2a5259c6e31cc598c3a11d414828b96
2020-11-20 09:19:15 +01:00
Translation updater bot 39508c0d59 Localisation updates from https://translatewiki.net.
Change-Id: I1c647dde769fcaeeecb0c2737b21e0e1ad5f53dd
2020-11-19 09:11:54 +01:00
Nicholas Ray 0492bc5fb8 Apply static positioning to mw-footer-container
There are popovers such as the discussion tools "Add a link" popover
that need to stack on top of the footer. This replaces the
mw-footer-container's `relative` positioning with `static` positioning
which is one possible solution to this problem.

Alternatively, the popover could be appended to the end of the body
after the footer and positioned absolutely.

Bug: T264679
Change-Id: I34168c181a1e05c33cd42f664fcccb25abd4519b
2020-11-18 18:10:20 +00:00
Translation updater bot 7d41a66016 Localisation updates from https://translatewiki.net.
Change-Id: I9d196b692462e2c2e4ba00f3572e5718aa28c6eb
2020-11-18 08:58:45 +01:00
jenkins-bot 601b0fbd81 Merge "build: Updating mediawiki/mediawiki-codesniffer to 33.0.0" 2020-11-17 23:03:58 +00:00
Umherirrender 6d992c65b0 build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
Change-Id: I4ef344e62ce996b9d03d08b47c0f869ead417f7b
2020-11-17 23:33:50 +01:00
jenkins-bot b1bbcd298f Merge "Use the SkinMustache template variable for the main page link" 2020-11-17 19:14:01 +00:00
jenkins-bot 9ccd8e2c23 Merge "[modern][styles] Remove unnecessary `margin-top`" 2020-11-17 14:03:40 +00:00
jenkins-bot 5dd89219c6 Merge "Follow-up I43a6951: Remove unnecessary only-child selector" 2020-11-17 13:34:54 +00:00
Translation updater bot d6aec7ead8 Localisation updates from https://translatewiki.net.
Change-Id: Ibc5576cdd8dd4ac61370ebe85c893827c5f0d01a
2020-11-17 08:44:56 +01:00
Ed Sanders 1dccf67d0f Follow-up I43a6951: Remove unnecessary only-child selector
An only-child will match first- and last-child selectors
so this additional selector is not required.

Change-Id: I17d468ba2bda37edc4e54f42f42d50e4b8831b46
2020-11-16 22:39:17 +00:00
jdlrobson ffa19b2ae3 Use the SkinMustache template variable for the main page link
Bug: T248752
Depends-On:  I98fc4755e6a736efc2210f8b6ddf4a1cc4eea378
Change-Id: I077abba357e503c79901b64be2ccbb3f2efe1c18
2020-11-16 13:18:18 -08:00
jdlrobson bc9383c90a Bump the bundlesize of skins.vector.styles
Needed in preparation for landing the core change in
Ie28b7e732664eb332be795d7e33cd9a227c21370

Bug: T252774
Change-Id: Ia9ba9458c1bdb5b70cf03bad7d6e05e872755f1e
2020-11-16 12:34:40 -08:00
Translation updater bot 4cc3db64a3 Localisation updates from https://translatewiki.net.
Change-Id: I73fcd7f352a1da44af75f572c7060fb105bf44bb
2020-11-16 08:40:36 +01:00
Translation updater bot 4079b5c16a Localisation updates from https://translatewiki.net.
Change-Id: I1df7a545ce1d3557739f59cd688bc84a90583d78
2020-11-13 08:32:29 +01:00
Translation updater bot bff40163c8 Localisation updates from https://translatewiki.net.
Change-Id: I5be942dab5ffb364001666f9cf15297082adb617
2020-11-11 08:39:03 +01:00
Volker E b0e54eec45 [modern][styles] Remove unnecessary `margin-top`
Following-up Iecb0d6c4c80cee1d1684597a6dedf7323e2ec54d.
It isn't set anywhere inherited, hence we don't need to set it here.

Change-Id: Ife24aa95e6d1830b8d50001976277dbb2535c47f
2020-11-09 07:49:56 -08:00
Translation updater bot 6014b746a4 Localisation updates from https://translatewiki.net.
Change-Id: I39b966226a371777eb87052ce6b5e9b6ff5a4c9c
2020-11-09 08:38:23 +01:00
jdlrobson f99946236a Cleanup: Merge layout-max-width.less into default layout rules
* Drop some unused variables
* Drop global variables.less per max width FIXME

Bug: T258116
Change-Id: Iecb0d6c4c80cee1d1684597a6dedf7323e2ec54d
2020-11-06 20:21:56 +00:00
jenkins-bot 28aa6b84b3 Merge "Cleanup: Merge layout-search-header.less into default layout rules" 2020-11-06 18:29:21 +00:00
Translation updater bot 3b642b21aa Localisation updates from https://translatewiki.net.
Change-Id: Ic26e526d98befc69fb08169dba7296d3bf3991de
2020-11-06 08:36:36 +01:00
jenkins-bot 3ead4e0aa0 Merge "Separate opt out data from sidebar" 2020-11-05 23:32:50 +00:00
jdlrobson 227534102a Separate opt out data from sidebar
In preparation for using the data provided by SkinMustache class
we need to separate the opt out data from the rest of the sidebar.
The opt out data is specific to Vector.

Change-Id: I4461da92c1787d272bbf99e6644bdb9e6c388a68
2020-11-05 22:08:00 +00:00
Translation updater bot 15d1c31932 Localisation updates from https://translatewiki.net.
Change-Id: I2732264fa08b32e8306c44fed9ee37d7a86d47fd
2020-11-05 08:30:02 +01:00
jdlrobson 717506b9c0 Cleanup: Merge layout-search-header.less into default layout rules
Dropped all usages of the no longer applicable `skin-vector-search-header-legacy`
class.

Bug: T258116
Change-Id: I16a5cf8dda2ab84ff4b505d5a368587190c409cd
2020-11-04 14:30:13 -08:00
jenkins-bot 924c751421 Merge "Unify blockquote spacing and border style with Design Style Guide" 2020-11-02 23:27:26 +00:00
Translation updater bot 2fc65fbb3b Localisation updates from https://translatewiki.net.
Change-Id: Idd369798a6c37f937c65bb45100bb7e64584c231
2020-11-02 08:56:40 +01:00
Volker E 0884f55767 Unify blockquote spacing and border style with Design Style Guide
Unifying blockquote spacing and border style with Design Style Guide.
Also ensuring that blockquote children don't apply inherited whitespace.

Bug: T265947
Change-Id: I43a6951c17376fe3fdd4d24966ec4661c18ffd87
2020-10-30 13:38:01 -07:00
Translation updater bot 104bfaf771 Localisation updates from https://translatewiki.net.
Change-Id: Ie8bb7e73224ad8fc8be49c61b03a9b27427b5685
2020-10-30 08:29:47 +01:00
Jan Drewniak 4ff30a16a0 Convert personal menu to use flexbox alignment.
Uses flexbox alignment to resolve an issue where the
clickable area of the notification and alert icons were
overlapping with the links next to them.

Bug: T264339
Change-Id: I2afc12504d7184583fa8331479125474c68017dc
2020-10-29 15:53:56 +01:00
jdlrobson 0bba957a37 Reduce min-width so it doesn't include personal tools
Now the header is no longer absolutely positioned the height is not
fixed and the personal tools can safely spill onto a new line

Bug: T264206
Change-Id: Ib2a3cf1907c7d06c2c92ccbd902a98a3f8242f37
2020-10-28 20:05:55 +00:00
jdlrobson eda19bd6e4 Remove SearchInHeader requirement/feature
Styles will be cleaned up further in a follow up.

Bug: T258116
Change-Id: I878239a85ffbecb5e78d73aed5568c56dbd7d659
2020-10-28 20:05:28 +00:00
Translation updater bot c0bfa47157 Localisation updates from https://translatewiki.net.
Change-Id: I46b53dbb58ed6003d5c660b97c74d0542cda793e
2020-10-27 08:25:14 +01:00
Translation updater bot 5516504e9c Localisation updates from https://translatewiki.net.
Change-Id: Ifb5af2500c3819c173f9cf2784ff402a7c74bbc8
2020-10-26 08:35:32 +01:00
jdlrobson 61558af56f Fix logic in collapsibleTabs code
Follow up to  6d967ed4a8c
Add the missing ! to check that the portal is hidden rather
than visible to restore the correct logic.

Bug: T71729
Change-Id: I29f6f5e1e6adf3d6d9795cbdabcc152c5d5ac28f
2020-10-23 09:59:29 -07:00
Translation updater bot 56d776ca4b Localisation updates from https://translatewiki.net.
Change-Id: I3a157873de4a7b09d81630abfaa01c0e5fc52fb2
2020-10-21 08:30:14 +02:00
Translation updater bot 0b0b0afa5d Localisation updates from https://translatewiki.net.
Change-Id: I97ee603815f6b40d5f2407c6bb0783c775369bea
2020-10-20 08:34:16 +02:00
Nikki Nikkhoui 193cd1c2d7 Add nvm to README
Recommend using nvm in the README
so development environments are consistent.

Bug: T265682
Change-Id: I9dc4d67a6221fca9db883c216850a545e3c4b444
2020-10-19 18:07:12 +00:00
jenkins-bot 48b4fe5440 Merge "Set strictUnits to true for LESS, and fix units in the code" 2020-10-19 17:40:24 +00:00
jenkins-bot 1922166c89 Merge "Windows compat in package.json scripts" 2020-10-19 17:40:23 +00:00
Bartosz Dziewoński 380d6d6789 Set strictUnits to true for LESS, and fix units in the code
Bug: T265650
Change-Id: I8f7522f84df31fdfc856901566c7d1fc78e12c66
2020-10-16 23:42:57 +00:00
Bartosz Dziewoński 99568762e8 Windows compat in package.json scripts
Run dev-scripts/setup-storybook.sh using the `bash` executable,
not default shell.

('pre-commit' still doesn't work because of the funky env variable,
but I don't care)

Change-Id: Ibb0bfa0b6687248377ac72629c5642773d5d357f
2020-10-17 01:41:02 +02:00
jenkins-bot 99f9597109 Merge "Add client-side performance metrics for searchLoader" 2020-10-15 08:47:18 +00:00
Translation updater bot 4c1d528471 Localisation updates from https://translatewiki.net.
Change-Id: Ib88b6a9b62ec1bf180e28248c04b22071d55cc33
2020-10-15 08:40:19 +02:00
jdlrobson 839876ba82 Use variables for padding content
On the long term we want to provide access to these variables in other
extensions. e.g. VisualEditor

Bug: T259331
Change-Id: Ibbc6f1905ea384a3d159088e3f5eca947eb6ec08
2020-10-13 21:26:08 +00:00
jdlrobson da26e09bca Vertically align personal tools
Bug: T264339
Change-Id: Ic9df8c1cea0fef82461a84190689791ce2275812
2020-10-13 19:39:12 +00:00
Translation updater bot aa7d05e7f2 Localisation updates from https://translatewiki.net.
Change-Id: I50db34c717a332f96469dd29634fd93d15ad9d93
2020-10-13 08:46:36 +02:00
Translation updater bot 5413a318b6 Localisation updates from https://translatewiki.net.
Change-Id: Ia5705f482e7ed5dfb7317a68a09bbb486998ff19
2020-10-12 08:38:54 +02:00
Nicholas Ray 8cf278d305 Add client-side performance metrics for searchLoader
As part of comparing Vue search with legacy search, we need to track how
long it takes to lazy load the wvui library. A similar metric was added
to measuring the mediawiki.searchSuggest module in
I0fa6b8904bd43c87a68e9161f00d686a0e588966.

This commit adds the following metrics which will only be used in our
synthetic tests. We are not doing RUM tests at this time.

To test locally, add the following to your LocalSettings.php and append
the query param `useskinversion=2` e.g.
(http://localhost:8181/wiki/Test?useskinversion=2):

```
$wgVectorUseCoreSearch = false;
```

Marks:

* mwVectorVueSearchLoadStart: Marks the start of loading the search
module.

* mwVectorVueSearchLoadEnd: Marks the end of loading the search
module.

Measures:

* mwVectorVueSearchLoadStartToLoadEnd: Measures the time it takes to
load the search module.

Bug: T251544
Change-Id: I14e44b45a66213821d69cd22395fedbae747da88
2020-10-09 13:26:28 -06:00
jdlrobson 14e8b4d5b7 Use SkinMustache value for user messages
This is now provided in the core SkinMustache interface and
is not needed here.

Change-Id: Iaee8fad2b1fd5e72beee544b0c2e8f62ff371073
2020-10-09 11:38:38 -07:00
jenkins-bot be6734937f Merge "Remove `#jump-to-nav` div" 2020-10-09 18:17:31 +00:00
Nicholas Ray 9031db0b20 Remove `#jump-to-nav` div
The "Jump to navigation" link was removed as part of
Ic553fab3bde25769b103d899b92b3b694c00c384 which makes this div seemingly
obsolete (Volker pointed this out). It has a faily ominous comment above
it so might need more investigation if it will break anything.

Change-Id: Ida97cb640885dc2ea4dfda5b475672eb1ad973f2
2020-10-09 10:37:33 -06:00
jenkins-bot aea69ce200 Merge "Fix storybook instance display of footer and personal menu" 2020-10-09 09:15:17 +00:00
Translation updater bot 2b45ce941e Localisation updates from https://translatewiki.net.
Change-Id: I20621414616ba9b84592c0617da039043cf590c0
2020-10-09 08:27:13 +02:00
jdlrobson edb8872c95 Fix storybook instance display of footer and personal menu
* The classes provided on the personal menu are incorrect. Rectify these
by creating a menu helper
* Register the footer template partials

Change-Id: I4b73be54c073f0dd350c107b18f10456c9ee1b17
2020-10-08 16:08:43 -07:00
Translation updater bot 55ad570315 Localisation updates from https://translatewiki.net.
Change-Id: I1032b623a9c3137cf084f852536db8199f122b02
2020-10-07 08:39:09 +02:00
jenkins-bot 178a552ad1 Merge "[icons] Re-optimize SVGs with SVGO and manually" 2020-10-06 23:23:15 +00:00
Volker E a6288523d3 [styles]: Remove IE 8 workaround
Change-Id: I8ec8899aba282d4b232cc86f8683e53ea9c30f06
2020-10-06 16:48:09 +00:00
jenkins-bot d8750377f3 Merge "Drop unsupported skin CSS classes" 2020-10-05 19:32:55 +00:00
jenkins-bot 150acb06f6 Merge "Source footer data from SkinMustache" 2020-10-05 19:32:54 +00:00
jenkins-bot 6516a93085 Merge "[docs] Add support note to `linear-gradient` fallback" 2020-10-05 19:03:34 +00:00
Volker E b23a809c44 [docs] Add support note to `linear-gradient` fallback
Change-Id: I9db03e4f2a0fe3eb52aeb9273f871150d2c93375
2020-10-05 18:41:26 +00:00
jenkins-bot f7e1940855 Merge "Adjust the left-alignment of the sidebar" 2020-10-05 18:39:00 +00:00
Jan Drewniak 5718afbc37 Adjust the left-alignment of the sidebar
Bug: T257395
Change-Id: Iae03d45b2d21be7e4635646c57480c0ced770419
2020-10-05 18:19:10 +00:00
Volker E 7bbad93bc4 [icons] Re-optimize SVGs with SVGO and manually
- Reducing precision to 1 decimal point (no visible change),
- adding `title` tags where useful,
- reducing paths,
- removing unnecessary `g` elements and
- lowercasing hex colors

Change-Id: I77ee08fbdb54d529f34576b076def985407b3bc2
2020-10-05 10:27:33 -07:00
Translation updater bot eaa51f97eb Localisation updates from https://translatewiki.net.
Change-Id: I052098af3bc4af15b2c6f9cfe96f0423bc7a5acb
2020-10-05 08:47:51 +02:00
Translation updater bot 11373f8ca2 Localisation updates from https://translatewiki.net.
Change-Id: Iedc98369cbd5fbd3875e48e059a945815beb77fd
2020-10-02 08:28:03 +02:00
jdlrobson 89fee04f0b Drop unsupported skin CSS classes
Drop support for vectorMenu, vectorTabs and
vectorMenuCheckbox, body, menu selectors in preference
for standard selectors.

This change will impact a large amount of user scripts/styles but should
not impact any gadgets.

These classes were kept around for user scripts and styles however are not
needed internally. As we transition to a more maintainable skin menu
system, it is time to lose these selectors even though this will cause
disruption.

Vector now will use the mw-portlet class rather than the vector-menu
class in its own CSS styling, however it keeps the other classes to
allow differentiation of the different types of menu.

Changes to test: Previously the tests assumed all portlets were empty
when checking the classes. This is very rare, so its better to check
the classes of non-empty portlets, so several tests are updated
accordingly to drop the emptyPortlet class.

Bug: T262092
Change-Id: I1824335eb47d613c2a4804ec1f1106c0f4c16101
2020-10-01 19:50:24 +00:00
jdlrobson 4fad68ed0b Source footer data from SkinMustache
SkinMustache now provides this data in a slightly modified form.
Use it.

Change-Id: I060a8acfab6e7e2eea14e84fd4a5cad23677390b
2020-09-30 23:08:38 +00:00
jenkins-bot b775d371fe Merge "Make VectorIsSearchInHeader the default" 2020-09-30 22:47:50 +00:00
Translation updater bot ec27126c93 Localisation updates from https://translatewiki.net.
Change-Id: Ib0912b84cf60945b20624a4e7f43e5c03de162bf
2020-09-30 08:46:15 +02:00
jdlrobson c0ccbcb6f8 Prefer local data to parent data (attempt 2)
There was some confusion during the code review of
4dbe4076d6

In the case of array_merge, anything defined as the second parameter
with the same key as the first will override the data in the first. This
means the current situation is that parent data replaces any local data.

However, we want the local data to be preferred.
Specifically, the call to  $this->getFooterData() must override
the data set parent::getTemplateData. This is not happening with the current
ordering.

Without this change, Ib2af1f72c0508870b20321dffc8af2158d0dbd55
will result in the footer not rendering.

Bug: T262730
Change-Id: Iaf701c054314f210e40a82b5277e9914edccc493
2020-09-29 22:20:09 +00:00
jdlrobson 1982411128 Make VectorIsSearchInHeader the default
The configuration is not dropped as the A/B test has not been completed
yet.

Depends-On: I24e672e86af6fdbedf615d8159dd6ca5f578066a
Change-Id: I6228d34560d036a0dbbe9b506388f85dbb9b6949
2020-09-29 22:15:14 +00:00
jdlrobson 711a41812a Use newly available Skin::getPortletData method to get mw-portlet class
Kept as simple as possible for now. The new class is added but no classes
are removed. This will be done in a follow up.

Bug: T256897
Bug: T253938
Change-Id: Ib31a9d8f2ac14e63b63e82abd4a9aa1fcb956f45
2020-09-29 00:09:26 +00:00
jdlrobson 4dbe4076d6 Prefer local data to parent data
The + operator will drop any existing keys. The data from
Vector should have precedence as the data coming from core may be
in a different format.

Noticed while upstreaming data for footer.

Change-Id: Icc772733577e0b165acdbc8a9b6143bd5410c33a
2020-09-29 00:09:15 +00:00
jenkins-bot c9645fe691 Merge "Prevent Vector tabs from overlapping search loader" 2020-09-28 13:31:09 +00:00
Jan Drewniak 422955e160 Prevent Vector tabs from overlapping search loader
Bug: T254695
Change-Id: I8391407b8efa5b8165f8b2c33de8849de642ecb5
2020-09-28 12:15:13 +02:00
Translation updater bot 1d5ea3259a Localisation updates from https://translatewiki.net.
Change-Id: I2f4d22f294dd6146a79ecd4a3f497df558a71f5a
2020-09-28 08:33:45 +02:00
jenkins-bot 26e914dd22 Merge "[Storybook] Fix PNG/SVG asset resolution." 2020-09-25 18:35:56 +00:00
jenkins-bot 0b63179fb5 Merge "SearchBox: Fix data-search-loc attribute" 2020-09-25 16:26:12 +00:00
Sam Smith 58c1c9ddf5 SearchBox: Fix data-search-loc attribute
Following on from I0edbd89, set the data-search-loc attribute to
"header-navigation" for legacy Vector.

Bug: T256100
Change-Id: I113c56ac9b18df46ebc13b9985aea03ba82419bd
2020-09-25 14:42:08 +01:00
Jan Drewniak 6907c81a15 [Storybook] Fix PNG/SVG asset resolution.
Fixes the missing images in the Logo story.

The current method of downloading the images into
docs/ui/assets and treating them as static assets
(with the start-storybook -s option) could be problematic
if that directory is deleted or "cleaned" before the
storybook build.

Instead, the images are now downloaded into
./storybook/resolve-imports and imported explicitly in the
code in Logo.stories.data.js.

* ./storybook/resolve-less-imports renamed to resolve-imports
* .gitignore is updated to reflect that
* Webpack config is updated with the `resolve-imports` path
* static option (-s) is removed from npm start script
* Images are explicitly imported in Logo.stories.data.js
* Type definitions are added for .svg and .png files

Change-Id: I242d229242c86a5784d6d4611d0b9c7049712dac
2020-09-25 12:52:05 +02:00
Translation updater bot 4d80e9e477 Localisation updates from https://translatewiki.net.
Change-Id: I8546964fd1a3f679b83fea2db9b61aca0f5aa949
2020-09-25 08:23:23 +02:00
Translation updater bot e7c07665ff Localisation updates from https://translatewiki.net.
Change-Id: Ib7f1d8671577402a1743e7076b11972b3de1a5e6
2020-09-24 08:32:00 +02:00
Ammar Abdulhamid ef45378c01 Remove ULS extension hack and anon placeholder code
The anon placeholder is now provided by core. The styles will remain to
style it to suit Vector needs.

This ULS hack is no longer needed as the extension is already using array
plus operator which does set union, so it only appends the right-hand array
to the left-hand array. Some string concatenation that prevented it from
working correctly has now been resolved by Ice379cd in core.

Bug: T263382
Change-Id: I5691529ab8c59f4053cff38ea6f7dd01c326c074
2020-09-23 21:23:04 +01:00
jenkins-bot 57e069ba81 Merge "[styles] Make Trident workaround value a variable" 2020-09-22 15:06:25 +00:00
Translation updater bot 76bc064ed4 Localisation updates from https://translatewiki.net.
Change-Id: I4d92792ab187523ce84edd1bc110795cd8c375cb
2020-09-22 08:37:00 +02:00
jenkins-bot b0bdcedb7e Merge "Follow-up I673c28c2: Only apply clearfix to main content area" 2020-09-21 22:04:54 +00:00
jenkins-bot 3990781dd2 Merge "Allow for expansion of styles with addition of table of contents code" 2020-09-21 21:29:59 +00:00
jdlrobson 155a3bb242 Allow for expansion of styles with addition of table of contents code
Bug: T252774
Change-Id: I98b7e49b8a3bcba31284385d2f45e0164df2fbb4
2020-09-21 21:06:02 +00:00
jenkins-bot 05b6753937 Merge "Clarify documentation of SkinVector::__construct()" 2020-09-21 21:04:00 +00:00
Ammar Abdulhamid cf895f19e2 Clarify documentation of SkinVector::__construct()
With I5772eb7 merged in core, it's no longer accurate to say that the
$options param is optional.

It's important to note this now, before someone report it as a bug.

Since the method is a public API and technically does not require a
parameter, no one will expect that following the rules (providing no
argument, as in `$skin = new SkinVector`) will throw fatal exception.

Bug: T262233
Change-Id: I771e5cc8ff205943016a26854da18088817b9238
2020-09-21 16:59:04 +00:00
Ed Sanders 21d4716612 Follow-up I673c28c2: Only apply clearfix to main content area
Bug: T254195
Bug: T263445
Change-Id: I693cd3d4d32501a2a4ab20140a662943fba22bb6
2020-09-21 13:23:48 +01:00
jenkins-bot a69323a9df Merge "Vector should use opt-in policy for ResourceLoaderSkinModule features" 2020-09-21 09:33:16 +00:00
Translation updater bot abe9d22306 Localisation updates from https://translatewiki.net.
Change-Id: I309fd1c2ca164a017f9532c5d916286a60caaa97
2020-09-21 08:33:30 +02:00
jdlrobson 5095b5c2f1 Vector supports language variant logos
Given I7184f2f5dd7fdb49fb928265bbf711ef9fd555c9 we can now
use the data generated by core which has the benefit of being
configurable per language variant.

Bug: T261153
Change-Id: I7a77f164da53c362da225ae3d13635f9ddca529f
2020-09-18 10:59:23 -07:00
jdlrobson dbf5d7084a Tests: `name` option is now required
Since SkinVector provides name via skin.json the name must be
passed in the test constructor.

This will be required as part of
I5772eb760e4fc56d2062a333ba4d7ca6995f3db2

Change-Id: I4087deb8b0726c9959ac15d77a0ed2442e4890f6
2020-09-18 08:55:45 -07:00
jenkins-bot 7a7f80c09a Merge "SearchBox: Add data-search-loc attribute" 2020-09-17 18:46:42 +00:00
Sam Smith 7cbc30ebac SearchBox: Add data-search-loc attribute
The mediawiki.searchSuggest protocol part of the SearchSatisfaction
instrumentation reads the value of an element with the "data-search-loc"
attribute and sets the event's inputLocation property accordingly.

Set the appropriate value for the attribute in
SkinVector::getTemplateData and render the attribute in
the SearchBox.mustache template.

Bug: T256100
Change-Id: I0edbd8906a042072b2055adc2889b083b2c6cac4
2020-09-17 18:24:24 +00:00
Volker E f9821b508d docs: Expand on curl options in Storybook setup script
Change-Id: I7bba4773d27e17e42f2670242f226517e24b33d8
2020-09-17 03:07:41 -07:00
jenkins-bot 6d62be5a3f Merge "Fix the storybook instance" 2020-09-17 09:04:41 +00:00
Translation updater bot ae8f980ed6 Localisation updates from https://translatewiki.net.
Change-Id: I76f0d2e13aa3d03ed74ff02ab3e9b1c3b942efe2
2020-09-17 08:35:20 +02:00
Nikki Nikkhoui da158807b6 Use setTemporaryHook() in SkinVectorTest
The MediaWikiIntegrationTestCase::setTemporaryHook() function was
recently updated in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/622400
to work with the new hook system. Use the new function in Vector tests, as
some extensions that use the new Hooks system are failing to pass the Vector
tests that run in their Jenkins CI tests
(https://gerrit.wikimedia.org/r/c/mediawiki/extensions/examples/+/603569).

Bug: T254381
Change-Id: If8289b2bf47a35140e2fef72234ffad7aae37c90
2020-09-16 23:17:07 +00:00
jdlrobson 34e70d44fc Fix the storybook instance
* Use `cp` over `ln` - the node resolver appears to
get tripped up by linked files.
* Fix a story referencing the wrong class

Follow up to I47da3046678117d5214354d1efe635f32f307dad

Bug: T263064
Change-Id: I80cb33ad70f9e6757dbe7f71b00539bec28abca9
2020-09-16 22:13:34 +00:00
DannyS712 76ee2c2813 variables.less - replace tab with space
Change-Id: Iaaa22d4f727892b0240360e6452d91b191ba87e8
2020-09-16 21:29:20 +00:00
Timo Tijhof 7e0731de48 Implement mediawiki.skin.variables.less for Vector
For now, only define:

- @font-family-sans
- @border-radius-base

Bug: T112747
Depends-On: Icf86c930a3b5524254bb549624737d3b9dccb032
Change-Id: I47da3046678117d5214354d1efe635f32f307dad
2020-09-16 08:39:13 -07:00
Translation updater bot aa9d46f937 Localisation updates from https://translatewiki.net.
Change-Id: Ie025d7be618d1878eee42485f82ba95dea846200
2020-09-16 09:12:14 +02:00
jdlrobson 7f801afa07 Vector should use opt-in policy for ResourceLoaderSkinModule features
Bug:  T252774
Change-Id: I50afd035360ff2eccd5a934a02a218d093f9583d
2020-09-14 15:20:07 -07:00
jenkins-bot 3bc308039c Merge "Make max-width the default for modern Vector" 2020-09-14 20:55:35 +00:00
jdlrobson 7449c7fdf6 A/B test of search in header for logged in users
A new config flag is added that buckets 50% of users into the old
header and the 50% into the new header.

Bug: T249363
Change-Id: I8b4fa475f9cd7e61ad2989e2a1485e7e64c8ab3f
2020-09-14 14:22:46 +01:00
jenkins-bot d72b0daa24 Merge "Use feature management for search in header" 2020-09-14 12:50:16 +00:00
Translation updater bot 8780a080f1 Localisation updates from https://translatewiki.net.
Change-Id: I8410528f5bc8a9bf45198e08606a7f1b4d22acd0
2020-09-14 09:22:58 +02:00
jdlrobson c8642b2fbe Use feature management for search in header
This will allow us to add the A/B testing requirement for logged in
users.

In preparation for the new A/B test requirement, a custom requirement
is added as the feature management system does not
support OR operations and the desired effect is the case where:

* the SearchInHeader feature flag has been enabled
* OR the SearchInHeaderABTest feature flag has been enabled and the user is bucketed

Bug: T259250
Change-Id: If948603bd598e1b5597345f4268736417f4c3a24
2020-09-13 23:00:16 +00:00
Umherirrender db254ab4b3 Remove trailing spaces from json
Change-Id: I2aa33372d47efb9b797df534eacb724a65da10f7
2020-09-11 22:50:04 +02:00
jenkins-bot e7d3728666 Merge "Fix order of expected/actual in SkinVectorTest" 2020-09-11 16:49:08 +00:00
DannyS712 837f529177 Fix order of expected/actual in SkinVectorTest
* expected is the first parameter not the second.

Change-Id: I825b10154ab59a754cdce400a4a0aa273747ae15
2020-09-11 16:29:08 +00:00
jdlrobson 9b31740514 Reduce max-width and adjust margin-left
* The margin-left should only be auto at small resolutions - otherwise on large
monitors it becomes visually separated from the logo
* the margin left should be larger
* and max width should be smaller.

Bug: T261686
Change-Id: Ia1331f51764a34f113e3336735e6cfd5fde1d49d
2020-09-11 14:54:58 +00:00
Translation updater bot 8a4e390be4 Localisation updates from https://translatewiki.net.
Change-Id: I8071dbefa6504cee8dc9382545385ec5c8c29ce1
2020-09-11 09:42:00 +02:00
libraryupgrader 1f385f74ad build: Updating node-fetch to 2.6.1
* https://npmjs.com/advisories/1556
* CVE-2020-15168

Change-Id: I6590e57425546f93589838288844d0a2dcf7095b
2020-09-10 23:28:46 +00:00
jdlrobson 905ad68bc2 Make max-width the default for modern Vector
Drop max width feature flag.
Max-width will continue to not apply on special pages.

This saves us development effort by not needing to worry about
the case where the flag is not enabled. This flag is not false
in any production wikis.

Change-Id: I7ace4046e6b93ce63dd804da32e576a709485bfb
2020-09-10 20:14:38 +00:00
Jan Drewniak df3954eff8 [IE9] Layout flex-box adjustments
Minor visual fix for IE9 for modern mode with search not in header.
i.e. with these settings:

    $wgVectorIsSearchInHeader = false;
    $wgVectorDefaultSkinVersion = 2;

Slight refactor of CSS. Removes block of styles that "reset" floats.
These were uneccessary because as flex-children, the floats were
ignored on those elements anyway.

Moves flex-wrap on .mw-header from layout-search-header.less
to layout-default.less since that's where display:flex is defined
and the rule is general enough that it should apply for different layouts.

Remove the @supports block with the `float:none;`. That is unnecessary
because flex-children are not affected by floats.

Change-Id: Ida3d2a7bc2b2f70238129df876714228fe5cdf84
2020-09-10 20:10:19 +00:00
Translation updater bot a8cfbe5e84 Localisation updates from https://translatewiki.net.
Change-Id: Ib97281bd6decc725a2481dd9bd7ab96f0d8767ac
2020-09-10 09:51:58 +02:00
Nicholas Ray 78787d9665 Switch to navigation-first DOM order under `$wgVectorIsSearchInHeader` feature flag
This moves the header, navigation, sidebar, and article toolbar to be
before the content in the DOM. As a result, a lot of absolute
positioning logic can be removed and styles can be simplified.

Note that although the sidebar was moved from the header into the
workspace container allowing it to de-absolutely positioned, its
absolute positioning was kept intact as it has a fair amount of
complexity that should be handled in a separate task.

To activate, set  `$wgVectorIsSearchInHeader = true;`

Changes that could cause concern:

* The "jump to search" link was removed as the search is now much
earlier in the DOM and I questioned the value of keeping this. However,
it can be added back in if this change is contentious.

* A "jump to content" link was added to account for the new DOM order.

* Because the sidebar was taken out of the header, users will not be
able to tab from the sidebar button into the sidebar without additional
tweaking (e.g. should we add JS to enable this?). It was deemed that
this work can be saved as a follow-up task.

* I applied `overflow-y: auto` to the `mw-page-container` because the
header's top margin was collapsing and caused whitespace to appear
between the viewport and the header. Alternatively, we could apply a top
padding to the page container and remove the header's top margin. I went
for the simplest solution but am open to alternatives.

* I left the footer as-is in this patch to minimize risk. It might be
cleaner later on to move the footer inside the workspace container which
would leave only one workspace container.

Bug: T261802
Change-Id: Ic553fab3bde25769b103d899b92b3b694c00c384
2020-09-09 18:31:35 +00:00
Translation updater bot 7e1be551e7 Localisation updates from https://translatewiki.net.
Change-Id: I9ffd96ec86c894d34ab377b78b50d1caf815da30
2020-09-09 09:56:23 +02:00
libraryupgrader b70197e802 build: Updating bl to 4.0.3
* https://npmjs.com/advisories/1555

Change-Id: I0da35ebcd3b3ce635b69f342449daf12d8fc543a
2020-09-09 01:51:40 +00:00
jenkins-bot b65de993dc Merge "Adds loading indicator for new search module" 2020-09-08 14:24:09 +00:00
Jan Drewniak 1dad545f63 Adds loading indicator for new search module
Provides a loading indicator to show while the new Vue.js based
search widget loads. Given that the new widget will pull down the
entire Vue.js runtime, it's likely that there will be a delay
before the search suggestions appear. This loader is meant to
improve the perceived loading experience of the new widget.

Adds:
- New searchLoader.js file containing loading behaviour.
  - This overrides the code searchSuggest loading behaviour.
- New SearchBoxLoader.less file containing the loader styles.
- i18n message: 'vector-search-loader'.
- The Event type to jsdoc.json

Bug: T254695
Change-Id: I6b5f0a60018954e10b9e80792030b67b2ec33e5a
2020-09-08 13:59:41 +00:00
Translation updater bot 04181e8ca7 Localisation updates from https://translatewiki.net.
Change-Id: I3534d2e0a146d57eeb500ddeecd17f07e3437358
2020-09-06 20:59:44 +02:00
jdlrobson d61cae0086 Don't change function signature of buildSidebar
Rename buildSidebar to getTemplateDataSidebar to reflect what it is
doing in Vector rather than overloading it with template data generation.

Changing the return value has consequences on refactors
inside core a Skin::buildSidebar returns an array not an
associative array.

Change-Id: I0a4913c21af6ac3f5259cee8583aa121756251c1
2020-09-04 21:55:11 +00:00
Stephen Niedzielski f5323d9bf1 [search] Tweak the search input styles
Update the search input styles to match WVUI.

Change-Id: Id7f88c31eb662cc859d7e465f85631d7a8cbe184
2020-09-04 14:49:50 -06:00
jenkins-bot caab80aa9c Merge "Update codesearch URL to wmcloud.org" 2020-09-04 18:14:54 +00:00
Translation updater bot 0d4077aa0b Localisation updates from https://translatewiki.net.
Change-Id: I5942e32afdfc3ef24f146da2885c39a1f01f8214
2020-09-04 09:29:33 +02:00
Kunal Mehta bd2ee525b1 Update codesearch URL to wmcloud.org
Change-Id: I5aa4e362807208a1aef3476949238d4fe62858df
2020-09-03 16:20:40 -07:00
jenkins-bot 6ae5cf8064 Merge "Reduce space between sidebar and content" 2020-09-03 17:22:33 +00:00
Jan Drewniak 5a8bb57b55 Reduce space between sidebar and content
Bug: T259761
Change-Id: Ieb7a49e1239fe4e0d2866a1433f9dde0141c0b3d
2020-09-03 13:18:52 +02:00
jenkins-bot dd178231c1 Merge "Flush search to right on smaller resolutions" 2020-09-03 09:59:59 +00:00
Translation updater bot 37e0acc2ff Localisation updates from https://translatewiki.net.
Change-Id: I412b29ecf658d9d52d05dfc24b6778f4d6477a5b
2020-09-03 10:06:36 +02:00
jenkins-bot 53f0b183e8 Merge "Remove the loading background image for loading class" 2020-09-02 19:38:20 +00:00
hmonroy 4169fc6dc1 Remove the loading background image for loading class
The star should spin its current background image when transitioning between different
watch requests.

Bug: T259053
Depends-On: I1e11f0e129c53b405a2ffa8
Change-Id: Id2f9b2e25761c052aeaa410edead65ec298209a2
2020-09-02 11:42:49 -07:00
Translation updater bot 2c058381b6 Localisation updates from https://translatewiki.net.
Change-Id: I9e7e0cf83fa0354e5e6fa22f8d21c62291f4f570
2020-09-02 09:42:31 +02:00
jdlrobson bd8bfa8deb Flush search to right on smaller resolutions
Bug: T261686
Change-Id: I30985009c05e64bff5aaa240f7c3970475fe0fba
2020-09-01 15:53:20 -07:00
jenkins-bot d4663ef0ec Merge "Accommodate longer user names in personal tools" 2020-09-01 22:20:21 +00:00
jdlrobson 43e9776142 Accommodate longer user names in personal tools
The width should apply at all resolutions. Note, because of the nature
of flex box and flex-grow the personal tools can grow larger than this
value.

This avoids Alex Hollender (WMF) and similarly long usernames from every
running to the next line before they are allowed to.

Bug: T249363
Change-Id: I4640947aaaf7ab764cb17b911af7085ac291b7d1
2020-09-01 12:10:08 -07:00
jenkins-bot 8b70eec55d Merge "Include @padding-horizontal-page-container in header adjustment calculations" 2020-09-01 11:21:41 +00:00
Translation updater bot 955ec08259 Localisation updates from https://translatewiki.net.
Change-Id: I8d2bbdcaba3a480300b2f35551758b9b47f9e1aa
2020-09-01 09:19:45 +02:00
jenkins-bot 952abb0dde Merge "Drop legacy selector from Vector" 2020-08-31 19:39:50 +00:00
jenkins-bot e77bd199f9 Merge "[Special:Preferences] [PHP] Add HTMLSkinVersionField form field" 2020-08-31 19:28:41 +00:00
Sam Smith 4449235516 [Special:Preferences] [PHP] Add HTMLSkinVersionField form field
I177dad88 introduced the skin version user preference field and
associated configuration values. Per T242381, the field is to presented
as a checkbox with the implied storage type of a boolean where a string
is needed. A PreferencesFormPreSave hook handler was added to adapt
values of either data type to the other.  While this was a neat solution
to a minor nit, the adapter's implementation is incompatible with the
GlobalPreferences extension as the PreferencesFormPreSave hook isn't run
whilst saving global preferences.

Rather than adding an equivalent hook to the GlobalPreferences
extension, create a custom field based on a checkbox with the adapter
included. This allows us to:

- Separate the business logic concerned with preserving the user's
  VectorSkinVersion preference if they've simply disabled Vector from
  the adapter

- Simplify the adapter's implementation

- Forego adding hooks to the GlobalPreferences codebase

Additional changes:

- Replace repeated string literals with equivalent constants in
  tests/phpunit/integration/VectorHooksTest.php

Bug: T258493
Change-Id: I628435a4ad676f55534191b8c10147be28be5d73
2020-08-31 12:04:12 -07:00
jdlrobson a39ebf7954 Don't render escaped HTML as HTML
Follow up to I610224d551ebea54ae32e9e79901befe80cfd5ce

Change-Id: I44caf1b484c86674bc1f86dfe42bc259dfa1f2ab
2020-08-31 09:45:47 -07:00
Translation updater bot f6de8a4a17 Localisation updates from https://translatewiki.net.
Change-Id: I417bba4f7de8c8076a89728ab4346526dc50403d
2020-08-31 09:52:04 +02:00
jdlrobson 287e577cfd Drop legacy selector from Vector
This is no longer needed.

Change-Id: I537dbbcf007860f74feefe3b61f95561969344d6
2020-08-28 12:52:49 -07:00
jdlrobson 5ac25943a2 Refactor: All messages should be listed from skin.json
This allows us easily to identify in templates what messages are
used and where, as well as allow us an easy way to tell when
messages are no longer being used.

Change-Id: I610224d551ebea54ae32e9e79901befe80cfd5ce
2020-08-28 17:12:10 +00:00
jenkins-bot fe4526e125 Merge "[styles] Remove Internet Explorer 8 specific hacks and workarounds" 2020-08-27 13:30:57 +00:00
Volker E 8580c26d65 [docs][styles] Clean-up documentation and move typography vars
Change-Id: Ib65f130dfccf103da068e62a2b633d2e4c695684
2020-08-27 02:48:52 -07:00
Volker E 5bffb899a8 [styles] Remove Internet Explorer 8 specific hacks and workarounds
Bug: T261378
Change-Id: If51f20137a001276800fafb97ed4ceb53617ae79
2020-08-27 01:34:13 -07:00
Volker E fdde3192fa [styles] Make Trident workaround value a variable
Carved out from I8e6e283db5d4034861f8d50d9b3f211df1a78c6c.
It makes sense to have a variable defined for that value.

Change-Id: Iaaca1fd7c15a0c121e60b5ae6debf4bf6920168e
2020-08-27 01:27:50 -07:00
jdlrobson 6659be5b49 Include @padding-horizontal-page-container in header adjustment calculations
I overlooked the horizontal padding on the page container. This needs to be
included in the decision on whether to make the header 2 lines on 1.

Bug: T249363
Change-Id: I4fabac7d57e37db87d2363073317109f582de883
2020-08-26 14:33:22 -07:00
Ed Sanders 6fe1f39950 build: Update eslint-config-wikimedia to 0.17.0
Change-Id: Ia4911b1706e50106b108b38108430bb950010b21
2020-08-25 14:17:56 +01:00
Translation updater bot 24bcd39882 Localisation updates from https://translatewiki.net.
Change-Id: I7d1f93e0a51a9059db33dc5bae8b4515ba0503ae
2020-08-25 09:48:34 +02:00
Translation updater bot 65ee6b5847 Localisation updates from https://translatewiki.net.
Change-Id: Iad6711f3ab0e98aa3c400ab05f1171da19b314b3
2020-08-24 12:02:28 +02:00
Translation updater bot 1aef2b6a67 Localisation updates from https://translatewiki.net.
Change-Id: I96ba3021be878b821b0c7f2db0560a9a66277dff
2020-08-21 08:43:31 +02:00
jdlrobson e7df44a66d Favor SkinTemplateNavigation::Universal
This hook is run on every page. The SkinTemplateNavigation hook
counter intutively is run only on pages which can exist. I think
it's clearer if we only use SkinTemplateNavigation::Universal hook
and keep the logic for when it runs inside our own code.

Bug: T255319
Change-Id: I0835074a6cadf6e9bdcc45299de37dd9328bf9b2
2020-08-20 16:01:27 +00:00
Translation updater bot 249ef2ecee Localisation updates from https://translatewiki.net.
Change-Id: I662b0659ea57b237e894e17c26aaf637c9d2a394
2020-08-20 08:29:32 +02:00
jenkins-bot b98872714a Merge "Allow personal tools to span 2 lines" 2020-08-19 17:20:41 +00:00
Volker E 5b563ba9f9 skins.vector.styles: Remove obsolete linear-gradient hack
Following up I6bc4cf541eefd00e2e42 we also need to remove the
linear-gradient hack that only made sense in combination with the
now gone PNG fallback background-image.

Change-Id: I0e7ed0451884a6bd612cb1082555338a26129e2d
2020-08-18 20:50:19 +00:00
jdlrobson aa45edd2f2 Refactor: Drop legacy selectors
These are no longer needed. The classes remain where necessary for
gadgets but the CSS rules no longer need to apply to them.

Change-Id: I18afa15ddab75128463dc83c916e11436db0575a
2020-08-18 12:39:13 -07:00
jdlrobson 370add977c Allow personal tools to span 2 lines
The calculations were a little incorrect as I failed to consider the
sidebar button correctly and how the search's min width and max width
impact layout.

I also move rules from Sidebar.less regarding the placement of the button
into layout where I believe they belong.  We do not have a header component, so the
positioning (margin) of the sidebar button in current form should be here.

This can be revisited if we introduce a header component.

Bug: T249363
Change-Id: I4ff640380eafc8beedb2c3c8fb00a56c71c5cb45
2020-08-18 11:42:18 -07:00
jenkins-bot de6ff025cc Merge "hooks: Don't use SkinVersionLookup directly" 2020-08-18 15:58:26 +00:00
jenkins-bot 4b6b46631c Merge "skins.vector.styles: Remove PNG fallback and merge skins.vector.icons module" 2020-08-18 11:51:56 +00:00
jenkins-bot a817bc5cb8 Merge "Search in header: fix break point" 2020-08-18 11:50:27 +00:00
Sam Smith b46751d4ed hooks: Don't use SkinVersionLookup directly
The feature manager abstracts away how a feature is enabled from the
consumer of that feature. Accordingly, replace direct instantiation of
SkinVersionLookup with usage of the Vector.FeatureManager service.

Supporting changes:

- Add Vector\VectorServices, a simple wrapper around
  MediaWiki\MediaWikiServices that allows us to both document and
  type-hint services specific to Vector

- Add Vector\Hooks::isSkinVersionLegacy to minimise repetition

Additional changes:

- Make the MakeGlobalVariablesScript hook handler return early if the
  user isn't using the Vector skin like the other hook handlers

Bug: T256100
Change-Id: I93b5ef39802323c7ac658af8fa7cc312fff68aa7
2020-08-18 11:40:48 +01:00
jenkins-bot b1d362cb1a Merge "hooks: Document CSS classes used elsewhere" 2020-08-17 22:48:06 +00:00
jenkins-bot 2083ad5c71 Merge "Apply @min-width-supported to .mw-page-container" 2020-08-17 22:31:13 +00:00
Sam Smith 8d98ba35da hooks: Document CSS classes used elsewhere
Bug: T256100
Change-Id: I3fef99e5b94ca4dc221282f28c7608f84d8fb746
2020-08-17 15:27:32 -07:00
jdlrobson 8a2ffe0722 Search in header: fix break point
The width comfortable should consider the max-width of the search
not the min-width.

This fixes the bug documented in T249363#6391041

Bug: T249363
Change-Id: I3e216a3705730092f88d1dcbb5193e411945a083
2020-08-17 14:36:01 -07:00
jenkins-bot 95896ff703 Merge "hooks: Don't send config variables unnecessarily" 2020-08-17 20:44:34 +00:00
Translation updater bot 82e53d914b Localisation updates from https://translatewiki.net.
Change-Id: I8f943acd2074cfd95920e5c84b8e0de350bb5c04
2020-08-17 08:47:54 +02:00
Translation updater bot 74e94c3ea9 Localisation updates from https://translatewiki.net.
Change-Id: Iadc02718b524848db684398317686fafe60b5895
2020-08-14 08:43:07 +02:00
Nicholas Ray 7a769a0374 Apply @min-width-supported to .mw-page-container
As part of moving search into header work, a min-width (via
@min-width-supported variable) was introduced on the body and takes
effect when the search feature is enabled.

However, given a min-width already exists on the page container from the
max-width work, I'm wondering if it makes sense to replace that one with
the @min-width-supported variable as it seems like we should only have
one min-width vs. having two.

Note: As a bonus, this has the (unintended but helpful) side-effect of
mitigating the sidebar button being blocked by the personal menu at
small viewport widths (T258465).

[1] I7f8059d43eaab49de362405784b34a4fe502c7b0

Bug: T258465
Change-Id: I920cd0e9d1564c82bcdc89b721352620158073c6
2020-08-13 17:11:48 -06:00
jenkins-bot feae33a4e6 Merge "Remove VectorBeforeFooter hook" 2020-08-13 22:36:09 +00:00
Sam Smith 75ade04dfc hooks: Don't send config variables unnecessarily
The wgVectorDisableSidebarPersistence config variable is only required
when the user is logged in. Don't send it to the client when the user is
logged out.

Bug: T255727
Change-Id: I27eda8c18b438ef3251b2c07a0ed8b0cef6cae64
2020-08-13 15:37:45 +01:00
Timo Tijhof 31c5273ef9 skins.vector.styles: Remove PNG fallback and merge skins.vector.icons module
* Remove the PNG fallbacks for chevronHorizontal-….svg and menu.svg.

  As of T248061, these are no longer needed.

* Added the one line of trivial CSS directly to skins.vector.styles
  instead of through its own module.

  This helps recovers the module cost of vue module deployed this
  week (from  Ib6c8f890fb3d6e7), which is currently empty and unused.

  With T253582, we'll be able to recover a lot more budget in
  this area.

Bug: T258766
Change-Id: I6bc4cf541eefd00e2e428f918664a26da331c1a9
2020-08-13 13:53:46 +01:00
Translation updater bot a03a19f7af Localisation updates from https://translatewiki.net.
Change-Id: I27728d160e95a031759066f21b458271701e2640
2020-08-12 08:21:34 +02:00
jenkins-bot 6fc6cf3c1e Merge "build: Updating npm dependencies" 2020-08-12 00:21:05 +00:00
libraryupgrader e6fe4ef775 build: Updating npm dependencies
* webpack: 4.43.0 → 4.44.1
  * https://npmjs.com/advisories/1548
* terser-webpack-plugin: 1.4.3 → 1.4.4
  * https://npmjs.com/advisories/1548

Change-Id: Ia303890fdeeb81410c41ebe8fc84591e78ad2a05
2020-08-11 23:39:47 +00:00
jdlrobson 53d9452795 Move the personal tools and search into header
To support roll out and avoid issues with cached HTML the new
styles for the new search feature are restricted to HTML where
the body tag has `skin-vector-search-header` class.

For legacy mode, we introduce a new class
`skin-vector-search-header-legacy` and temporarily use a CSS3 `:not()`
selector to ensure the styles ship during the phase where cached
HTML can be served. While this will create some display issues in
browsers that do not support CSS3 selectors, all grade A browsers in
our compatability matrix support this.

Bug: T249363
Change-Id: I7f8059d43eaab49de362405784b34a4fe502c7b0
2020-08-11 23:36:01 +00:00
jenkins-bot a639ff3aa9 Merge "[modern] Layout index file." 2020-08-11 23:00:46 +00:00
jdlrobson e3a986f587 [modern] Layout index file.
Keep variables concerned with layout in the master file but pull out
the default layout into a separate file.

Change-Id: I4acc2937f8e8a76274a3ffb76e3729dc89ce1ad7
2020-08-11 20:45:38 +00:00
Translation updater bot a9367d1c46 Localisation updates from https://translatewiki.net.
Change-Id: I0937f1e910601b6783580e954e5bdae2158aa14c
2020-08-10 09:04:19 +02:00
Translation updater bot f6a1d21af1 Localisation updates from https://translatewiki.net.
Change-Id: I7f57ac579676a819140517f924799338e3b5f892
2020-08-06 08:29:52 +02:00
mainframe98 ddc32a5833 Provide messages through skin options
Bug: T259664
Depends-On: Ie52aadd6b7de8c4db66de662f2f03e295c29034d
Change-Id: Ib03c0683aa00d334224e7b3507098dedcc848e44
2020-08-05 10:24:34 +02:00
jenkins-bot 05a82f6069 Merge "Vector manages search functionality and provides config flag" 2020-08-04 17:53:05 +00:00
Sam Smith e60734a773 documentation: Align @package annotations
Following on from I9445d5c, align the @package annotations in
the Vector\FeatureManagement namespace and subnamespaces.

Bug: T248399
Change-Id: Icd287a52d149123bca5d9f0c55154f932f55148e
2020-08-04 12:48:11 +01:00
jenkins-bot 5e327d6f34 Merge "Document stability of undocumented classes" 2020-08-04 10:52:20 +00:00
Translation updater bot 458209ec33 Localisation updates from https://translatewiki.net.
Change-Id: Iebcf6444146169872ca3abd0623c19e971822fb8
2020-08-04 08:34:57 +02:00
jdlrobson 580a0aa537 Document stability of undocumented classes
Bug: T248399
Change-Id: I9445d5c0753f7272c3d22d66b8824f8a95b86d41
2020-08-03 17:17:53 -07:00
Peter Ovchyn 7b8bad23f2 Vector manages search functionality and provides config flag
Add onSkinPageReadyConfig hook that overrides module after page loaded
The new module is currently empty pending further work in the
feature branch.

Depends-On: I0dc38e74052027f26a70d58b5f520e5830e0d55d
Bug: T257706
Change-Id: Ib6c8f890fb3d6e751f5f01a6576614b9cc9b440c
2020-08-04 00:06:31 +00:00
jdlrobson f92e40152a Print: Add layout print styles on Ctrl+p and ElectronPdf
Bug: T253842
Change-Id: Ia7104a30a37a13cbeb6cfa4bdf1ee50ee677a87a
2020-08-03 20:06:37 +00:00
jenkins-bot 391d0caa27 Merge "Drop support for building sidebar portal with non-standard format" 2020-08-03 20:00:00 +00:00
jenkins-bot 3707751621 Merge "[build] Fold NPM build script into test" 2020-08-03 19:54:52 +00:00
Ammar Abdulhamid 2cd45072b4 Drop support for building sidebar portal with non-standard format
Bug: T259306
Change-Id: I2015ddc9bfad614e54427d0de4e7874092cfbfe0
2020-08-03 19:38:34 +00:00
jenkins-bot edb3fef5b9 Merge "Refactor: Replace PHP complexity with JS simplicity" 2020-08-03 18:47:09 +00:00
jenkins-bot 48f44e3575 Merge "[build] Make the pre-commit hook optional" 2020-08-03 18:44:01 +00:00
Stephen Niedzielski cf17aee48b [build] Make the pre-commit hook optional
Add a new NPM script, `pre-commit`, which _conditionally_ invokes
`npm test`. Previously, the pre-commit hook was configured by default to
invoke `npm test`. Now it is configured explicitly to invoke the new
`pre-commit` script.

The rationale for this change is that some folks may prefer workflows
that defer all validation until CI. Supporting these workflows is a
small change, most of it documentation.

This change isn't necessary for T257647 but supports and seems like an
overall improvement to the repo regardless of whether code is built or
not.

Bug: T257647
Change-Id: I19a78e0e677026cd6887245d96e63a414397a3db
2020-08-03 18:23:42 +00:00
jenkins-bot bb1f1c3fd6 Merge "Don't add Vector-specific <body> classes when not using Vector" 2020-08-03 10:56:20 +00:00
Translation updater bot 79df222565 Localisation updates from https://translatewiki.net.
Change-Id: I4e7d19a9b91f8ffd7d145dd017a58a4e7da4f015
2020-08-03 08:37:25 +02:00
Jack Phoenix 3ea7bec6db Don't add Vector-specific <body> classes when not using Vector
Hooks are global, unlike the old Skin addToBodyAttributes() method, which was per-skin.

Follow-up to a04fc71f30

Change-Id: Ic8a581256c4775ba45b2c5188d678751ba9c7023
2020-08-01 21:05:57 +03:00
jenkins-bot 0ae68144b0 Merge "[less] Remove normalize rules covered by mediawiki.skinning/normalize module" 2020-07-31 22:45:05 +00:00
jenkins-bot eb5798bc30 Merge "[build] Add NVM configuration" 2020-07-31 22:38:38 +00:00
Volker E b0ccdc5892 [less] Remove normalize rules covered by mediawiki.skinning/normalize module
`padding: 0` was either a rule targeting very early Operas or
Netscape/Firefox or came out of Eric Meyer's reset.css as
misappropriation.
normalize.css haven't had it in v1.0.0, only relied on `margin: 0`
normalization for IE 6 & 7.

Change-Id: I3d2894a1e68414b64751bd6ebe7e1af77d260ee7
2020-07-31 22:21:25 +00:00
jdlrobson ed7fd252cd Refactor: Replace PHP complexity with JS simplicity
In PHP we add collapsible classes to all elements except watchstar
so that certain tabs can be collapsed under the more menu in JS.
This adds unnecessary complexity to our codebase and is not used
if JS is disabled.

To simplify this and bring Vector's PHP consistency with core this
logic is moved to JavaScript.

Bug: T259372
Change-Id: I2acbf7089198118626368ee8a37615d2de062f83
2020-07-31 22:15:08 +00:00
Translation updater bot e0f56960f2 Localisation updates from https://translatewiki.net.
Change-Id: I596ef0a1ebead16dd75585485acd642752e56005
2020-07-31 08:48:02 +02:00
Stephen Niedzielski fd51560c37 [build] Add NVM configuration
Add NVM configuration that matches WVUI, Popups, MobileFrontend to
specify the expected Node.js version when working with this repo. The
Node.js version chosen for Vector is identical to these projects as it
does not seem beneficial to differ at this time.

Bug: T257647
Change-Id: I0653c596ca74c0fb1ace4a6a6b08474daaff4f71
2020-07-31 02:25:21 +00:00
Stephen Niedzielski d752997e4f [build] Fold NPM build script into test
The NPM `build` script was being used to call `test`. The confusion was
likely due `build` calling the TypeScript compiler which in this case
isn't building anything. It's only used for tests. Since a proper
`build` script will be added in T257647. Move the tests in `build` to
`test` and drop `build`.

Bug: T257647
Change-Id: I7f2c983915f6b1eaa0aa88eb8dd4b32d9c954b78
2020-07-30 19:31:07 -06:00
jdlrobson d24d858264 Cleanup: Drop unnecessary isLegacy checks
The has-logo property is redundant:
The Sidebar in legacy is its own component. The logo is always
rendered in the legacy sidebar.

data-emphasized-sidebar-action can be unconditionally sent
The legacy sidebar doesn't use it, so there is no need to conditionally
add a check for legacy

These two changes allow us to remove the isLegacy property in favor
of the single use of the isLegacy method.

Change-Id: Ie7ee3cec29b20d07db81799484627254d4a78f5f
2020-07-30 15:10:57 -07:00
jdlrobson 1aab97ec03 Cleanup: Drop unused template variable
html-printfooter is no longer used now that core provides
this as part of html-body-content

Change-Id: Ib9d6b5ce56ecde38f5de948dc0f80c7a3e42d2b3
2020-07-30 20:38:36 +00:00
Ammar Abdulhamid a7c983a2ed Remove VectorBeforeFooter hook
Bug: T255214
Change-Id: Iac66823119c7279f5e922b0e258602dd6c4ca5c4
2020-07-30 13:27:04 -07:00
jdlrobson 2c74f08d3e Merge SkinVector and VectorTemplate (step 2/2)
Rename SkinTemplateVector to restore SkinVector

Bug: T251212
Change-Id: I7e06a4cc226f3434c0f655212a464b8b98bcc7f4
2020-07-30 12:20:13 -07:00
jdlrobson ee6974ad35 Merge SkinVector and VectorTemplate (step 1/2)
Please note I7e06a4cc226f3434c0f655212a464b8b98bcc7f4 should be
merged at the same time as this patch.

== The background ==
All extensions have been weaned of BaseTemplate hooks in
Wikimedia projects.

This change now means that Vector will no longer run
any BaseTemplate hooks. See the epic T253809 for the
implementation details.

== The change ==
BaseTemplate will now have nothing to do with the rendering of
Vector. The skin version is added to express the significance of
breaking compatibility with 3rd party extensions.

We TEMPORARILY remove SkinVector to retain git blame. SkinTemplateVector will
be renamed SkinVector in the follow up (see 2/2)
Update skin.json to use SkinTemplateVector for the skin (this will be fixed
in a follow up).

The isLegacy method is moved to SkinTemplateVector.

Changes of note:
* html-debuglog is no longer needed. SkinMustache includes this information on
the skins behalf
* html-printtail and html-headelement are now not needed in the master template
and added by SkinMustache
* Skin::getAfterPortlet does not provide the `after-portlet` wrapping element provided
by BaseTemplate::getAfterPortlet so this is added
* SkinTemplate::getFooterIcons does not support the options that BaseTemplate::getFooterIcons
does so any icons which do not have an image must be manually checked for and unset

Known changes to HTML output as a result of intentionally
delegating their output to the core SkinMustache class:
* A new line is removed between the body element and #mw-page-base
* #mw-html-debug-log now appears at the end of the body element
* #printfooter is now a child of #mw-content-text rather than sibling.

Bug: T251212
Change-Id: I4e89beb96f6401ed7e51bafdf0aac408f5a2c42f
2020-07-30 11:18:45 -07:00
Ed Sanders ad6c4ea6f3 Fix Yoda conditionals
Change-Id: I5074e8555154c421f4821de37c79d85e1a33d68d
2020-07-30 17:02:33 +01:00
Translation updater bot 0ab352856b Localisation updates from https://translatewiki.net.
Change-Id: I6eb3b6fb5fd6f952d9fd4add594c965dd12e3f9e
2020-07-30 08:38:20 +02:00
libraryupgrader 71bc6852c8 build: Updating elliptic to 6.5.3
* https://npmjs.com/advisories/1547
* CVE-2020-13822

Change-Id: Icefde4999397197d574812cbc0be102e90e5de89
2020-07-29 23:19:53 +00:00
jdlrobson fe49542008 Collapse media print query
Per discussions, its proposed that the target of all media queries
is defined in the entry points skin and skin-legacy

Please verify with `git diff HEAD^ -w` that no changes to print
styles have occurred

Bug: T253842
Change-Id: Id7d1c806d77ee50335a1c9985acc7e4406e64ccf
2020-07-29 11:16:29 -07:00
jdlrobson c0f48624c7 Print: Logo styles should apply in printed media
Bug: T253842
Change-Id: I7875795f12bb3e5e01e18aeb1e54ccfe7e44a020
2020-07-29 11:15:08 -07:00
Translation updater bot f80488ddd6 Localisation updates from https://translatewiki.net.
Change-Id: Ie6389208bb996ecd2a86d4e9de7e8f59d15b0ace
2020-07-29 08:37:51 +02:00
jenkins-bot eeb6182a91 Merge "Restrict image border to images in border" 2020-07-28 18:30:02 +00:00
Translation updater bot 1c02667d86 Localisation updates from https://translatewiki.net.
Change-Id: I0ac89fb19d91717b195f68b505bb529e65885f70
2020-07-28 08:26:36 +02:00
jenkins-bot f2e7fe5fee Merge "Remove VectorAfterToolbox hook" 2020-07-27 23:57:02 +00:00
Translation updater bot c676d3d8ed Localisation updates from https://translatewiki.net.
Change-Id: I0e09c78c5ee4e3cfb20f3b3f4d6171b9003b5eb9
2020-07-27 08:41:12 +02:00
Ammar Abdulhamid ea52da4dd0 Remove VectorAfterToolbox hook
Bug: T258814
Change-Id: I56c7efec0df021b3af3205ba80ea33b8fa470880
2020-07-27 00:18:51 +01:00
Volker E 89114e38ac MenuTabs: Remove IE 8 fallback
Also removing the image. `rgba()` for the win.

Change-Id: Ieeb33c6af1019df97ae641a017a970ce2e0ec8ff
2020-07-23 18:13:31 -07:00
Volker E 389141651b Remove unused images
All those have been lingering while not being used for a while.
- arrow* files are part of core 'mediawiki.icon' module
- 'link-icon.png' is without any reference nor clear original usage
- 'magnify-clip.png' is part of core 'mediawiki.skinning' module
- 'search-fade.png' was used in #simpleSearch before it got unified with
  Design Style Guide components

Change-Id: I985d3ec25b26eea359ce3dbf5abbe4647bc37ab4
2020-07-23 18:04:26 -07:00
Volker E 5b5378a54f Replace deprecated `background-image-svg()` mixin calls
Use normal `background-image` properties with SVGs only now
that IE 8 and Android 2.1 is removed from Grade C.
Also removing all PNG fallback images.

Bug: T248062
Change-Id: Ib91cd0514d331ab6a0f8b668aef6991cf3267fe2
2020-07-23 17:50:31 -07:00
jdlrobson 01dd41a0b3 Restrict image border to images in border
In future we will be displaying the header and logo in the print
display - to avoid adding unnecessary borders scope this rule.

Bug: T253842
Change-Id: I123b73fcaa09c0213914ca6fd8074a1305814529
2020-07-23 10:37:36 -07:00
Translation updater bot e70f5ccc71 Localisation updates from https://translatewiki.net.
Change-Id: I21e25e1cbecab4bb49aec60f4e3b13dc3c88f479
2020-07-23 08:31:00 +02:00
Translation updater bot ff5147502e Localisation updates from https://translatewiki.net.
Change-Id: I4dcb7c070d45f84bb3e88cdb4cc56706195ad24a
2020-07-22 08:29:03 +02:00
Translation updater bot b372740e98 Localisation updates from https://translatewiki.net.
Change-Id: I02ab0ed1df5376811940db718ce3e7dc4e8ffbd8
2020-07-21 09:18:43 +02:00
jenkins-bot d09649250d Merge "Make collapsible code more resilient" 2020-07-20 22:08:07 +00:00
Translation updater bot f3dfa7f302 Localisation updates from https://translatewiki.net.
Change-Id: I042c6e810943d6b8004726e5463fe5a2c1b6cb26
2020-07-20 09:04:21 +02:00
jenkins-bot 3323cc930d Merge "less: Remove duplicated variables from mediawiki.ui" 2020-07-17 17:34:02 +00:00
jenkins-bot c7e9719b9b Merge "Add config to disable sidebar state persistence for logged-in users." 2020-07-17 16:57:18 +00:00
Jan Drewniak a8c79f3d52 Add config to disable sidebar state persistence for logged-in users.
Bug: T255727
Change-Id: Id28e0bc5249ba68b5de2a078a259e9964f619ef7
2020-07-17 09:32:21 -07:00
Translation updater bot 99ff546d12 Localisation updates from https://translatewiki.net.
Change-Id: I2cd7dc109732fe3bbfbd46ea870efaf2e5b7969c
2020-07-17 08:31:14 +02:00
jdlrobson 17a07e4c76 Make collapsible code more resilient
$.collapsibleTabs.getSettings can return undefined so the code
should take this into account

Bug: T177108
Change-Id: I2630a2ba2884542869748047ab84752543072647
2020-07-16 14:17:30 -07:00
Translation updater bot cd4c73a7ff Localisation updates from https://translatewiki.net.
Change-Id: I5193050be1d0011f8cf6e9df5cbc9f7932a3e81d
2020-07-16 08:23:22 +02:00
Volker E f01e1afb59 less: Remove duplicated variables from mediawiki.ui
Change-Id: Ia22d95878c7099d38557cc93b3b0df65b0e8519d
2020-07-15 17:55:59 -07:00
jenkins-bot 1ccf9f7fcb Merge "Refactor: html-userlangattributes -> html-user-language-attributes" 2020-07-15 18:10:55 +00:00
jdlrobson 39a333452b Refactor: html-userlangattributes -> html-user-language-attributes
This matches the name in core and is needed in preparation for
switching to SkinMustache

Additional change:
The JS variable htmluserlangattributes is renamed
"htmlUserLanguageAttributes"

Change-Id: I306ebb615f720852fb35c25ac240d6b802d05ecc
2020-07-15 10:18:45 -07:00
Translation updater bot 70cb2c86e9 Localisation updates from https://translatewiki.net.
Change-Id: I2076b9ef4789e8012ead4559c5bc97eabb25d76a
2020-07-15 09:07:42 +02:00
jenkins-bot 3651b41cb0 Merge "Max-width layout: Make page container fill viewport if content height is small" 2020-07-15 05:15:23 +00:00
Nicholas Ray acf42aa48f Max-width layout: Make page container fill viewport if content height is small
This will help mitigate the sidebar overflowing the page container
(related to T257518). Note that this does not prevent the overflow from
happening as the sidebar can still be longer than the viewport, but it
should reduce the number of times it can happen.

Bug: T257518
Change-Id: Id7138b4d4459242772bee8e11dc7edeaf76b3ca0
2020-07-14 17:20:06 -06:00
jdlrobson 018f30c615 [Refactor] Simplify searchbox layout rules
Follow up to I340b9e7e91960713c0ebb4d3d26e2ae2d5628f37

The layout styles reference internal CSS classes within
Vector components that may change at any time.

For legacy layout, I leave the styles the same (they have a FIXME)
As Aron noted on code review the impact such a change
could have on user styles. For modern however I simplify the styles
as follows:
* The top margin on the form is promoted to the main element - this has
the same end result.
* Likewise the width dimensions are moved from child elements to
the parent


Bug: T249363
Change-Id: If923a5dddaac6217462e75d476e07d923ee1743f
2020-07-14 21:02:03 +00:00
AronDemian ba8ec2f842 Split Searchbox layout styles for legacy and modern
No changes made to the CSS rules.
* 'SearchBox.less' is the common part that won't change in modern.
* layout styles copied to both 'layout.less'

Bug: T249363
Change-Id: I340b9e7e91960713c0ebb4d3d26e2ae2d5628f37
2020-07-14 13:01:35 -07:00
DannyS712 56dbfd9a46 Restore div wrapper around print footer
Div with a `printfooter` class that is hidden on normal page views

Bug: T257914
Change-Id: Ibd3e73076f290a92671c7cdd72672921fa64fc05
2020-07-14 12:28:45 +00:00
410 changed files with 15445 additions and 6891 deletions

View File

@ -1,17 +1,16 @@
{
"root": true,
"extends": [
"wikimedia/client",
"wikimedia/client-es5",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"globals": {
"require": "readonly",
"module": "readonly"
},
"rules": {
"one-var": "off",
"//": ["off", "ResourceLoader's `packageFiles` do not require wrapping but the `module` option is only available in ES6+."],
"no-implicit-globals": "off"
"//": [
"off",
"ResourceLoader's `packageFiles` do not require wrapping but the `module` option is only available in ES6+."
],
"no-implicit-globals": "off",
"compat/compat": "warn"
}
}

1
.gitignore vendored
View File

@ -43,5 +43,6 @@ Thumbs.db
# storybook
/.storybook/resolve-less-imports/
/.storybook/resolve-imports/
/.storybook/integration.less
.vscode

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
12.21.0

View File

@ -2,6 +2,6 @@
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
<file>.</file>
<arg name="extensions" value="php,php5,inc"/>
<arg name="extensions" value="php"/>
<arg name="encoding" value="UTF-8"/>
</ruleset>

View File

@ -1,9 +1,10 @@
@import '../variables.less';
@import 'integration.less';
@import 'icons.less';
@import '../resources/common/variables.less';
@import './integration.less';
@import './icons.less';
body {
font-family: @font-family-sans;
margin: 0;
}
a {

View File

@ -1,4 +1,5 @@
import { configure } from '@storybook/html';
import './common.less';
// automatically import all files ending in *.stories.js
configure(require.context('../stories', true, /\.stories\.js$/), module);

View File

@ -1,3 +1,7 @@
.vector-menu-dropdown h3:after {
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23202122' d='m11.05 3.996-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5'/%3E%3C/svg%3E%0A") !important;
}
.mw-wiki-logo {
background-image: url(https://en.wikipedia.org/static/images/project-logos/enwiki-2x.png);
background-size: 135px auto;
@ -14,7 +18,79 @@
url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Etray%3C/title%3E%3Cpath d=%22M3 1a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm14 12h-4l-1 2H8l-1-2H3V3h14z%22/%3E%3C/svg%3E");
}
.mw-ui-icon-add:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Elanguage%3C/title%3E%3Cg fill='%2354595d'%3E%3Cpath d='M11 9V4H9v5H4v2h5v5h2v-5h5V9z'/%3E%3C/g%3E%3C/svg%3E");
}
.mw-ui-icon-add-invert:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Elanguage%3C/title%3E%3Cg fill='white'%3E%3Cpath d='M11 9V4H9v5H4v2h5v5h2v-5h5V9z'/%3E%3C/g%3E%3C/svg%3E");
}
.mw-ui-icon-add-progressive:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Elanguage%3C/title%3E%3Cg fill='%23447ff5'%3E%3Cpath d='M11 9V4H9v5H4v2h5v5h2v-5h5V9z'/%3E%3C/g%3E%3C/svg%3E");
}
.mw-ui-icon-add-destructive:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Elanguage%3C/title%3E%3Cg fill='%23ff4242'%3E%3Cpath d='M11 9V4H9v5H4v2h5v5h2v-5h5V9z'/%3E%3C/g%3E%3C/svg%3E");
}
.uls-trigger {
background-image: linear-gradient(transparent,transparent),
url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E %3Ctitle%3E language %3C/title%3E %3Cpath d=%22M20 18h-1.44a.61.61 0 0 1-.4-.12.81.81 0 0 1-.23-.31L17 15h-5l-1 2.54a.77.77 0 0 1-.22.3.59.59 0 0 1-.4.14H9l4.55-11.47h1.89zm-3.53-4.31L14.89 9.5a11.62 11.62 0 0 1-.39-1.24q-.09.37-.19.69l-.19.56-1.58 4.19zm-6.3-1.58a13.43 13.43 0 0 1-2.91-1.41 11.46 11.46 0 0 0 2.81-5.37H12V4H7.31a4 4 0 0 0-.2-.56C6.87 2.79 6.6 2 6.6 2l-1.47.5s.4.89.6 1.5H0v1.33h2.15A11.23 11.23 0 0 0 5 10.7a17.19 17.19 0 0 1-5 2.1q.56.82.87 1.38a23.28 23.28 0 0 0 5.22-2.51 15.64 15.64 0 0 0 3.56 1.77zM3.63 5.33h4.91a8.11 8.11 0 0 1-2.45 4.45 9.11 9.11 0 0 1-2.46-4.45z%22/%3E %3C/svg%3E") !important;
}
.mw-ui-icon-wikimedia-language:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Elanguage%3C/title%3E%3Cg fill='%2354595d'%3E%3Cpath d='M20 18h-1.44a.61.61 0 01-.4-.12.81.81 0 01-.23-.31L17 15h-5l-1 2.54a.77.77 0 01-.22.3.59.59 0 01-.4.14H9l4.55-11.47h1.89zm-3.53-4.31L14.89 9.5a11.62 11.62 0 01-.39-1.24q-.09.37-.19.69l-.19.56-1.58 4.19zm-6.3-1.58a13.43 13.43 0 01-2.91-1.41 11.46 11.46 0 002.81-5.37H12V4H7.31a4 4 0 00-.2-.56C6.87 2.79 6.6 2 6.6 2l-1.47.5s.4.89.6 1.5H0v1.33h2.15A11.23 11.23 0 005 10.7a17.19 17.19 0 01-5 2.1q.56.82.87 1.38a23.28 23.28 0 005.22-2.51 15.64 15.64 0 003.56 1.77zM3.63 5.33h4.91a8.11 8.11 0 01-2.45 4.45 9.11 9.11 0 01-2.46-4.45z'/%3E%3C/g%3E%3C/svg%3E");
}
.mw-ui-icon-wikimedia-userTalk:before {
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Euser talk%3C/title%3E%3Cpath d='M18 0H2a2 2 0 00-2 2v18l4-4h14a2 2 0 002-2V2a2 2 0 00-2-2zm-4 4a1.5 1.5 0 11-1.5 1.5A1.5 1.5 0 0114 4zM6 4a1.5 1.5 0 11-1.5 1.5A1.5 1.5 0 016 4zm4 8c-2.61 0-4.83-.67-5.65-3h11.3c-.82 2.33-3.04 3-5.65 3z'/%3E%3C/svg%3E");
}
.mw-ui-icon-wikimedia-sandbox:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Esandbox%3C/title%3E%3Cpath d='M8 12V9l6-6 3 3-6 6H8zm10-7l-3-3 2-2 3 3-2 2zM8 2h2v2H8zM4 2h2v2H4zM0 3a1 1 0 011-1h1v2H0V3zm0 3h2v2H0zm0 4h2v2H0zm0 4h2v2H0zm0 4h2v2H1a1 1 0 01-1-1v-1zm4 0h2v2H4zm4 0h2v2H8zm4 0h2v1a1 1 0 01-1 1h-1v-2zm0-4h2v2h-2z'/%3E%3C/svg%3E");
}
.mw-ui-icon-wikimedia-settings:before {
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Esettings%3C/title%3E%3Cg transform='translate(10 10)'%3E%3Cpath id='a' d='M1.5-10h-3l-1 6.5h5m0 7h-5l1 6.5h3'/%3E%3Cuse transform='rotate(45)' xlink:href='%23a'/%3E%3Cuse transform='rotate(90)' xlink:href='%23a'/%3E%3Cuse transform='rotate(135)' xlink:href='%23a'/%3E%3C/g%3E%3Cpath d='M10 2.5a7.5 7.5 0 000 15 7.5 7.5 0 000-15v4a3.5 3.5 0 010 7 3.5 3.5 0 010-7'/%3E%3C/svg%3E");
}
.mw-ui-icon-wikimedia-unStar:before {
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Eun-star%3C/title%3E%3Cpath d='M20 7h-7L10 .5 7 7H0l5.46 5.47-1.64 7 6.18-3.7 6.18 3.73-1.63-7z'/%3E%3C/svg%3E");
}
.mw-ui-icon-wikimedia-userContributions:before {
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Euser contributions%3C/title%3E%3Ccircle cx='2' cy='4' r='2'/%3E%3Ccircle cx='2' cy='10' r='2'/%3E%3Ccircle cx='2' cy='16' r='2'/%3E%3Ccircle cx='15.5' cy='10.5' r='2.5'/%3E%3Cpath d='M6 15h3v2H6zm0-6h5v2H6zm0-6h11v2H6zm9.5 10.556c-3.33 0-4.5 1.666-4.5 2.777V18h9v-1.667c0-1.11-1.17-2.777-4.5-2.777z'/%3E%3C/svg%3E");
}
.mw-ui-icon-wikimedia-logIn:before {
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Elog in%3C/title%3E%3Cpath d='M1 11v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6h8V5l4.75 5L9 15v-4H1z'/%3E%3C/svg%3E");
}
.mw-ui-icon-wikimedia-logOut:before {
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Elog out%3C/title%3E%3Cpath d='M3 3h8V1H3a2 2 0 00-2 2v14a2 2 0 002 2h8v-2H3z'/%3E%3Cpath d='M13 5v4H5v2h8v4l6-5z'/%3E%3C/svg%3E");
}
.mw-ui-icon-wikimedia-ellipsis:before {
background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Eellipsis%3C/title%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Ccircle cx='3' cy='10' r='2'/%3E%3Ccircle cx='17' cy='10' r='2'/%3E%3C/svg%3E%0A");
}
.mw-ui-icon-wikimedia-search:before {
background-image: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%3E%3Ctitle%3Esearch%3C%2Ftitle%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M12.2%2013.6a7%207%200%20111.4-1.4l5.4%205.4-1.4%201.4-5.4-5.4zM13%208A5%205%200%20113%208a5%205%200%200110%200z%22%2F%3E%3C%2Fsvg%3E");
}
.mw-ui-icon-wikimedia-userAvatar:before {
background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8'?%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Euser avatar%3C/title%3E%3Cpath d='M10 11c-5.92 0-8 3-8 5v3h16v-3c0-2-2.08-5-8-5z'/%3E%3Ccircle cx='10' cy='5.5' r='4.5'/%3E%3C/svg%3E");
}
.vector-user-menu-legacy #pt-anonuserpage,
.vector-user-menu-legacy #pt-userpage a {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAx0lEQVQ4jdXSzQmEQAwFYEuYUixhSwgkA8mQgKXYgS3YgXZgCZagHWgHuxf14t8osssGcv145CVJvjk+hBRFK2TrkK1D0cqHkN7CUBRI7L21KAqXMIDModiwD9oAkLlH0i3L+ooGiTWPAPPfJQTIHLGOB9h46YZnKS+3PI8PISW2GkV7FO2Jrb79h4+ODyElsYJYm437NSRWRCWdylgj++U0u+UAZI5E22hsWW03UWQtr2NT66zlCjz8uzNQbFiDN7F5/xB8aj57Ynp2FKI0bAAAAABJRU5ErkJggg==") !important;
}
.mw-ui-icon-wikimedia-speechBubbles:before {
background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Espeech bubbles%3C/title%3E%3Cg fill=%22%23000%22%3E%3Cpath d=%22M17 4v7a2 2 0 01-2 2H4v1a2 2 0 002 2h10l4 4V6a2 2 0 00-2-2zM6 10H0v6z%22/%3E%3Crect width=%2216%22 height=%2212%22 rx=%222%22/%3E%3C/g%3E%3C/svg%3E");
}
.mw-ui-icon-wikimedia-history:before {
background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Ehistory%3C/title%3E%3Cg fill=%22%23000%22%3E%3Cpath d=%22M9 6v5h.06l2.48 2.47 1.41-1.41L11 10.11V6z%22/%3E%3Cpath d=%22M10 1a9 9 0 00-7.85 13.35L.5 16H6v-5.5l-2.38 2.38A7 7 0 1110 17v2a9 9 0 000-18z%22/%3E%3C/g%3E%3C/svg%3E");
}

View File

@ -1,6 +1,25 @@
const path = require( 'path' );
module.exports = {
resolve: {
alias: {
// FIXME: These imports should be updated in the story files instead of here.
'../resources/skins.vector.styles/Footer.less': '../resources/common/components/Footer.less',
'../resources/skins.vector.styles/LanguageButton.less': '../resources/skins.vector.styles/components/LanguageButton.less',
'../resources/skins.vector.styles/skin-legacy.less': '../resources/skins.vector.styles.legacy/skin-legacy.less',
'../resources/skins.vector.styles/Logo.less': '../resources/skins.vector.styles/components/Logo.less',
'../resources/skins.vector.styles/Menu.less': '../resources/common/components/Menu.less',
'../.storybook/common.less': '../resources/common/common.less',
'../resources/skins.vector.styles/MenuDropdown.less': '../resources/common/components/MenuDropdown.less',
'../resources/skins.vector.styles/MenuPortal.less': '../resources/common/components/MenuPortal.less',
'../resources/skins.vector.styles/MenuTabs.less': '../resources/common/components/MenuTabs.less',
'../resources/skins.vector.styles/TabWatchstarLink.less': '../resources/common/components/TabWatchstarLink.less',
'../resources/skins.vector.styles/SearchBox.less': '../resources/common/components/SearchBox.less',
'../resources/skins.vector.styles/Sidebar.less': '../resources/skins.vector.styles/components/Sidebar.less',
'../resources/skins.vector.styles/SidebarLogo.less': '../resources/common/components/SidebarLogo.less',
'../resources/skins.vector.styles/MenuPortal.less': '../resources/common/components/MenuPortal.less'
}
},
module: {
rules: [ {
test: /\.js$/,
@ -24,11 +43,10 @@ module.exports = {
},
{
test: /\.(gif|png|jpe?g|svg)$/i,
issuer: /\.less$/,
loader: 'file-loader',
options: {
paths: [
path.resolve( __dirname, 'components/images' )
path.resolve( __dirname, './resolve-imports' )
]
}
},
@ -38,13 +56,20 @@ module.exports = {
use: [ {
loader: 'style-loader'
}, {
loader: 'css-loader'
loader: 'css-loader',
options: {
// FIXME: Disable resolving of CSS urls until Storybook is upgraded
// to use Webpack 5 and array values for aliases
// (which would cleanly resolve urls in LESS partial starting with `url(images/...)` )
url: false
}
}, {
loader: 'less-loader',
options: {
relativeUrls: false,
relativeUrls: true,
strictUnits: true,
paths: [
path.resolve( __dirname, 'resolve-less-imports' )
path.resolve( __dirname, 'resolve-imports' )
]
}
} ]

View File

@ -2,6 +2,7 @@
"extends": "stylelint-config-wikimedia",
"rules": {
"selector-max-id": null,
"no-descending-specificity": null
"no-descending-specificity": null,
"declaration-property-unit-disallowed-list": null
}
}

55
.svgo.config.js Normal file
View File

@ -0,0 +1,55 @@
/**
* SVGO Configuration
* Recommended options from:
* https://www.mediawiki.org/wiki/Manual:Coding_conventions/SVG#Exemplified_safe_configuration
*/
const { extendDefaultPlugins } = require( 'svgo' );
module.exports = {
multipass: true,
plugins: extendDefaultPlugins( [
{
name: 'cleanupIDs',
active: false
},
{
name: 'removeDesc',
active: false
},
{
name: 'removeRasterImages',
active: true
},
{
name: 'removeTitle',
active: false
},
{
name: 'removeViewBox',
active: false
},
{
// If the SVG doesn't start with an XML declaration, then its MIME type will
// be detected as "text/plain" rather than "image/svg+xml" by libmagic and,
// consequently, MediaWiki's CSSMin CSS minifier. libmagic's default database
// currently requires that SVGs contain an XML declaration:
// https://github.com/threatstack/libmagic/blob/master/magic/Magdir/sgml#L5
name: 'removeXMLProcInst',
active: false
},
{
name: 'sortAttrs',
active: true
}
] ),
// Configure the indent (default 4 spaces) used by `--pretty` here:
// @see https://github.com/svg/svgo/blob/master/lib/svgo/js2svg.js#L6 for more config options
//
// Unfortunately EOL cannot be configured, SVGO uses the platform's EOL marker.
// On non-unix systems the linebreaks will be normalized to LF (unix) only at git commit,
// assuming `core.autocrlf` is 'true' (default) or 'input'.
js2svg: {
indent: "\t",
pretty: true,
}
}

View File

@ -1,27 +0,0 @@
# Recommended options from:
# https://www.mediawiki.org/wiki/Manual:Coding_conventions/SVG#Exemplified_safe_configuration
#
multipass: true
plugins:
- cleanupIDs: false
- removeDesc: false
- removeRasterImages: true
- removeTitle: false
- removeViewBox: false
# If the SVG doesn't start with an XML declaration, then its MIME type will
# be detected as "text/plain" rather than "image/svg+xml" by libmagic and,
# consequently, MediaWiki's CSSMin CSS minifier. libmagic's default database
# currently requires that SVGs contain an XML declaration:
# https://github.com/threatstack/libmagic/blob/master/magic/Magdir/sgml#L5
- removeXMLProcInst: false
- sortAttrs: true
# Configure the indent (default 4 spaces) used by `--pretty` here:
# @see https://github.com/svg/svgo/blob/master/lib/svgo/js2svg.js#L6 for more config options
#
# Unfortunately EOL cannot be configured, svgo uses the platform's EOL marker.
# On non-unix systems the linebreaks will be normalized to LF (unix) only at git commit, assuming `core.autocrlf` is 'true' (default) or 'input'.
#
js2svg:
pretty: true
indent: "\t"

View File

@ -13,6 +13,11 @@ See [skin.json](skin.json).
Development
-----------
### Node version
It is recommended to use [nvm](https://github.com/nvm-sh/nvm) to use the version of node defined
in `.nvmrc` during local development. This ensures consistency amongst development environments.
### Coding conventions
We strive for compliance with MediaWiki conventions:
@ -48,5 +53,25 @@ configurable via the configurations prefixed with `VectorDefaultSkinVersion`.
Version preference and configuration may be overridden by the `useskinversion`
URL query parameter.
### Pre-commit tests
A pre-commit hook is installed when executing `npm install`. By default, it runs
`npm test` which is useful for automatically validating everything that can be
in a reasonable amount of time. If you wish to defer these tests to be executed
by continuous integration only, set the `PRE_COMMIT` environment variable to `0`:
```bash
$ export PRE_COMMIT=0
$ git commit
```
Or more succinctly:
```bash
$ PRE_COMMIT=0 git commit
```
Skipping the pre-commit tests has no impact on Gerrit change identifier hooks.
### Hooks
See [hooks.txt](hooks.txt).

View File

@ -1,22 +1,22 @@
[
{
"resourceModule": "skins.vector.styles.legacy",
"maxSize": "7.8 kB"
"maxSize": "7.9 kB"
},
{
"resourceModule": "skins.vector.styles",
"maxSize": "8.5 kB"
},
{
"resourceModule": "skins.vector.icons",
"maxSize": "0.6 kB"
},
{
"resourceModule": "skins.vector.styles.responsive",
"maxSize": "0.6 kB"
"maxSize": "10.1 kB"
},
{
"resourceModule": "skins.vector.legacy.js",
"maxSize": "1.7 kB"
"maxSize": "2 kB"
},
{
"resourceModule": "skins.vector.search",
"maxSize": "3 kB"
},
{
"resourceModule": "skins.vector.icons",
"maxSize": "1 kB"
}
]

View File

@ -20,8 +20,8 @@
"support": {
"wiki": "https://www.mediawiki.org/wiki/Skin:Vector",
"forum": "https://www.mediawiki.org/wiki/Skin_talk:Vector",
"source": "https://phabricator.wikimedia.org/diffusion/SVEC/",
"irc": "irc://irc.freenode.org/mediawiki"
"source": "http://gerrit.wikimedia.org/g/mediawiki/skins/Vector",
"irc": "irc://irc.libera.chat/mediawiki"
},
"require": {
"composer/installers": ">1.0.12"
@ -33,11 +33,13 @@
"installer-name": "Vector"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "31.0.0",
"mediawiki/mediawiki-phan-config": "0.10.2",
"mediawiki/minus-x": "1.1.0",
"mediawiki/mediawiki-codesniffer": "38.0.0",
"mediawiki/mediawiki-phan-config": "0.11.0",
"mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.2.0"
"php-parallel-lint/php-parallel-lint": "1.3.1",
"phpunit/phpunit": "^8.5.0",
"johnkary/phpunit-speedtrap": "^3.1"
},
"scripts": {
"fix": [
@ -46,8 +48,11 @@
],
"test": [
"parallel-lint . --exclude node_modules --exclude vendor",
"phpcs -p -s",
"@phpcs",
"minus-x check ."
]
],
"test:size": "phpunit -c ../../phpunit.xml.dist tests/phpunit/structure/BundleSizeTest.php --verbose",
"phan": "phan -d . --long-progress-bar",
"phpcs": "phpcs -sp --cache"
}
}

View File

@ -2,14 +2,23 @@
set -euo pipefail
IFS=$'\n\t'
mkdir -p .storybook/resolve-less-imports/mediawiki.ui
mkdir -p docs/ui/assets/
mkdir -p .storybook/resolve-imports/mediawiki.ui
mkdir -p .storybook/resolve-imports/assets
curl -sS "https://en.wikipedia.org/w/load.php?only=styles&skin=vector&debug=true&modules=ext.echo.styles.badge|ext.uls.pt|wikibase.client.init|mediawiki.skinning.interface" -o .storybook/integration.less
curl -sSL "https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/resources/src/mediawiki.less/mediawiki.mixins.less?format=TEXT" | base64 --decode > .storybook/resolve-less-imports/mediawiki.mixins.less
curl -sSL "https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/resources/src/mediawiki.less/mediawiki.ui/variables.less?format=TEXT" | base64 --decode > .storybook/resolve-less-imports/mediawiki.ui/variables.less
curl -sSL "https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/resources/src/mediawiki.less/mediawiki.mixins.rotation.less?format=TEXT" | base64 --decode > .storybook/resolve-less-imports/mediawiki.mixins.rotation.less
curl -sSL "https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/resources/src/mediawiki.less/mediawiki.mixins.animation.less?format=TEXT" | base64 --decode > .storybook/resolve-less-imports/mediawiki.mixins.animation.less
curl -sS "https://en.m.wikipedia.org/static/images/mobile/copyright/wikipedia-wordmark-en.svg" -o "docs/ui/assets/wordmark.svg"
curl -sS "https://en.m.wikipedia.org/static/images/mobile/copyright/wikipedia.png" -o "docs/ui/assets/icon.png"
curl -sS "https://en.wikipedia.org/static/images/mobile/copyright/wikipedia-tagline-en.svg" -o "docs/ui/assets/tagline.svg"
rm -f .storybook/resolve-imports/mediawiki.skin.variables.less
cp resources/mediawiki.less/mediawiki.skin.variables.less .storybook/resolve-imports/
# Fetch resources via curl, `-sSL` silently, Show only errors, Location header and also with a 3XX response code.
curl -sS "https://www.mediawiki.org/w/load.php?only=styles&skin=vector&debug=true&modules=ext.echo.styles.badge|ext.uls.pt|wikibase.client.init|mediawiki.skinning.interface|mediawiki.ui.icon|mediawiki.ui.button" -o .storybook/integration.less
curl -sSL "https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/resources/src/mediawiki.less/mediawiki.skin.defaults.less?format=TEXT" | base64 --decode > .storybook/resolve-imports/mediawiki.skin.defaults.less
curl -sSL "https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/resources/src/mediawiki.less/mediawiki.mixins.less?format=TEXT" | base64 --decode > .storybook/resolve-imports/mediawiki.mixins.less
curl -sSL "https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/resources/src/mediawiki.less/mediawiki.ui/variables.less?format=TEXT" | base64 --decode > .storybook/resolve-imports/mediawiki.ui/variables.less
curl -sSL "https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/resources/src/mediawiki.less/mediawiki.mixins.rotation.less?format=TEXT" | base64 --decode > .storybook/resolve-imports/mediawiki.mixins.rotation.less
curl -sSL "https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/resources/src/mediawiki.less/mediawiki.mixins.animation.less?format=TEXT" | base64 --decode > .storybook/resolve-imports/mediawiki.mixins.animation.less
curl -sS "https://en.m.wikipedia.org/static/images/mobile/copyright/wikipedia-wordmark-en.svg" -o ".storybook/resolve-imports/assets/wordmark.svg"
curl -sS "https://en.m.wikipedia.org/static/images/mobile/copyright/wikipedia.png" -o ".storybook/resolve-imports/assets/icon.png"
curl -sS "https://en.wikipedia.org/static/images/mobile/copyright/wikipedia-tagline-en.svg" -o ".storybook/resolve-imports/assets/tagline.svg"
# Add less variable support
echo "@msg-parentheses-start: '(';" >> .storybook/resolve-imports/mediawiki.skin.defaults.less
echo "@msg-parentheses-end: ')';" >> .storybook/resolve-imports/mediawiki.skin.defaults.less

View File

@ -1,12 +0,0 @@
Hooks provided by the Vector skin.
'VectorAfterToolbox': Called after rendering the toolbox portlet (#p-tb).
You can use this to inject items (such as ads or a hit counter, for example)
from an extension.
This is the Vector counterpart to the MonoBookAfterToolbox hook in the MonoBook
skin.
'VectorBeforeFooter': Called before the footer (#footer) is output, but after
#mw-navigation has been closed.
You can use this to inject items (such as ads or a hit counter, for example)
from an extension.

View File

@ -1,13 +1,19 @@
{
"@metadata": {
"authors": [
"Fraxinus.cs",
"Pupsik-ipa",
"Temuri rajavi"
]
},
"vector-action-move": "Ахьӡ аҧсахра",
"vector-language-button-label": "{{PLURAL:$1|$1 абызшәа|$1 абызшәақәа}}",
"vector-action-addsection": "Атема ацҵатәуп",
"vector-action-delete": "Ианыхтәуп",
"vector-action-move": "Ахьӡ аԥсахра",
"vector-view-create": "Арҿиара",
"vector-view-edit": "Ариашамҭа",
"vector-view-edit": "Аредакциазура",
"vector-view-history": "Аҭоурых",
"vector-view-view": "Аҧхьара",
"vector-view-viewsource": "Ахәаҧшра"
"vector-view-view": "Аԥхьара",
"vector-view-viewsource": "Ахәаԥшра",
"vector-more-actions": "Еиҭа"
}

View File

@ -1,21 +0,0 @@
{
"@metadata": {
"authors": [
"Csisc",
"Malekbr",
"GeekEmad"
]
},
"vector-action-addsection": "أضف موضوعا",
"vector-action-delete": "احذف",
"vector-action-move": "انقل",
"vector-action-protect": "احم",
"vector-action-undelete": "استرجع الحذف",
"vector-action-unprotect": "غير الحماية",
"vector-view-create": "أنشئ",
"vector-view-edit": "Baddel",
"vector-view-history": "Warri listorik",
"vector-view-view": "Aqrê",
"vector-view-viewsource": "اعرض المصدر",
"vector-more-actions": "Akŧar"
}

View File

@ -3,7 +3,8 @@
"authors": [
"Agilight",
"Altai uul",
"HalanTul"
"HalanTul",
"Батыр Комдошев"
]
},
"vector-action-addsection": "Тема кожор",
@ -12,10 +13,10 @@
"vector-action-protect": "Корыыр",
"vector-action-undelete": "Орныктырар",
"vector-action-unprotect": "Корышты солыыр",
"vector-view-create": "Чаяалга",
"vector-view-create": "Јайалга",
"vector-view-edit": "Тӱзедери",
"vector-view-history": "Тӱӱкини кӧргӱзер",
"vector-view-view": "Кычырар",
"vector-view-viewsource": "Темдектерин кӧрӧр",
"vector-more-actions": "Ээчи"
"vector-more-actions": "Кӧптӧдӧ"
}

View File

@ -1,10 +1,14 @@
{
"@metadata": {
"authors": [
"Akamycoco",
"Vickylin77s"
]
},
"vector-action-addsection": "micomod hasasowalen",
"vector-action-delete": "masopitay to",
"vector-action-move": "malinah",
"vector-action-protect": "midipot",
"vector-view-create": " misanga",
"vector-view-edit": "misinanot",
"vector-view-history": " misongila a minengneng to likisi",

View File

@ -2,19 +2,20 @@
"@metadata": {
"authors": [
"Gott wisst",
"Heahwrita",
"JJohnson1701"
]
},
"vector-action-addsection": "Besettan mearcunge",
"vector-action-delete": "Forlēosan",
"vector-action-delete": "Forleos",
"vector-action-move": "Wegan",
"vector-action-protect": "Beorgan",
"vector-action-undelete": "Scieppan tramet eft",
"vector-action-unprotect": "Andwendan beorgunge",
"vector-view-create": "Scieppan",
"vector-view-edit": "Ādihtan",
"vector-view-history": "Sr",
"vector-view-view": "Rǣdan",
"vector-view-edit": "Adiht",
"vector-view-history": "Seoh stær",
"vector-view-view": "Ræd",
"vector-view-viewsource": "Sēon fruman",
"vector-more-actions": "Mā"
"vector-more-actions": "Ma"
}

View File

@ -6,9 +6,10 @@
},
"vector-action-addsection": "Tap Ibot-ikọ gbaalek",
"vector-action-delete": "Chọk",
"vector-action-move": "Nwene erieen̄",
"vector-view-create": "Nama",
"vector-view-edit": "Nen̄e ge",
"vector-view-history": "Kpọ mfufuk",
"vector-view-view": "Fuk",
"vector-more-actions": "Ofifi si"
"vector-more-actions": "Ofifi si"
}

View File

@ -4,6 +4,7 @@
"Angpradesh"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 भाषा|$1 भाषा सिनी}}",
"vector-action-addsection": "विषय जोड़ऽ",
"vector-action-delete": "मेटाबऽ",
"vector-action-move": "चलऽ",

View File

@ -5,12 +5,15 @@
"Calak",
"Khaled",
"Meno25",
"Michel Bakni",
"Mido",
"OsamaK",
"Shbib Al-Subaie",
"أحمد",
"ديفيد",
"زكريا",
"علاء"
"علاء",
"محمد أحمد عبد الفتاح"
]
},
"skinname-vector": "فكتور",
@ -18,20 +21,34 @@
"prefs-vector-enable-vector-1-label": "استخدم Legacy Vector",
"prefs-vector-enable-vector-1-help": "على مدار السنوات القليلة القادمة، سنقوم بتحديث واجهة Vector بشكل تدريجي. سيسمح لك Legacy Vector بمشاهدة الإصدار القديم من Vector (اعتبارا من ديسمبر 2019). لمعرفة المزيد حول التحديثات، انتقل إلى [[mw:Reading/Web/Desktop_Improvements|صفحة المشروع]].",
"vector-opt-out": "التبديل إلى الشكل القديم",
"vector.css": "/* الأنماط المتراصة CSS المعروضة هنا ستؤثر على مستخدمي واجهة فكتور */",
"vector.js": "/* أي جافاسكريبت هنا سيتم تحميلها للمستخدمين الذين يستعملون واجهة فكتور */",
"vector-action-addsection": "أضف موضوعا",
"vector-opt-out-tooltip": "غير الإعدادت للعودة إلى طريقة العرض التقليدية",
"vector.css": "/* ستؤثِّر الأنماط المتراصة CSS المعروضة هنا على مستخدمي واجهة فكتور */",
"vector.js": "/* سيُحمَّل أي نص برمجي مكتوب بلغة جافا للمستخدمين الذين يستعملون واجهة فكتور */",
"vector-action-toggle-sidebar": "تبديل الشريط الجانبي",
"vector-languages": "لغات",
"vector-language-button-label": "بلغات أخرى ($1)",
"vector-action-addsection": "أضف موضوعًا",
"vector-action-delete": "احذف",
"vector-action-move": "انقل",
"vector-action-protect": "احم",
"vector-action-protect": "احمِ",
"vector-action-undelete": "ألغ الحذف",
"vector-action-unprotect": "غير الحماية",
"vector-action-unprotect": "غيِّر الحماية",
"vector-view-create": "أنشئ",
"vector-view-edit": "عدل",
"vector-view-history": "تاريخ",
"vector-view-view": "اقرأ",
"vector-view-viewsource": "عرض المصدر",
"vector-view-viewsource": "اعرض المصدر",
"vector-jumptonavigation": "اذهب إلى التنقل",
"vector-jumptosearch": "اذهب إلى البحث",
"vector-more-actions": "المزيد"
"vector-jumptocontent": "انتقل إلى المحتوى",
"vector-more-actions": "المزيد",
"vector-search-loader": "تحميل اقتراحات البحث",
"vector-anon-user-menu-pages": "صفحات للمحررين الذين سجلوا خروجهم",
"vector-anon-user-menu-pages-learn": "تعلم المزيد",
"vector-anon-user-menu-pages-label": "تعلم المزيد بخصوص التحرير",
"vector-personal-more-label": "وصلات المستخدم",
"vector-main-menu-tooltip": "القائمة الرئيسة",
"tooltip-vector-anon-user-menu-title": "المزيد من الخيارات",
"vector-menu-checkbox-expanded": "معروض كاملاً",
"vector-menu-checkbox-collapsed": "مخفي"
}

View File

@ -2,19 +2,21 @@
"@metadata": {
"authors": [
"Clerc",
"Fiestoforo"
"Fiestoforo",
"Manke ruLpa"
]
},
"vector-action-addsection": "Püñamtun dungu",
"vector-language-button-label": "{{PLURAL:$1|$1 zugun}}",
"vector-action-addsection": "Püñamtun zungu",
"vector-action-delete": "Liftun",
"vector-action-move": "Wiñamün",
"vector-action-move": "Nengümün",
"vector-action-protect": "Nürüfkünun",
"vector-action-undelete": "Wüñoñamümün",
"vector-action-unprotect": "Kalekünun Nürüfkünun",
"vector-view-create": "Dewman",
"vector-view-create": "Zewman",
"vector-view-edit": "Kümeelün",
"vector-view-history": "Pengelün rupañmael",
"vector-view-history": "Pengepe tukulpan",
"vector-view-view": "Chillkatun",
"vector-view-viewsource": "Kimam chew küpan chi wirin",
"vector-more-actions": "Doy"
"vector-more-actions": "Zoy"
}

View File

@ -10,7 +10,7 @@
]
},
"vector-action-addsection": "زيد شي موضوع",
"vector-action-delete": "حدف",
"vector-action-delete": "محي",
"vector-action-move": "حوّل",
"vector-action-protect": "حمي",
"vector-action-undelete": "لغي الحدف",

View File

@ -8,6 +8,7 @@
},
"vector.css": "/* CSS اللى هنا حتأثر على اليوزرز اللى بيستخدموا واجهة فكتور */",
"vector.js": "/* اى جافاسكريبت هنا حتتحمل لكل يوزر بيستخدم واجهة فكتور */",
"vector-language-button-label": "{{PLURAL:$1|$1 لغه|$1 لغات}}",
"vector-action-addsection": "ضيف موضوع",
"vector-action-delete": "مسح",
"vector-action-move": "نقل",

View File

@ -3,9 +3,20 @@
"authors": [
"Bishnu Saikia",
"Chaipau",
"Gitartha.bordoloi"
"Gitartha.bordoloi",
"Simbu123"
]
},
"skinname-vector": "ভেক্টৰ",
"vector-skin-desc": "নতুন ৰূপ আৰু বহুতো ব্যৱহাৰযোগ্যতাৰ উন্নতিৰ সৈতে ম'ন'বুকৰ আধুনিক সংস্কৰণ",
"prefs-vector-enable-vector-1-label": "পুৰণা ভেক্টৰ ব্যৱহাৰ কৰক",
"prefs-vector-enable-vector-1-help": "পৰৱৰ্তী কেইবছৰমানত, আমি ক্ৰমান্বয়ে ভেক্টৰ আৱৰণ আপডেট কৰিম। পুৰণা ভেক্টৰ আৱৰণে আপোনাক ভেক্টৰৰ পুৰণি সংস্কৰণ চাবলৈ অনুমতি দিব (ডিচেম্বৰ ২০১৯ লৈকে)। আপডেটবোৰৰ বিষয়ে অধিক জানিবলৈ, আমাৰ [[mw:Reading/Web/Desktop_Improvements|প্ৰকল্প পৃষ্ঠালৈ]] যাওক।",
"vector-opt-out": "পুৰণি ৰূপলৈ যাওক",
"vector-opt-out-tooltip": "আৱৰণৰ পুৰণি ৰূপলৈ ঘূৰি যাবলৈ আপোনাৰ ছেটিংছ সলনি কৰক (পুৰণা ভেক্টৰ)",
"vector.css": "/* ভেক্টৰ আৱৰণৰ ব্যৱহাৰকাৰীসকলৰ বাবে ইয়াত সকলো CSS লোড কৰা হ'ব */",
"vector.js": "/* ভেক্টৰ আৱৰণৰ ব্যৱহাৰকাৰীসকলৰ বাবে ইয়াত সকলো জাভাস্ক্ৰিপ্ট লোড কৰা হ'ব */",
"vector-action-toggle-sidebar": "পাৰ্শ্বদণ্ড টগল কৰক",
"vector-language-button-label": "{{PLURAL:$1|$1টা ভাষা}}",
"vector-action-addsection": "বিষয় যোগ",
"vector-action-delete": "বিলোপ কৰক",
"vector-action-move": "স্থানান্তৰ কৰক",
@ -17,5 +28,9 @@
"vector-view-history": "ইতিহাস চাওক",
"vector-view-view": "পঢ়ক",
"vector-view-viewsource": "উৎস চাওক",
"vector-more-actions": "অধিক"
"vector-jumptonavigation": "নেভিগেশ্যনলৈ যাওক",
"vector-jumptosearch": "সন্ধানলৈ যাওক",
"vector-jumptocontent": "সমললৈ যাওক",
"vector-more-actions": "অধিক",
"vector-search-loader": "সন্ধান পৰামৰ্শ লোড কৰা হৈছে"
}

View File

@ -2,20 +2,22 @@
"@metadata": {
"authors": [
"Gazimagomedov",
"Omarov M.",
"Умар"
]
},
"vector-skin-desc": "MonoBook'алъул цӀияб версия цияб куцгун ва цӀиял юзабилитиялгун",
"vector-action-addsection": "Тема жубазе",
"vector-action-delete": ацIцIине",
"vector-skin-desc": "MonoBook'алъул гьанжесеб версия цӀияб куцгун ва гӀемерал хӀалтӀизабунлъиялъе квегӀенлъиялгун",
"vector-languages": "МацӀал",
"vector-action-addsection": "ТӀадежубазе тема",
"vector-action-delete": "Гилдизабизе",
"vector-action-move": "ЦӀар хисизе",
"vector-action-protect": "Хиса-басияздасан цIунизе",
"vector-action-undelete": "БукӀараб гӀадин гьабизе",
"vector-action-protect": "ЦӀунизе",
"vector-action-undelete": "БукӀахъинабизе",
"vector-action-unprotect": "ЦӀуни хисизе",
"vector-view-create": "Гьабизе",
"vector-view-edit": "Хисизабизе",
"vector-view-history": "Тарих балагьизе",
"vector-view-history": "Тарихалъухъ ралагьизе",
"vector-view-view": "ЦӀализе",
"vector-view-viewsource": "Вики-текст балагьизе",
"vector-view-viewsource": "Кодалъухъ ралагьизе",
"vector-more-actions": "Жеги"
}

View File

@ -4,6 +4,7 @@
"AZISS",
"Arystanbek",
"Gulmammad",
"NMW03",
"Sortilegus",
"Vago",
"Vugar 1981",
@ -11,11 +12,15 @@
]
},
"skinname-vector": "Vector",
"prefs-vector-enable-vector-1-label": "Legacy Vector istifadə edin",
"prefs-vector-enable-vector-1-help": "Növbəti bir neçə il ərzində Vector dizaynını tədricən yeniləyəcəyik. Legacy Vector, Vector-un köhnə versiyasına baxmağa imkan verəcəkdir (dekabr 2019-cu ildən etibarən). Yeniləmələr haqqında daha çox məlumat üçün [[mw:Reading/Web/Desktop_Improvements|layihə səhifəmizə]] nəzər yetirin.",
"vector-opt-out": "Əvvəlki dizayna keç",
"vector.css": "/* Burada yerləşən CSS Vector istifadəçilərinə tətbiq olunur */",
"vector.js": "/* Burada Vector skin istifadəçiləri üçün istənilən JavaScript yüklənəcək */",
"vector-language-button-label": "{{PLURAL:$1|$1 dildə|$1 dildə}}",
"vector-action-addsection": "Mövzu əlavə et",
"vector-action-delete": "Sil",
"vector-action-move": "Adını dəyişdir",
"vector-action-move": "Adını dəyiş",
"vector-action-protect": "Mühafizə et",
"vector-action-undelete": "Bərpa et",
"vector-action-unprotect": "Mühafizəni kənarlaşdır",
@ -24,5 +29,6 @@
"vector-view-history": "Tarixçəyə bax",
"vector-view-view": "Oxu",
"vector-view-viewsource": "Mənbəyə bax",
"vector-more-actions": "Daha"
"vector-more-actions": "Daha çox",
"vector-search-loader": "Axtarış təklifləri yüklənir"
}

17
i18n/ban-bali.json Normal file
View File

@ -0,0 +1,17 @@
{
"@metadata": {
"authors": [
"Carma Citrawati",
"Chinamoonroll",
"Tok Pisin"
]
},
"vector-action-addsection": "ᬯᭂᬯᭂᬄᬢᭀᬧᬶᬓ᭄",
"vector-action-delete": "ᬳᬸᬲᬧ᭄",
"vector-action-move": "ᬕᬶᬗ᭄ᬲᬶᬭᬗ᭄",
"vector-view-create": "ᬓᬃᬤᬶ",
"vector-view-edit": "ᬳᬸᬳᬄ",
"vector-view-history": "ᬘᬶᬗᬓ᭄ᬩᬩᬤ᭄",
"vector-view-view": "ᬯᬘᬾᬦ᭄",
"vector-more-actions": "ᬮᬶᬬᬦᬦ᭄"
}

View File

@ -4,18 +4,30 @@
"Adi Mayndra",
"BASAbali",
"Carma citrawati",
"Chinamoonroll",
"Joseagush",
"NoiX180"
]
},
"vector-action-addsection": "Tambeh topik",
"vector-opt-out": "Alih nuju cingakan sadurungné",
"vector-opt-out-tooltip": "Uahin setélan Ida antuk mawali nuju cingakan sadurungné saking kules puniki (Vektor warisan)",
"vector-action-toggle-sidebar": "Tugel wilah sisi",
"vector-language-button-label": "{{PLURAL:$1|$1 basa}}",
"vector-action-addsection": "Weweh topik",
"vector-action-delete": "Usap",
"vector-action-move": "Gingsirang",
"vector-action-protect": "Saib",
"vector-action-undelete": "Tan kausap",
"vector-action-unprotect": "Uah saiban",
"vector-view-create": "Kardi",
"vector-view-edit": "Uah",
"vector-view-history": "Cingak babad",
"vector-view-view": "Wacén",
"vector-view-viewsource": "Cingak wit",
"vector-more-actions": "Lianan"
"vector-jumptonavigation": "Cebur nuju navigasi",
"vector-jumptosearch": "Cebur nuju parerehan",
"vector-jumptocontent": "Cebur nuju daging",
"vector-more-actions": "Lianan",
"vector-search-loader": "Ngamuat saran parerehan",
"vector-anon-user-menu-pages-learn": "pelajahin malih"
}

8
i18n/bas.json Normal file
View File

@ -0,0 +1,8 @@
{
"@metadata": {
"authors": [
"Danielgwd"
]
},
"vector-more-actions": "ǹtoŋ"
}

View File

@ -17,7 +17,7 @@
"vector-action-unprotect": "Uba parlindungan",
"vector-view-create": "Tompa",
"vector-view-edit": "Patota",
"vector-view-history": "Patudu andorang na",
"vector-view-history": "Patudu turihonna",
"vector-view-view": "Jaha",
"vector-view-viewsource": "Ida haroanna",
"vector-more-actions": "Lobian"

View File

@ -4,6 +4,10 @@
"Kjeanclaude"
]
},
"vector-action-addsection": "Fa ndè ouflè goua sou",
"vector-action-delete": "Nounnoun",
"vector-action-move": "Katchi floua boué nga i douman",
"vector-action-protect": "Sassawa",
"vector-view-create": "Yi",
"vector-view-edit": "Klè noun",
"vector-view-history": "Nian laa sa",

11
i18n/bdr.json Normal file
View File

@ -0,0 +1,11 @@
{
"@metadata": {
"authors": [
"Tofeiku"
]
},
"vector-view-edit": "Niuba",
"vector-view-history": "Ngenda' kisa dau-dau",
"vector-view-view": "Boso",
"vector-more-actions": "Iko"
}

View File

@ -2,12 +2,17 @@
"@metadata": {
"authors": [
"EugeneZelenko",
"Nieszczarda2",
"Red Winged Duck",
"Renessaince",
"Wizardist"
]
},
"skinname-vector": "Вэктар",
"vector-skin-desc": "Сучасная вэрсія MonoBook з абноўленым выглядам і шматлікімі паляпшэньнямі",
"prefs-vector-enable-vector-1-help": "Цягам наступных некалькіх гадоў мы будзем паступова абнаўляць тэму „Вэктар“. Пераемны Вэктар дазволіць вам праглядаць старую вэрсію Вэктара (паводле стану на сьнежань 2019 року). Каб даведацца пра абнаўленьні болей, зайдзіце на старонку [[mw:Reading/Web/Desktop_Improvements|нашага праекту]].",
"vector-language-button-aria-label": "Перайсьці да артыкула на іншай мове. Выбраць з: {{PLURAL:$1|$1 language|$1 languages}}",
"vector-language-button-label": "{{PLURAL:$1|$1 мова|$1 мовы|$1 моваў}}",
"vector-action-addsection": "Дадаць тэму",
"vector-action-delete": "Выдаліць",
"vector-action-move": "Перанесьці",

View File

@ -2,6 +2,7 @@
"@metadata": {
"authors": [
"Artsiom91",
"Chadyka",
"Mikalai Udodau",
"Yury Tarasievich",
"Дзяніс Тутэйшы",
@ -11,6 +12,7 @@
"vector-skin-desc": "Сучасная версія вокладкі Манабук, з абноўленым відам і шматлікімі зручнымі паляпшэннямі",
"prefs-vector-enable-vector-1-label": "Ужыць Legacy Vector",
"prefs-vector-enable-vector-1-help": "Цягам наступных некалькіх гадоў мы будзем паступова абнаўляць шаблон Vector. Legacy Vector дазволіць праглядаць старую версію Vector (станам на снежань 2019 года). Каб даведацца больш, перайдзіце на нашу [[mw:Reading/Web/Desktop_Improvements|старонку праекта]].",
"vector-language-button-label": "{{PLURAL:$1|$1 мова|$1 моваў}}",
"vector-action-addsection": "Дадаць тэму",
"vector-action-delete": "Выдаліць",
"vector-action-move": "Перанесці",

View File

@ -3,11 +3,15 @@
"authors": [
"Borislav",
"DCLXVI",
"ShockD",
"Spiritia",
"StanProg"
]
},
"vector-skin-desc": "Модерна версия на MonoBook с обновен дизайн и много подобрения на ползваемостта",
"prefs-vector-enable-vector-1-label": "Използване на стария Vector",
"vector-opt-out": "Превключване към стария изглед",
"vector-action-toggle-sidebar": "Превключване на страничната лента",
"vector-action-addsection": "Добавяне на тема",
"vector-action-delete": "Изтриване",
"vector-action-move": "Преместване",
@ -21,5 +25,6 @@
"vector-view-viewsource": "Преглед на кода",
"vector-jumptonavigation": "Направо към навигацията",
"vector-jumptosearch": "Направо към търсенето",
"vector-jumptocontent": "Направо към съдържанието",
"vector-more-actions": "Още"
}

View File

@ -4,7 +4,11 @@
"Muskwatch"
]
},
"vector-language-button-label": "{{PLURAL:$1|smawiixw wa slhk'msta|$1 wa slhk'msta}}",
"vector-action-move": "sasttxw",
"vector-view-create": "sikstucw ti umat t'ayc",
"vector-view-edit": "qw'lasiitucw",
"vector-view-history": "sik'cicw ti s7alh7ayts ti umat t'ayc alh tu patsalh txw",
"vector-view-view": "sipaapqanu",
"vector-more-actions": "inic7acwlh"
}

21
i18n/blk.json Normal file
View File

@ -0,0 +1,21 @@
{
"@metadata": {
"authors": [
"Khun Kt",
"Ninjastrikers",
"咽頭べさ"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 ဘာႏသာႏငဝ်းငွါ|$1 ဘာႏသာႏငဝ်းငွါဖိုင်ႏ}}",
"vector-action-addsection": "ထဲမ်သော့ꩻထဲင်း အကျောင်ꩻခရာႏတသာ",
"vector-action-delete": "ယားကုဲင်",
"vector-action-move": "ခြုဲင်း",
"vector-action-protect": "ရဲးကမ်းသွော့",
"vector-view-create": "တဲမ်းစတာႏ",
"vector-view-edit": "မွဉ်းဖျင်",
"vector-view-history": "ထွားရာႏဇာႏဝင်ႏ",
"vector-view-view": "ဟော်ꩻတာႏ",
"vector-more-actions": "ထဲင်းယင်း",
"vector-intro-page": "Help:ငဝ်းတယ်ႏအွဉ်",
"tooltip-vector-anon-user-menu-title": "လွိုက်ခရာႏအထဲင်းဖိုင်ႏ"
}

View File

@ -13,12 +13,20 @@
]
},
"skinname-vector": "ভেক্টর",
"vector-skin-desc": "নতুন চেহারা মনোবুকের আধুনিক সংস্করণ এবং আরো অনেক ব্যবহারযোগ্যতার উন্নতি",
"vector-skin-desc": "নতুন চেহারায় মনোবুকের আধুনিক সংস্করণ এবং আরো অনেক ব্যবহারযোগ্যতার উন্নতি",
"prefs-vector-enable-vector-1-label": "উত্তরাধিকার ভেক্টর ব্যবহার করুন",
"vector-opt-out": "পুরানো চেহারাতে যান",
"vector.css": "/* এখানে স্থাপিত CSS ভেক্টর আবরণ ব্যবহারকারীদের প্রভাবিত করবে */",
"vector.js": "/* এখানের যে কোন জাভাস্ক্রিপ্ট ভেক্টর আবরণ ব্যবহারকারীদের জন্য লোড হবে */",
"vector-action-addsection": "বিষয় যোগ করুন",
"prefs-vector-enable-vector-1-help": "আগামী কয়েক বছর ধরে, আমরা ধীরে ধীরে ভেক্টর আবরণ হালনাগাদ করব। উত্তরাধিকার ভেক্টর আপনাকে ভেক্টরের পুরনো সংস্করণ দেখার অনুমতি দেবে (ডিসেম্বর ২০১৯ অনুযায়ী)। এই হালনাগাদ সম্পর্কে আরও জানতে, আমাদের [[mw:Reading/Web/Desktop_Improvements|প্রকল্প পাতায়]] যান।",
"vector-opt-out": "পুরনো চেহারাতে যান",
"vector-opt-out-tooltip": "আবরণটির পুরনো চেহারাতে ফিরে যেতে আপনার সেটিংস পরিবর্তন করুন (উত্তরাধিকার ভেক্টর)",
"vector.css": "/* এখানের সকল সিএসএস ভেক্টর আবরণ ব্যবহারকারীদের জন্য লোড হবে */",
"vector.js": "/* এখানের সকল জাভাস্ক্রিপ্ট ভেক্টর আবরণ ব্যবহারকারীদের জন্য লোড হবে */",
"vector-action-toggle-sidebar": "পার্শ্বদণ্ড দেখান",
"vector-languages": "ভাষা",
"vector-language-button-aria-label": "অন্য ভাষার একটি নিবন্ধে যান। {{PLURAL:$1|$1টি ভাষায়}} উপলব্ধ রয়েছে।",
"vector-language-button-label": "{{PLURAL:$1|$1টি ভাষা}}",
"vector-language-redirect-to-top": "এই উইকিপিডিয়ায়, ভাষার লিঙ্কগুলি পাতার উপরের দিকে নিবন্ধের শিরোনামের পাশে রয়েছে। [[#p-lang-btn|উপরে চলুন]]।",
"vector-language-variant-switcher-label": "ভাষার রূপভেদ পরিবর্তন করুন",
"vector-action-addsection": "আলোচনা যোগ করুন",
"vector-action-delete": "অপসারণ",
"vector-action-move": "স্থানান্তর",
"vector-action-protect": "সুরক্ষা",
@ -29,7 +37,19 @@
"vector-view-history": "ইতিহাস দেখুন",
"vector-view-view": "পড়ুন",
"vector-view-viewsource": "উৎস দেখুন",
"vector-jumptonavigation": "পরিভ্রমণে ঝাঁপ দিন",
"vector-jumptosearch": "অনুসন্ধানে ঝাঁপ দিন",
"vector-more-actions": "আরও"
"vector-jumptonavigation": "পরিভ্রমণে চলুন",
"vector-jumptosearch": "অনুসন্ধানে চলুন",
"vector-jumptocontent": "বিষয়বস্তুতে চলুন",
"vector-more-actions": "আরও",
"vector-search-loader": "অনুসন্ধানের পরামর্শ লোড করা হচ্ছে",
"vector-searchsuggest-containing": "<strong class=\"wvui-typeahead-search__suggestions__footer__text__query\">$1</strong> থাকা পাতাগুলিতে অনুসন্ধান করুন",
"vector-intro-page": "Help:ভূমিকা",
"vector-anon-user-menu-pages": "অনিবন্ধিত সম্পাদকের জন্য পাতা",
"vector-anon-user-menu-pages-learn": "আরও জানুন",
"vector-anon-user-menu-pages-label": "সম্পাদনা করা সম্পর্কে আরও জানুন",
"vector-personal-more-label": "ব্যবহারকারী সংযোগ",
"vector-main-menu-tooltip": "প্রধান মেনু",
"tooltip-vector-anon-user-menu-title": "আরও বিকল্প",
"vector-menu-checkbox-expanded": "প্রসারিত",
"vector-menu-checkbox-collapsed": "সংকোচিত"
}

View File

@ -14,5 +14,6 @@
"vector-view-edit": "পতানি",
"vector-view-history": "ইতিহাস চেইক",
"vector-view-view": "পাকরিক",
"vector-view-viewsource": "সোর্স চেইক"
"vector-view-viewsource": "সোর্স চেইক",
"vector-more-actions": "আরকউ"
}

View File

@ -1,6 +1,7 @@
{
"@metadata": {
"authors": [
"Adriendelucca",
"Fulup",
"Y-M D"
]
@ -11,6 +12,7 @@
"vector-opt-out-tooltip": "Kemmañ hoc'h arventennoù evit distreiñ da dres kozh ar gwiskadur (Vector istorel)",
"vector.css": "/* Talvezout a raio ar CSS lakaet amañ evit implijerien ar gwiskadur Vektor */",
"vector.js": "/* Kement JavaScript amañ a vo karget evit an implijerien a ra gant ar gwiskadur Vektor */",
"vector-language-button-label": "{{PLURAL:$1|$1 yezh|$1 yezhoù}}",
"vector-action-addsection": "Rannbennad nevez",
"vector-action-delete": "Diverkañ",
"vector-action-move": "Adenvel",

View File

@ -1,10 +1,17 @@
{
"@metadata": {
"authors": [
"Brxeditor",
"Mr. Nijwmsa Boro",
"Ⓝⓘⓙⓦⓜ",
"ⓝⓘⓙⓦⓜ"
]
},
"vector-action-move": "दोरोद",
"vector-action-protect": "रैखा खालाम",
"vector-view-create": "दा",
"vector-view-edit": "सोलाय",
"vector-view-history": "जारिमिन नाय",
"vector-view-view": "फराय",
"vector-more-actions": "गोबां"
}

View File

@ -5,10 +5,16 @@
"DzWiki",
"Edinwiki",
"KWiki",
"Srdjan m"
"Srdjan m",
"Srđan"
]
},
"vector-skin-desc": "Moderna verzija MonoKnjige s novijim izgledom i mnogim poboljšanjima u pogledu upotrebljivosti",
"prefs-vector-enable-vector-1-label": "Koristi stari Vector",
"prefs-vector-enable-vector-1-help": "Kroz narednih nekoliko godina postepeno ćemo ažurirati temu Vector. Stari Vector pružit će Vam mogućnost da koristite raniju verziju Vectora (zamrznutu u decembru 2019). Za detalje o ažuriranjima, posjetite našu [[mw:Reading/Web/Desktop_Improvements|projektnu stranicu]].",
"vector-opt-out": "Prebaci na stari izgled",
"vector-opt-out-tooltip": "Promijenite postavke da biste vratili stari izgled teme (stari Vector)",
"vector-language-button-label": "{{PLURAL:$1|$1 jezik|$1 jezika}}",
"vector-action-addsection": "Dodaj temu",
"vector-action-delete": "Izbriši",
"vector-action-move": "Premjesti",
@ -22,5 +28,6 @@
"vector-view-viewsource": "Pogledaj izvor",
"vector-jumptonavigation": "Idi na navigaciju",
"vector-jumptosearch": "Idi na pretragu",
"vector-more-actions": "Više"
"vector-more-actions": "Više",
"vector-search-loader": "Učitavam prijedloge pretrage"
}

View File

@ -4,6 +4,7 @@
"Filipinayzd"
]
},
"vector-action-addsection": "Magrugang sa paksa",
"vector-action-delete": "Puraon",
"vector-action-move": "Ilipat",
"vector-action-protect": "Protektaran",

View File

@ -7,6 +7,7 @@
"Calak",
"Fitoschido",
"Paucabot",
"SMP",
"Ssola",
"Toniher",
"Townie",
@ -15,6 +16,12 @@
},
"skinname-vector": "Vector",
"vector-skin-desc": "Versió moderna del MonoBook amb un nou aspesctes i moltes millores en la usabilitat",
"prefs-vector-enable-vector-1-label": "Usa la versió antiga de Vector",
"prefs-vector-enable-vector-1-help": "En els propers anys, s'anirà actualitzant gradualment l'aparença Vector. La versió antiga de Vector us permet deixar-la tal com està a desembre de 2019. Per a saber més sobre les actualitzacions, vegeu la [[mw:Reading/Web/Desktop_Improvements|pàgina del projecte]].",
"vector-opt-out": "Canvia a l'aspecte d'abans",
"vector-opt-out-tooltip": "Canvia la configuració a la versió antiga (legacy Vector)",
"vector-action-toggle-sidebar": "Mostra o oculta la barra lateral",
"vector-language-button-label": "{{PLURAL:$1|$1 llengua|$1 llengües}}",
"vector-action-addsection": "Afegeix un tema",
"vector-action-delete": "Esborra",
"vector-action-move": "Reanomena",
@ -28,5 +35,7 @@
"vector-view-viewsource": "Mostra el codi",
"vector-jumptonavigation": "Salta a la navegació",
"vector-jumptosearch": "Salta a la cerca",
"vector-more-actions": "Més"
"vector-jumptocontent": "Vés al contingut",
"vector-more-actions": "Més",
"vector-search-loader": "Carregant els suggeriments de cerca"
}

View File

@ -8,18 +8,23 @@
},
"skinname-vector": "Векторан",
"vector-skin-desc": "ХӀокху хенан MonoBook-ан верси кечдинчу карладахаршца а, дуккха а тодаршца юзабилити чохь",
"prefs-vector-enable-vector-1-label": "Лелайе Векторан темин шира верси",
"prefs-vector-enable-vector-1-help": "ТӀедогӀучу массийта шарахь «Векторан» тема карлайоккхура йу. «Векторан хьалхара версис» шуьна аьтту бо «Векторан» хьалхара вариант лело (2019 декабрь). Кхин сов цуьнах лаьцна хаа хьажа [[mw:Special:MyLanguage/Reading/Web/Desktop_Improvements|проектан агӀонга]].",
"vector-opt-out": "Латайе шира хатӀ",
"vector-language-button-label": "{{PLURAL:$1|$1 мотт}}",
"vector-action-addsection": "Тема тӀетоха",
"vector-action-delete": "ДӀаяккхар",
"vector-action-delete": "ДӀайаккхар",
"vector-action-move": "ЦӀе хийцар",
"vector-action-protect": "Ларъяр",
"vector-action-undelete": "МеттахӀоттае",
"vector-action-unprotect": "Ларъяр хийцар",
"vector-action-protect": "Ларйар",
"vector-action-undelete": "МеттахӀоттайе",
"vector-action-unprotect": "Ларйар хийцар",
"vector-view-create": "Кхоллар",
"vector-view-edit": "Нисъе бӀаьра",
"vector-view-edit": "Нисйе бӀаьра",
"vector-view-history": "АгӀонан хийцамаш",
"vector-view-view": "Ешар",
"vector-view-view": "Йеша",
"vector-view-viewsource": "Билглонашка хьажа",
"vector-jumptonavigation": "Навигацин тӀегӀо",
"vector-jumptosearch": "Лахарна тӀегӀо",
"vector-more-actions": "Кхин"
"vector-more-actions": "Кхин",
"tooltip-vector-anon-user-menu-title": "Дукха таронаш"
}

View File

@ -1,10 +0,0 @@
{
"@metadata": {
"authors": [
"Fanjiayi"
]
},
"vector-action-protect": "Protehi",
"vector-view-create": "Fa'tinas",
"vector-view-edit": "Tulaika"
}

View File

@ -3,10 +3,15 @@
"authors": [
"Asoxor",
"Calak",
"Sarchia"
"Sarchia",
"ئارام بکر"
]
},
"skinname-vector": "ڤێکتۆر",
"prefs-vector-enable-vector-1-label": "ڤێکتۆری سپاردە بەکاربێنە",
"prefs-vector-enable-vector-1-help": "لەماوەی چەند ساڵی داھاتوو، ھەوڵی نوێکردنەوەی پێستەی ڤێکتۆر دەدەین. ڤێکتۆری سپاردە ڕێگەت پێ دەدات کە وەشانە کۆنەکەی ڤێکتۆر (لە کانوونی یەکەمی ٢٠١٩) ببینیت. بۆ زیاتر زانیاری لەسەر نوێکردنەوەکان، بڕۆ بۆ [[mw:Reading/Web/Desktop_Improvements|پەڕەی پرۆژەکەمان]].",
"vector-opt-out": "بۆ دیمەنە کۆنەکە بیگۆڕە",
"vector-opt-out-tooltip": "ڕێکخستنەکانت بۆ گەڕانەوەی دیمەنە کۆنەکەی پێستەکە (ڤێکتۆری سپاردە) بگۆڕە",
"vector-action-addsection": "بابەت دابنێ",
"vector-action-delete": "سڕینەوە",
"vector-action-move": "گواستنەوە",

10
i18n/cpx.json Normal file
View File

@ -0,0 +1,10 @@
{
"@metadata": {
"authors": [
"ChoiChong"
]
},
"vector-action-delete": "刪",
"vector-action-move": "移动",
"vector-view-edit": "修改"
}

View File

@ -2,9 +2,12 @@
"@metadata": {
"authors": [
"Dvorapa",
"Fraxinus.cs",
"Jaroslav Cerny",
"Matěj Suchánek",
"Mormegil",
"Patriccck"
"Patriccck",
"Patrik L."
]
},
"skinname-vector": "Vektor",
@ -12,8 +15,12 @@
"prefs-vector-enable-vector-1-label": "Použít starý Vektor",
"prefs-vector-enable-vector-1-help": "V následujících letech budeme postupně aktualizovat vzhled Vektor. Starý Vektor vám umožní používat starou verzi Vektoru z prosince 2019. Více o aktualizacích se dozvíte na naší [[mw:Reading/Web/Desktop_Improvements|projektové stránce]].",
"vector-opt-out": "Přepnout na starý vzhled",
"vector-opt-out-tooltip": "Změnit nastavení a vrátit se zpět ke staré podobě vzhledu (starý Vektor)",
"vector.css": "/* Veškeré zde uvedené CSS bude načítáno uživatelům vzhledu „Vektor“ */",
"vector.js": "/* Veškerý zde uvedený JavaScript bude načítán uživatelům vzhledu „Vektor“ */",
"vector-action-toggle-sidebar": "Přepnout postranní panel",
"vector-language-button-aria-label": "Přejděte k článku v jiném jazyce. Je dostupný v {{PLURAL:$1|$1 jazyce|$1 jazycích}}",
"vector-language-button-label": "{{PLURAL:$1|$1 jazyk|$1 jazyky|$1 jazyků}}",
"vector-action-addsection": "Přidat téma",
"vector-action-delete": "Smazat",
"vector-action-move": "Přesunout",
@ -27,5 +34,12 @@
"vector-view-viewsource": "Zobrazit zdrojový kód",
"vector-jumptonavigation": "Skočit na navigaci",
"vector-jumptosearch": "Skočit na vyhledávání",
"vector-more-actions": "Další"
"vector-jumptocontent": "Přeskočit na obsah",
"vector-more-actions": "Další",
"vector-search-loader": "Načítají se návrhy pro hledání",
"vector-intro-page": "Pomoc:Úvod",
"vector-anon-user-menu-pages": "Stránky pro odhlášené editory",
"vector-anon-user-menu-pages-learn": "dozvědět se více",
"vector-personal-more-label": "Uživatelské odkazy",
"vector-main-menu-tooltip": "Hlavní menu"
}

View File

@ -1,6 +1,7 @@
{
"@metadata": {
"authors": [
"NR Deblocked",
"ОйЛ"
]
},
@ -14,5 +15,7 @@
"vector-view-history": "їсторїꙗ",
"vector-view-view": "чьтѥниѥ",
"vector-view-viewsource": "страницѧ источьнъ обраꙁъ",
"vector-more-actions": "вѧщє"
"vector-more-actions": "вѧщє",
"vector-main-menu-tooltip": "​Главное​ ​меню​",
"tooltip-vector-anon-user-menu-title": "Бо́льше ѻпцїй"
}

View File

@ -1,9 +1,11 @@
{
"@metadata": {
"authors": [
"JonesT143",
"Lloffiwr"
]
},
"vector-language-button-label": "$1 iaith",
"vector-action-addsection": "Ychwanegu adran",
"vector-action-delete": "Dileu",
"vector-action-move": "Symud",

View File

@ -1,14 +1,21 @@
{
"@metadata": {
"authors": [
"Antonla",
"Byrial",
"Christian List",
"Peter Alberti",
"Saederup92"
"Saederup92",
"Weblars"
]
},
"vector-skin-desc": "Moderne version af MonoBook med frisk udseende og mange forbedringer af brugervenligheden",
"vector-action-addsection": "Nyt emne",
"prefs-vector-enable-vector-1-label": "Brug klassisk Vector",
"prefs-vector-enable-vector-1-help": "I løbet af de næste år vil vi gradvis opdatere Vector-udseendet. Klassisk Vector vil vise den gamle version af Vector (per december 2019). For at læse mere om opdateringen, se [[mw:Reading/Web/Desktop_Improvements|vores projektside]].",
"vector-opt-out": "Skift til det gamle udseende",
"vector-opt-out-tooltip": "Ændr indstillingerne for at gå tilbage til det gamle udseende (klassisk Vector)",
"vector-action-toggle-sidebar": "Vis/skjul venstremenuen",
"vector-action-addsection": "Tilføj emne",
"vector-action-delete": "Slet",
"vector-action-move": "Flyt",
"vector-action-protect": "Beskyt",
@ -21,5 +28,8 @@
"vector-view-viewsource": "Se kilden",
"vector-jumptonavigation": "Spring til navigation",
"vector-jumptosearch": "Spring til søgning",
"vector-more-actions": "Mere"
"vector-jumptocontent": "Spring til indhold",
"vector-more-actions": "Mere",
"vector-anon-user-menu-pages-learn": "lær mere",
"vector-main-menu-tooltip": "Hovedmenu"
}

24
i18n/dag.json Normal file
View File

@ -0,0 +1,24 @@
{
"@metadata": {
"authors": [
"Achiri Bitamsimli",
"Alhaj Darajaati",
"Chirifo",
"Dnshitobu",
"Jahinfo",
"Masssly",
"Ruky Wunpini"
]
},
"vector-language-button-aria-label": "Kpemi lahabali bali sheli ni. Din be {{PLURAL:$1|$1 Balli |$1 Bala}}",
"vector-language-variant-switcher-label": "Taɣimi balli woliginsima",
"vector-action-addsection": "Pahimi yaɣili",
"vector-action-delete": "Nyahima",
"vector-action-move": "Tirisibu",
"vector-action-protect": "Gubu",
"vector-view-create": "Namma",
"vector-view-edit": "Mali niŋ",
"vector-view-history": "Lihimi tarihi",
"vector-view-view": "Karimma",
"vector-more-actions": "Lihimi n pahi"
}

9
i18n/dar.json Normal file
View File

@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Soul Train"
]
},
"vector-view-view": "БелчӀес",
"vector-more-actions": "ГӀурра"
}

View File

@ -1,12 +1,13 @@
{
"@metadata": {
"authors": [
"Inkowik",
"L*E*D",
"Marcell0"
]
},
"vector-view-edit": "Bearbeiten",
"vector-view-history": "Versionsgeschichte anzeigen",
"vector-view-history": "Versionsgeschichte",
"vector-view-view": "Lesen",
"vector-more-actions": "Mehr"
}

11
i18n/de-formal.json Normal file
View File

@ -0,0 +1,11 @@
{
"@metadata": {
"authors": [
"Kghbln",
"Zabe"
]
},
"prefs-vector-enable-vector-1-help": "Im Laufe der kommenden Jahre wird die Benutzeroberfläche Vector schrittweise modernisiert. Mit dem klassischen Vector können Sie die bisherige Version von Vector (Stand: Dezember 2019) weiterhin verwenden. Mehr über die Modernisierungen finden Sie auf der [[mw:Reading/Web/Desktop_Improvements|Projektseite]].",
"vector-action-addsection": "Abschnitt hinzufügen",
"vector-view-edit": "Bearbeiten"
}

View File

@ -1,6 +1,7 @@
{
"@metadata": {
"authors": [
"CennoxX",
"Kghbln",
"Metalhead64",
"The Evil IP address",
@ -8,14 +9,20 @@
]
},
"skinname-vector": "Vector",
"skinname-vector-2022": "Vector 2022",
"vector-skin-desc": "Stellt eine modernisierte Benutzeroberfläche bereit",
"prefs-vector-enable-vector-1-label": "Verwende Legacy-Vector",
"prefs-vector-enable-vector-1-help": "Im Laufe der nächsten Jahre werden wir den Vector-Skin schrittweise aktualisieren. Legacy-Vector wird es dir ermöglichen, die alte Version von Vector (Dezember 2019) anzusehen. Um mehr über die Aktualisierungen zu erfahren, gehe zu unserer [[mw:Reading/Web/Desktop_Improvements|Projektseite]].",
"prefs-vector-enable-vector-1-label": "Verwende klassischen Vector",
"prefs-vector-enable-vector-1-help": "Im Laufe der kommenden Jahre wird die Benutzeroberfläche Vector schrittweise modernisiert. Mit dem klassischen Vector kannst du die bisherige Version von Vector (Stand: Dezember 2019) weiterhin verwenden. Mehr über die Modernisierungen findest du auf der [[mw:Reading/Web/Desktop_Improvements|Projektseite]].",
"vector-opt-out": "Umschalten zum bisherigen Aussehen",
"vector-opt-out-tooltip": "Ändere deine Einstellungen, um zum alten Aussehen der Benutzeroberfläche zurückzukehren (Legacy-Vector)",
"vector.css": "/* Das folgende CSS wird für Benutzer der Vector-Benutzeroberfläche geladen. */",
"vector.js": "/* Das folgende JavaScript wird für Benutzer der Vector-Benutzeroberfläche geladen. */",
"vector-action-toggle-sidebar": "Seitenleiste umschalten",
"vector-languages": "Sprachen",
"vector-language-button-aria-label": "Zu einem Artikel in einer anderen Sprache gehen. Verfügbar in {{PLURAL:$1|$1 Sprache|$1 Sprachen}}",
"vector-language-button-label": "{{PLURAL:$1|$1 Sprache|$1 Sprachen}}",
"vector-language-redirect-to-top": "In dieser Wikipedia befinden sich die Sprachlinks am oberen Rand der Seite gegenüber dem Artikeltitel. [[#p-lang-btn|Zum Anfang]].",
"vector-language-variant-switcher-label": "Sprachvariante ändern",
"vector-action-addsection": "Abschnitt hinzufügen",
"vector-action-delete": "Löschen",
"vector-action-move": "Verschieben",
@ -29,5 +36,17 @@
"vector-view-viewsource": "Quelltext anzeigen",
"vector-jumptonavigation": "Zur Navigation springen",
"vector-jumptosearch": "Zur Suche springen",
"vector-more-actions": "Mehr"
"vector-jumptocontent": "Zum Inhalt springen",
"vector-more-actions": "Mehr",
"vector-search-loader": "Laden von Suchvorschlägen",
"vector-searchsuggest-containing": "Suche nach Seiten, die <strong class=\"wvui-typeahead-search__suggestions__footer__text__query\">$1</strong> enthalten",
"vector-intro-page": "Help:Einführung",
"vector-anon-user-menu-pages": "Seiten für abgemeldete Benutzer",
"vector-anon-user-menu-pages-learn": "Weitere Informationen",
"vector-anon-user-menu-pages-label": "Erfahre mehr über das Bearbeiten",
"vector-personal-more-label": "Benutzerlinks",
"vector-main-menu-tooltip": "Hauptmenü",
"tooltip-vector-anon-user-menu-title": "Weitere Optionen",
"vector-menu-checkbox-expanded": "ausgeklappt",
"vector-menu-checkbox-collapsed": "eingeklappt"
}

View File

@ -22,12 +22,12 @@
"vector-opt-out": "Ravêr asayışê verêni",
"vector-opt-out-tooltip": "Kehan asayışê cildi şiyayışi rê eyaranê ho bıvurnê (Vektoro kehan)",
"vector-action-toggle-sidebar": "Toggle sidebar",
"vector-action-addsection": "Mewzu dek",
"vector-action-addsection": "Mewzu ake",
"vector-action-delete": "Bestere",
"vector-action-move": "Bıkırışe",
"vector-action-protect": "Bışevekne",
"vector-action-undelete": "Meestere",
"vector-action-unprotect": "Sıtarnayışi bıvurne",
"vector-action-unprotect": "Şeveknayışi bıvurne",
"vector-view-create": "Vıraze",
"vector-view-edit": "Bıvurne",
"vector-view-history": "Verêni bıvêne",
@ -35,5 +35,7 @@
"vector-view-viewsource": ımeyi bıvêne",
"vector-jumptonavigation": "Xıl de be pusula",
"vector-jumptosearch": "Xıl de cıgeyrayışi",
"vector-more-actions": "Zêde"
"vector-jumptocontent": "Ravêr zerreki",
"vector-more-actions": "Zêde",
"vector-search-loader": "Tewsiye cıgeyrayışi bar benê"
}

View File

@ -5,6 +5,7 @@
"Crazymadlover",
"Evropi",
"Geraki",
"NikosLikomitros",
"Nikosgranturismogt",
"Omnipaedista",
"Protnet",
@ -16,8 +17,11 @@
"prefs-vector-enable-vector-1-label": "Χρήση του Legacy Vector",
"prefs-vector-enable-vector-1-help": "Κατά τα επόμενα χρόνια, θα αναβαθμίζουμε σταδιακά το περιβάλλον Vector. Το Legacy Vector θα σας επιτρέψει να δείτε την παλιά έκδοση του Vector (ως τον Δεκέμβριο του 2019). Για να μάθετε περισσότερα σχετικά με τις αναβαθμίσεις, μεταβείτε στη [[mw:Reading/Web/Desktop_Improvements|σελίδα του έργου]] μας.",
"vector-opt-out": "Εναλλαγή στην παλιά εμφάνιση",
"vector.css": "/* Το τοποθετημένο εδώ CSS θα επηρεάσει χρήστες του Vector skin */",
"vector.js": "/* Οποιοσδήποτε κώδικας JavaScript εδώ θα φορτωθεί για χρήστες που χρησιμοποιούν το Vector skin */",
"vector-opt-out-tooltip": "Αλλάξτε τις ρυθμίσεις για να πάτε πίσω στην παλιά εμφάνιση του θέματος (παλιό Vector)",
"vector.css": "/* Όλα τα CSS εδώ θα φορτώσουν για χρήστες του Vector skin */",
"vector.js": "/* Όλη η JavaScript εδώ θα φορτωθεί για χρήστες που χρησιμοποιούν το Vector skin */",
"vector-action-toggle-sidebar": "Εναλλαγή πλευρικής στήλης",
"vector-language-button-label": "{{PLURAL:$1|$1 γλώσσα|$1 γλώσσες}}",
"vector-action-addsection": "Προσθήκη θέματος",
"vector-action-delete": "Διαγραφή",
"vector-action-move": "Μετακίνηση",
@ -31,5 +35,7 @@
"vector-view-viewsource": "Προβολή κώδικα",
"vector-jumptonavigation": "Μετάβαση στην πλοήγηση",
"vector-jumptosearch": "Πήδηση στην αναζήτηση",
"vector-more-actions": "Περισσότερα"
"vector-jumptocontent": "Μετάβαση στο περιεχόμενο",
"vector-more-actions": "Περισσότερα",
"vector-search-loader": "Φόρτωση προτάσεων αναζήτησης"
}

View File

@ -3,6 +3,7 @@
"authors": []
},
"skinname-vector": "Vector",
"skinname-vector-2022": "Vector 2022",
"vector-skin-desc": "Modern version of MonoBook with fresh look and many usability improvements",
"prefs-vector-enable-vector-1-label": "Use Legacy Vector",
"prefs-vector-enable-vector-1-help": "Over the next few years, we will be gradually updating the Vector skin. Legacy Vector will allow you to view the old version of Vector (as of December 2019). To learn more about the updates, go to our [[mw:Reading/Web/Desktop_Improvements|project page]].",
@ -11,6 +12,11 @@
"vector.css": "/* All CSS here will be loaded for users of the Vector skin */",
"vector.js": "/* All JavaScript here will be loaded for users of the Vector skin */",
"vector-action-toggle-sidebar": "Toggle sidebar",
"vector-languages": "Languages",
"vector-language-button-aria-label": "Go to an article in another language. Available in {{PLURAL:$1|$1 language|$1 languages}}",
"vector-language-button-label": "{{PLURAL:$1|$1 language|$1 languages}}",
"vector-language-redirect-to-top": "On this Wikipedia the language links are at the top of the page across from the article title. [[#p-lang-btn|Go to top]].",
"vector-language-variant-switcher-label": "Change language variant",
"vector-action-addsection": "Add topic",
"vector-action-delete": "Delete",
"vector-action-move": "Move",
@ -24,5 +30,17 @@
"vector-view-viewsource": "View source",
"vector-jumptonavigation": "Jump to navigation",
"vector-jumptosearch": "Jump to search",
"vector-more-actions": "More"
"vector-jumptocontent": "Jump to content",
"vector-more-actions": "More",
"vector-search-loader": "Loading search suggestions",
"vector-searchsuggest-containing": "Search for pages containing <strong class=\"wvui-typeahead-search__suggestions__footer__text__query\">$1</strong>",
"vector-intro-page": "Help:Introduction",
"vector-anon-user-menu-pages": "Pages for logged out editors",
"vector-anon-user-menu-pages-learn": "learn more",
"vector-anon-user-menu-pages-label": "Learn more about editing",
"vector-personal-more-label": "User links",
"vector-main-menu-tooltip": "Main menu",
"tooltip-vector-anon-user-menu-title": "More options",
"vector-menu-checkbox-expanded": "expanded",
"vector-menu-checkbox-collapsed": "collapsed"
}

View File

@ -7,6 +7,5 @@
},
"vector-view-edit": "Editar",
"vector-view-history": "Ver historial",
"vector-view-view": "Leer",
"vector-more-actions": "Mas"
"vector-view-view": "Leer"
}

View File

@ -2,27 +2,35 @@
"@metadata": {
"authors": [
"Armando-Martin",
"Avengium",
"Crazymadlover",
"Dalton2",
"Fitoschido",
"Geryescalier",
"Ihojose",
"Johny Weissmuller Jr",
"Locos epraix",
"Manuelt15",
"MarcoAurelio",
"Miguel2706",
"Platonides",
"Rodney Araujo",
"Vivaelcelta"
]
},
"skinname-vector": "Vector",
"vector-skin-desc": "Versión moderna de MonoBook, con un aspecto actualizado y muchas mejoras de usabilidad",
"prefs-vector-enable-vector-1-label": "Utilizar versión heredada de Vector",
"prefs-vector-enable-vector-1-help": "Durante los próximos años, actualizaremos gradualmente la piel Vector. La versión heredada de Vector te permitirá ver la versión anterior de Vector (a diciembre de 2019). Para obtener más información sobre las actualizaciones, ve a nuestra [[mw:Reading/Web/Desktop_Improvements|página del proyecto]].",
"vector-opt-out": "Cambiar a la apariencia anterior",
"vector-opt-out-tooltip": "Cambie su configuración para volver al aspecto anterior de la máscara (Vector heredado)",
"vector.css": "/* El CSS colocado en esta página afectará a los usuarios que usen la apariencia \"Vector\" */",
"vector.js": "/* Cualquier código JavaScript escrito aquí se cargará para todos los usuarios que usen la apariencia Vector */",
"vector-action-addsection": "Sección nueva",
"vector.css": "/* Todo CSS colocado en esta página será cargado para los usuarios que usen la apariencia \"Vector\" */",
"vector.js": "/* Todo código JavaScript escrito aquí se cargará para todos los usuarios de la apariencia Vector */",
"vector-action-toggle-sidebar": "Mostrar u ocultar la barra lateral",
"vector-language-button-aria-label": "Ir a un artículo en otro idioma. Disponible en {{PLURAL:$1|$1 idioma|$1 idiomas}}",
"vector-language-button-label": "{{PLURAL:$1|$1 idioma|$1 idiomas}}",
"vector-language-variant-switcher-label": "Cambiar variante de idioma",
"vector-action-addsection": "Añadir tema",
"vector-action-delete": "Borrar",
"vector-action-move": "Trasladar",
"vector-action-protect": "Proteger",
@ -35,5 +43,16 @@
"vector-view-viewsource": "Ver código",
"vector-jumptonavigation": "Ir a la navegación",
"vector-jumptosearch": "Ir a la búsqueda",
"vector-more-actions": "Más"
"vector-jumptocontent": "Ir al contenido",
"vector-more-actions": "Más",
"vector-search-loader": "Cargando sugerencias de búsqueda",
"vector-intro-page": "Help:Introducción",
"vector-anon-user-menu-pages": "Páginas para editores desconectados",
"vector-anon-user-menu-pages-learn": "más información",
"vector-anon-user-menu-pages-label": "Obtenga más información sobre editar",
"vector-personal-more-label": "Enlaces de usuario",
"vector-main-menu-tooltip": "Menú principal",
"tooltip-vector-anon-user-menu-title": "Más opciones",
"vector-menu-checkbox-expanded": "expandido",
"vector-menu-checkbox-collapsed": "contraído"
}

View File

@ -10,8 +10,12 @@
"vector-skin-desc": "MonoBooki uuem versioon värskema väljanägemise ja mitme kasutajasõbralikuma täiendusega",
"prefs-vector-enable-vector-1-label": "Kasuta vana Vektorit",
"prefs-vector-enable-vector-1-help": "Tulevatel aastatel uuendame järk-järgult Vektori-kujundust. Vana Vektor võimaldab kuvada kujunduse vana versiooni (seisuga detsember 2019). Lisateavet uuenduste kohta leiad [[mw:Reading/Web/Desktop_Improvements|projekti lehelt]].",
"vector-opt-out": "Lülitu vanale ilmele",
"vector-opt-out-tooltip": "Muuda eelistusi, et kasutada edasi kujunduse vana väljanägemist (vana Vektor)",
"vector.css": "/* Siin asuv kaskaadilaadistik laaditakse kõigi Vektori-kujunduse kasutajate jaoks. */",
"vector.js": "/* Siin asuv JavaScript laaditakse kõigi Vektori-kujunduse kasutajate jaoks. */",
"vector-action-toggle-sidebar": "Näita külgpaani või peida see",
"vector-language-button-label": "{{PLURAL:$1|$1 keel|$1 keelt}}",
"vector-action-addsection": "Lisa teema",
"vector-action-delete": "Kustuta",
"vector-action-move": "Teisalda",
@ -25,5 +29,15 @@
"vector-view-viewsource": "Vaata lähteteksti",
"vector-jumptonavigation": "Mine navigeerimisribale",
"vector-jumptosearch": "Mine otsikasti",
"vector-more-actions": "Veel"
"vector-jumptocontent": "Mine sisu juurde",
"vector-more-actions": "Veel",
"vector-search-loader": "Otsisoovituste laadimine",
"vector-anon-user-menu-pages": "Leheküljed sisse logimata kasutajatele",
"vector-anon-user-menu-pages-learn": "lisateave",
"vector-anon-user-menu-pages-label": "Loe veel muutmise kohta",
"vector-personal-more-label": "Kasutajalingid",
"vector-main-menu-tooltip": "Peamenüü",
"tooltip-vector-anon-user-menu-title": "Veel valikuid",
"vector-menu-checkbox-expanded": "avatud",
"vector-menu-checkbox-collapsed": "suletud"
}

View File

@ -3,11 +3,23 @@
"authors": [
"Fitoschido",
"Subi",
"Theklan",
"Unai Fdz. de Betoño",
"Xabier Armendaritz"
]
},
"skinname-vector": "Vector",
"vector-skin-desc": "MonoBook-en bertsio modernoa, itxura berriarekin eta erabilgarritasun hobekuntza askorekin",
"prefs-vector-enable-vector-1-label": "Aurreko Vector itxura erabili",
"prefs-vector-enable-vector-1-help": "Hurrengo urteetan zehar, pixkanaka joango gara Vector itxura aldatzen. Vector itxura zaharrak oraindik aukera emango dizu 2019ko Abenduan Vectorrek zuen itxura erabiltzeko. Aldaketen inguruan gehiago jakiteko, joan zaitez [[mw:Reading/Web/Desktop_Improvements|proiektuaren orrialdera]].",
"vector-opt-out": "Itxura zaharrera aldatu",
"vector-opt-out-tooltip": "Aldatu zure hobespenak aurreko itxurara joateko (Vector zaharra)",
"vector.css": "/* Hemen idatzitako CSS guztia Vector itxura duten erabiltzaile guztiei agertuko zaie */",
"vector.js": "/* Hemen idatzitako JavaScript guztia Vector itxura duten erabiltzaile guztiei agertuko zaie */",
"vector-action-toggle-sidebar": "Alboko barra ezkutatu edo erakutsi",
"vector-language-button-aria-label": "Beste hizkuntza batean idatzitako artikulura joan. {{PLURAL:$1|Hizkuntza $1ean|$1 hizkuntzatan}} eskuragarri.",
"vector-language-button-label": "{{PLURAL:$1|Hizkuntza bat|$1 hizkuntza}}",
"vector-language-variant-switcher-label": "Hizkuntza aldaera aldatu",
"vector-action-addsection": "Gehitu atala",
"vector-action-delete": "Ezabatu",
"vector-action-move": "Mugitu",
@ -19,5 +31,19 @@
"vector-view-history": "Ikusi historia",
"vector-view-view": "Irakurri",
"vector-view-viewsource": "Kodea ikusia",
"vector-more-actions": "Gehiago"
"vector-jumptonavigation": "Nabigaziora joan",
"vector-jumptosearch": "Bilaketara joan",
"vector-jumptocontent": "Edukira joan",
"vector-more-actions": "Gehiago",
"vector-search-loader": "Bilaketa gomendioak kargatzen",
"vector-searchsuggest-containing": "<strong class=\"wvui-typeahead-search__suggestions__footer__text__query\">$1</strong> duten orrialdeak bilatu",
"vector-intro-page": "Laguntza:Sarrera",
"vector-anon-user-menu-pages": "Izena eman gabeko erabiltzaileentzako orrialdeak",
"vector-anon-user-menu-pages-learn": "gehiago ikasi",
"vector-anon-user-menu-pages-label": "Artikuluak aldatzeari buruz gehiago ikasi",
"vector-personal-more-label": "Lankide loturak",
"vector-main-menu-tooltip": "Menu nagusia",
"tooltip-vector-anon-user-menu-title": "Aukera gehiago",
"vector-menu-checkbox-expanded": "hedatua",
"vector-menu-checkbox-collapsed": "bildua"
}

View File

@ -2,7 +2,8 @@
"@metadata": {
"authors": [
"Better",
"Crucifunked"
"Crucifunked",
"Julio Nepote"
]
},
"vector-action-addsection": "Añiil tema",
@ -14,7 +15,7 @@
"vector-view-create": "Crial",
"vector-view-edit": "Eital",
"vector-view-history": "Guipal estorial",
"vector-view-view": "Leyel",
"vector-view-view": "Leel",
"vector-view-viewsource": "Guipal cóigu",
"vector-more-actions": "Más"
}

View File

@ -1,11 +1,13 @@
{
"@metadata": {
"authors": [
"Ahmad252",
"Alireza Ivaz",
"Calak",
"DEXi",
"Ebraminio",
"Huji",
"Jeeputer",
"Ladsgroup",
"Reza1615",
"Zack90"
@ -13,9 +15,15 @@
},
"skinname-vector": "وکتور",
"vector-skin-desc": "نگارش مدرن مونوبوک با نمای تازه و بهینه‌سازی‌های کاربردی",
"prefs-vector-enable-vector-1-label": "استفاده از وکتور قدیمی",
"prefs-vector-enable-vector-1-help": "در چند سال آینده، ما کم‌کم پوستهٔ وکتور را به‌روزرسانی خواهیم کرد. وکتور قدیمی به شما اجازه می‌دهد تا از نسخهٔ قدیمی وکتور (نسخهٔ دسامبر ۲۰۱۹) استفاده کنید. برای کسب اطلاعات بیشتر در خصوص به‌روزرسانی‌ها، به [[mw:Reading/Web/Desktop_Improvements|صفحهٔ پروژه]] مراجعه کنید.",
"vector-opt-out": "بازگشت به ظاهر قدیمی",
"vector.css": "/* دستورات این بخش کاربرانی را که از پوستهٔ وکتور استفاده کنند تحت تاثیر قرار می‌دهند. */",
"vector.js": "/ * کدهای جاوااسکریپتی که در اینجا قرار می‌گیرند برای کاربران پوستهٔ وکتور بارگیری می‌شود * /",
"vector-opt-out-tooltip": "تنظیمات‌تان را تغییر دهید تا به نمای قبلی پوسته (وکتور قدیمی) برگردید",
"vector.css": "/* دستورات سی‌اس‌اس که در این بخش قرار بگیرد برای کاربرانی که از پوستهٔ وکتور استفاده کنند بارگیری می‌شود */",
"vector.js": "/* دستورات جاوااسکریپت که در این بخش قرار بگیرد برای کاربرانی که از پوستهٔ وکتور استفاده کنند بارگیری می‌شود */",
"vector-action-toggle-sidebar": "جمع و باز کردن نوار کناری",
"vector-languages": "زبان‌ها",
"vector-language-button-label": "{{PLURAL:$1|$1 زبان}}",
"vector-action-addsection": "افزودن بخش",
"vector-action-delete": "حذف",
"vector-action-move": "انتقال",
@ -29,5 +37,12 @@
"vector-view-viewsource": "نمایش مبدأ",
"vector-jumptonavigation": "پرش به ناوبری",
"vector-jumptosearch": "پرش به جستجو",
"vector-more-actions": "بیشتر"
"vector-jumptocontent": "پرش به محتوا",
"vector-more-actions": "بیشتر",
"vector-search-loader": "بارگیری پیشنهادهای جستجو",
"vector-searchsuggest-containing": "جستجو برای صفحه‌های حاوی <strong class=\"wvui-typeahead-search__suggestions__footer__text__query\">$1</strong>",
"vector-intro-page": "Help:مقدمه",
"vector-anon-user-menu-pages": "صفحه‌ها برای ویرایشگران خارج‌شده از سامانه",
"vector-anon-user-menu-pages-learn": "بیشتر بدانید",
"vector-personal-more-label": "پیوندهای کاربر"
}

View File

@ -1,7 +1,8 @@
{
"@metadata": {
"authors": [
"Ibrahima"
"Ibrahima",
"Ibrahima Malal Sarr"
]
},
"vector-action-addsection": "Ɓeydi toɓɓere",

View File

@ -3,6 +3,8 @@
"authors": [
"01miki10",
"Crt",
"MITO",
"Markus Mikkonen",
"Nedergard",
"Nike",
"Pxos",
@ -19,6 +21,9 @@
"vector.css": "/* Tämä sivu sisältää Vektori-ulkoasua muuttavia tyylejä. */",
"vector.js": "/* Tämän sivun JavaScript-koodi liitetään Vektori-tyyliin */",
"vector-action-toggle-sidebar": "Näytä/piilota sivupalkki",
"vector-languages": "Kielet",
"vector-language-button-aria-label": "Mene artikkeliin toisella kielellä. Saatavilla {{PLURAL:$1|$1 kielellä}}",
"vector-language-button-label": "{{PLURAL:$1|$1 kieli|$1 kieltä}}",
"vector-action-addsection": "Lisää aihe",
"vector-action-delete": "Poista",
"vector-action-move": "Siirrä",
@ -32,5 +37,13 @@
"vector-view-viewsource": "Näytä lähdekoodi",
"vector-jumptonavigation": "Siirry navigaatioon",
"vector-jumptosearch": "Siirry hakuun",
"vector-more-actions": "Muut"
"vector-jumptocontent": "Siirry sisältöön",
"vector-more-actions": "Muut",
"vector-search-loader": "Ladataan hakuehdotuksia",
"vector-anon-user-menu-pages": "Sivut kirjautumattomille muokkaajille",
"vector-anon-user-menu-pages-learn": "lue lisää",
"vector-anon-user-menu-pages-label": "Lue lisää muokkaamisesta",
"vector-personal-more-label": "Käyttäjän linkit",
"vector-main-menu-tooltip": "Päävalikko",
"tooltip-vector-anon-user-menu-title": "Lisää valintoja"
}

View File

@ -1,40 +1,64 @@
{
"@metadata": {
"authors": [
"Ajeje Brazorf",
"Akeron",
"Crochet.david",
"DavidL",
"DePlusJean",
"DreZhsh",
"Eneelk",
"Gomoko",
"Jean-Frédéric",
"Niridya",
"Noé",
"Od1n",
"Orlodrim",
"Pamputt",
"Thibaut120094",
"Urhixidur",
"Verdy p",
"Wladek92"
]
},
"skinname-vector": "Vector",
"vector-skin-desc": "Version moderne de MonoBook avec un aspect rajeuni et beaucoup daméliorations ergonomiques",
"prefs-vector-enable-vector-1-label": "Utiliser lancienne version de Vector",
"prefs-vector-enable-vector-1-help": "Dans les années à venir, nous mettrons progressivement à jour lhabillage Vector. La version héritée de Vector vous permet de voir lancien habillage de Vector (tel quil était en décembre 2019). Pour en savoir plus, rendez-vous sur [[mw:Reading/Web/Desktop_Improvements|project page]].",
"prefs-vector-enable-vector-1-help": "Dans les années à venir, nous mettrons progressivement à jour lhabillage Vector. La version historique de Vector vous permet de voir lancien habillage de Vector (tel quil était en décembre 2019). Pour en savoir plus, rendez-vous sur la [[mw:Reading/Web/Desktop_Improvements|page du projet]].",
"vector-opt-out": "Basculer vers lancien habillage",
"vector-opt-out-tooltip": "Modifier vos paramètres pour revenir à lancien aspect de lhabillage (Vector historique)",
"vector.css": "/* Le CSS placé ici affectera les utilisateurs de lhabillage Vector. */",
"vector.js": "/* Tout code JavaScript placé ici sera chargé pour les utilisateurs de lhabillage Vector */",
"vector-action-toggle-sidebar": "Afficher/cacher la barre latérale",
"vector.css": "/* Tout CSS placé ici sera chargé avec les pages accédées par les utilisateurs de lhabillage Vector */",
"vector.js": "/* Tout code JavaScript placé ici sera chargé avec les pages accédées par les utilisateurs de lhabillage Vector */",
"vector-action-toggle-sidebar": "Afficher/masquer la barre latérale",
"vector-languages": "Langues",
"vector-language-button-aria-label": "Aller à un article dans une autre langue. Disponible en {{PLURAL:$1|$1 langue|$1 langues}}.",
"vector-language-button-label": "{{PLURAL:$1|$1 langue|$1 langues}}",
"vector-language-redirect-to-top": "Sur ce Wikipédia, les liens de langue sont en haut de la page en face du titre de larticle. [[#p-lang-btn|Aller en haut]].",
"vector-language-variant-switcher-label": "Modifier la variante de langue",
"vector-action-addsection": "Ajouter un sujet",
"vector-action-delete": "Supprimer",
"vector-action-move": "Renommer",
"vector-action-protect": "Protéger",
"vector-action-undelete": "Rétablir",
"vector-action-undelete": "Restaurer",
"vector-action-unprotect": "Changer la protection",
"vector-view-create": "Créer",
"vector-view-edit": "Modifier",
"vector-view-history": "Voir lhistorique",
"vector-view-view": "Lire",
"vector-view-viewsource": "Voir la source",
"vector-jumptonavigation": "Sauter à la navigation",
"vector-jumptosearch": "Sauter à la recherche",
"vector-more-actions": "Plus"
"vector-jumptonavigation": "Aller à la navigation",
"vector-jumptosearch": "Aller à la recherche",
"vector-jumptocontent": "Aller au contenu",
"vector-more-actions": "Plus",
"vector-search-loader": "Chargement des suggestions de recherche",
"vector-searchsuggest-containing": "Rechercher les pages contenant <strong class=\"wvui-typeahead-search__suggestions__footer__text__query\">$1</strong>",
"vector-intro-page": "Help:Introduction",
"vector-anon-user-menu-pages": "Pages pour les éditeurs déconnectés",
"vector-anon-user-menu-pages-learn": "en savoir plus",
"vector-anon-user-menu-pages-label": "En savoir plus sur la contribution",
"vector-personal-more-label": "Liens utilisateur",
"vector-main-menu-tooltip": "Menu principal",
"tooltip-vector-anon-user-menu-title": "Plus doptions",
"vector-menu-checkbox-expanded": "développé",
"vector-menu-checkbox-collapsed": "replié"
}

View File

@ -1,6 +1,7 @@
{
"@metadata": {
"authors": [
"Beunice",
"Ebe123",
"Hangmanwa7id"
]
@ -10,6 +11,7 @@
"vector-action-protect": "Protéger",
"vector-view-create": "Créer",
"vector-view-edit": "Changer",
"vector-view-history": "Voir lhistorique",
"vector-view-view": "Lire",
"vector-view-viewsource": "Regarder la source",
"vector-more-actions": "Plus"

View File

@ -5,7 +5,7 @@
"Pyt"
]
},
"vector-skin-desc": "Modern werjuun faan Monobook mä frisk skak an föl muar mögelkhaiden",
"vector-skin-desc": "Modern wersion faan Monobook mä frisk skak an föl muar mögelkhaiden",
"vector-action-addsection": "Nei kirew began",
"vector-action-delete": "Strik",
"vector-action-move": "Fersküüw",

View File

@ -5,6 +5,7 @@
"Tocaibon"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 lenghe|$1 lenghis}}",
"vector-action-addsection": "Gnove sezion",
"vector-action-delete": "Elimine",
"vector-action-move": "Môf",

View File

@ -13,8 +13,10 @@
"prefs-vector-enable-vector-1-label": "De âlde bewende Vektor brûke",
"prefs-vector-enable-vector-1-help": "Yn 'e kommende pear jier geane wy de Vektor-foarmjouwing stadichoan bywurkje. Mei 'de âlde bewende Vektor' kinne jo it oansjoch fan de âlde ferzje fan Vektor (fan desimber 2019) behâlde. Gean nei ús [[mw:Reading/Web/Desktop_Improvements|projektside]] at jo mear witte wolle oer de oanpassings.",
"vector-opt-out": "Alde oansjoch weromsette",
"vector-opt-out-tooltip": "Jo ynstellings wizigje en gean werom nei it âlde oansjoch fan 'e foarmjouwing (bewende Vektor)",
"vector.css": "/* Al it CSS hjirre sil foar brûkers fan de Vector-foarmjouwing laden wurde */",
"vector.js": "/* Al it JavaScript hjirre sil foar brûkers fan de Vector-foarmjouwing laden wurde */",
"vector-action-toggle-sidebar": "Sydbalke omklappe",
"vector-action-addsection": "Nij mêd",
"vector-action-delete": "Wiskje",
"vector-action-move": "Omneame",
@ -28,5 +30,7 @@
"vector-view-viewsource": "Boarne besjen",
"vector-jumptonavigation": "Springe nei navigaasje",
"vector-jumptosearch": "Springe nei sykjen",
"vector-more-actions": "Mear"
"vector-jumptocontent": "Springe nei ynhâld",
"vector-more-actions": "Mear",
"vector-search-loader": "Laden fan syksuggestjes"
}

17
i18n/gld.json Normal file
View File

@ -0,0 +1,17 @@
{
"@metadata": {
"authors": [
"RFScott"
]
},
"vector-language-button-label": "{{PLURAL:$1 хэсэ}}",
"vector-action-addsection": "Темава аӈгойни",
"vector-action-delete": "Нангалаори",
"vector-action-move": "Энэвэмбури",
"vector-action-protect": "Кандёри",
"vector-view-create": "Аӈговори",
"vector-view-edit": "Калаори",
"vector-view-history": "Дюлэ дурун",
"vector-view-view": "Холаори",
"vector-more-actions": "Гучи"
}

View File

@ -1,8 +1,7 @@
{
"@metadata": {
"authors": [
"Andibing",
"Chase me ladies, I'm the Cavalry"
"DaSupremo"
]
},
"vector-action-addsection": "Add topic",

View File

@ -3,11 +3,18 @@
"authors": [
"Aritra",
"Ashok modhvadia",
"CptViraj",
"Dsvyas",
"KartikMistry"
]
},
"vector-skin-desc": "તાજા દેખાવ અને વધુ ઉપયોગી સુધારાઓ સાથે મોનોબુકની આધુનિક આવૃત્તિ",
"prefs-vector-enable-vector-1-label": "જૂનું વેક્ટર વાપરો",
"vector-opt-out": "જૂના દેખાવ પર જાઓ",
"vector-opt-out-tooltip": "તમારી ગોઠવણીને જૂના દેખાવ પર લઇ જાઓ (જૂનું વેક્ટર)",
"vector-action-toggle-sidebar": "સાઇડબાર છુપાવો-બતાવો",
"vector-languages": "ભાષાઓ",
"vector-language-button-label": "{{PLURAL:$1|$1 ભાષા|$1 ભાષાઓ}}",
"vector-action-addsection": "નવો વિષય",
"vector-action-delete": "રદ કરો",
"vector-action-move": "ખસેડો",
@ -19,5 +26,9 @@
"vector-view-history": "ઇતિહાસ જુઓ",
"vector-view-view": "વાંચો",
"vector-view-viewsource": "સ્રોત જુઓ",
"vector-more-actions": "વધુ"
"vector-jumptonavigation": "દિશાશોધન પર જાઓ",
"vector-jumptosearch": "શોધ પર જાઓ",
"vector-jumptocontent": "લખાણ પર જાઓ",
"vector-more-actions": "વધુ",
"vector-search-loader": "શોધ સૂચનો લાવો"
}

View File

@ -1,15 +1,20 @@
{
"@metadata": {
"authors": [
"Maor X"
"Leonfd1992",
"Maor X",
"Wilfredor"
]
},
"vector-opt-out": "Awanajaa sünainmüin sukuwa'ipaka paalainka",
"vector-action-addsection": "Alüjülee jeketü",
"vector-action-delete": "Ojuichajaa",
"vector-action-move": "Ansülaa",
"vector-action-protect": "Eisalajaa",
"vector-view-create": "Akumajaa",
"vector-view-edit": "Anaataa",
"vector-view-history": "Achikii a'wanajaayamaajatü",
"vector-view-history": "E'rajaa a'wanajaanüka",
"vector-view-view": "Aashaje'eraa",
"vector-view-viewsource": "Anüliaa eejeetülee"
"vector-view-viewsource": "Anüliaa eejeetülee",
"vector-more-actions": "Soo'omüin"
}

22
i18n/gur.json Normal file
View File

@ -0,0 +1,22 @@
{
"@metadata": {
"authors": [
"Akakiiri",
"Akandee1",
"Amoramah",
"Ayire Adongo",
"Dnshitobu"
]
},
"vector-language-variant-switcher-label": "Tee tɔgum buuri",
"vector-action-addsection": "Paasɛ sɔsezure",
"vector-action-delete": "Saalum",
"vector-action-move": "Lɛgum",
"vector-action-protect": "Gu",
"vector-view-create": "Maalɛ",
"vector-view-edit": "Demese",
"vector-view-history": "Bisɛ nabara la",
"vector-view-view": "Kãalɛ",
"vector-more-actions": "Zoe, zoe",
"vector-intro-page": "Suŋɛ:Pɔsega"
}

22
i18n/guw.json Normal file
View File

@ -0,0 +1,22 @@
{
"@metadata": {
"authors": [
"Anthonymodec",
"Gadarawamo",
"Hunpatinjob",
"Misteld",
"Samatics"
]
},
"vector-language-button-label": "{{PLURAL:$1|$1 ogbè|$1 ogbè lẹ}}",
"vector-action-addsection": "Yi hosọ dogọ",
"vector-action-delete": "Sunsunsẹ",
"vector-action-move": "Seten",
"vector-action-protect": "Hihọ́",
"vector-view-create": "Dá",
"vector-view-edit": "Jlado",
"vector-view-history": "Pọn kandai",
"vector-view-view": "Hia",
"vector-more-actions": "Dogọ",
"vector-anon-user-menu-pages-learn": "Plọnnu dogọ"
}

View File

@ -2,9 +2,14 @@
"@metadata": {
"authors": [
"Ammarpad",
"DonCamillo"
"DonCamillo",
"Em-em",
"Gwanki",
"Salihu aliyu"
]
},
"vector-language-button-aria-label": "Je zuwa maƙala domin wani harshen. Akwai a {{PLURAL:$1|$1 language|$1 languages}}",
"vector-language-variant-switcher-label": "Sauya bambancin harshe",
"vector-action-addsection": "Sabon sashe",
"vector-action-delete": "Soke",
"vector-action-move": "Gusarwa",
@ -13,5 +18,7 @@
"vector-view-edit": "Gyara",
"vector-view-history": "Nuna tarihin",
"vector-view-view": "Karanta",
"vector-more-actions": "Mafi"
"vector-more-actions": "Mafi",
"vector-searchsuggest-containing": "Duba shafukan dake dauke da <strong class=\"wvui-typeahead-search__suggestions__footer__text__query\">$1</strong>",
"vector-intro-page": "Taimako:Gabatarwa"
}

View File

@ -12,9 +12,12 @@
"prefs-vector-enable-vector-1-help": "בשנים הקרובות נעדכן בהדרגה את עיצוב וקטור. עיצוב וקטור הישן יאפשר לך לראות את הגרסה הישנה של וקטור (כפי שהיא הייתה בדצמבר 2019). למידע נוסף על העדכונים, ר' את [[mw:Reading/Web/Desktop_Improvements|דף הפרויקט שלנו]].",
"vector-opt-out": "מעבר למראה הישן",
"vector-opt-out-tooltip": "שינוי ההעדפות שלך וחזרה למראה הישן של העיצוב (וקטור ישן)",
"vector.css": "/* הסגנונות הנכתבים כאן ישפיעו על העיצוב \"וקטור\" בלבד */",
"vector.js": "/* כל הסקריפטים הנכתבים כאן ייטענו עבור מי שמשתמש בעיצוב \"וקטור\" בלבד */",
"vector-action-toggle-sidebar": "שינוי מצב סרגל צד",
"vector-languages": "שפות",
"vector-language-button-aria-label": "מעבר לערך בשפה אחרת. זמין {{PLURAL:$1|בשפה אחת|ב־$1 שפות}}",
"vector-language-button-label": "{{PLURAL:$1|שפה אחת|$1 שפות}}",
"vector-language-redirect-to-top": "בוויקיפדיה הזאת, קישורי השפה נמצאים בראש בדף מול כותרת הערך. [[#p-lang-btn|Go to top]].",
"vector-language-variant-switcher-label": "שינוי הגוון השפה",
"vector-action-addsection": "פסקה חדשה",
"vector-action-delete": "מחיקה",
"vector-action-move": "העברה",
@ -28,5 +31,17 @@
"vector-view-viewsource": "הצגת מקור",
"vector-jumptonavigation": "קפיצה לניווט",
"vector-jumptosearch": "קפיצה לחיפוש",
"vector-more-actions": "עוד"
"vector-jumptocontent": "לדלג לתוכן",
"vector-more-actions": "עוד",
"vector-search-loader": "טעינת הצעות חיפוש",
"vector-searchsuggest-containing": "חיפוש דפים שמכילים <strong class=\"wvui-typeahead-search__suggestions__footer__text__query\">$1</strong>",
"vector-intro-page": "Help:ברוכים הבאים",
"vector-anon-user-menu-pages": "דפים לעורכים שלא נכנסו לחשבון",
"vector-anon-user-menu-pages-learn": "מידע נוסף",
"vector-anon-user-menu-pages-label": "מידע נוסף על עריכה",
"vector-personal-more-label": "קישורי משתמש",
"vector-main-menu-tooltip": "תפריט ראשי",
"tooltip-vector-anon-user-menu-title": "אפשרויות נוספות",
"vector-menu-checkbox-expanded": "מורחב",
"vector-menu-checkbox-collapsed": "מוסתר"
}

View File

@ -4,15 +4,23 @@
"BadDog",
"Bugoslav",
"Ex13",
"Ivi104",
"MaGa",
"Neptune, the Mystic",
"Ponor",
"Tivek"
]
},
"skinname-vector": "Vector",
"vector-skin-desc": "Osuvremenjena inačica MonoBooka s obnovljenim dizajnom i mnogim poboljšanjima u upotrebljivosti",
"prefs-vector-enable-vector-1-label": "Rabi stari (baštinjeni) izgled imena Vector",
"prefs-vector-enable-vector-1-help": "Tijekom nekoliko godina osvježavat će se izgled sučelja imena Vector. Baštinjeni Vector omogućit će Vam upotrebu pregleda starije inačice Vectora (do mjeseca prosinca 2019.). Ako želite saznati više o tehnološkome osuvremenjivanju posjetite naše [[mw:Reading/Web/Desktop_Improvements|stranice projekta na MedijaWikiju]].",
"prefs-vector-enable-vector-1-label": "Rabi staru inačicu izgleda Vector",
"prefs-vector-enable-vector-1-help": "Izgled sučelja Vector osvježavat će se tijekom nekoliko godina. Ova postavka omogućit će Vam upotrebu inačice Vectora iz prosinca 2019. Više o tehnološkome osuvremenjavanju saznajte na [[mw:Reading/Web/Desktop_Improvements|stranici projekta na MediaWikiju]].",
"vector-opt-out": "Prebaci na stari izgled",
"vector-opt-out-tooltip": "Promijenite postavke i vratite se na stari izgled sučelja Vector",
"vector.css": "/* Sav kôd CSS-a na ovoj stranici bit će učitan upotrebljavačima izgleda Vector */",
"vector.js": "/* Sav kôd JavaScripta na ovoj stranici bit će učitan upotrebljavačima izgleda Vector */",
"vector-action-toggle-sidebar": "Uključi / isključi bočnu traku",
"vector-language-button-label": "{{PLURAL:$1|$1 jezik|$1 jezika}}",
"vector-action-addsection": "Dodaj temu",
"vector-action-delete": "Izbriši",
"vector-action-move": "Premjesti",
@ -26,5 +34,15 @@
"vector-view-viewsource": "Vidi izvor",
"vector-jumptonavigation": "Prijeđi na navigaciju",
"vector-jumptosearch": "Prijeđi na pretraživanje",
"vector-more-actions": "Više"
"vector-jumptocontent": "Prijeđi na sadržaj",
"vector-more-actions": "Više",
"vector-search-loader": "Učitavanje prijedloga pretrage",
"vector-anon-user-menu-pages": "Stranice za odjavljene uređivače",
"vector-anon-user-menu-pages-learn": "saznajte više",
"vector-anon-user-menu-pages-label": "Vidi više o uređivanju",
"vector-personal-more-label": "Suradničke poveznice",
"vector-main-menu-tooltip": "Glavni izbornik",
"tooltip-vector-anon-user-menu-title": "Više mogućnosti",
"vector-menu-checkbox-expanded": "prošireno",
"vector-menu-checkbox-collapsed": "sažeto"
}

View File

@ -1,6 +1,7 @@
{
"@metadata": {
"authors": [
"Iohanen",
"Midnight Gambler",
"Paul Beppler"
]
@ -11,10 +12,10 @@
"vector-action-protect": "Schütz",
"vector-action-undelete": "Wiederherstelle",
"vector-action-unprotect": "Seiteschutz ännre",
"vector-view-create": "Erstell",
"vector-view-edit": "Beoorbeite",
"vector-view-history": "Versionsgeschicht",
"vector-view-create": "Erstelle",
"vector-view-edit": "Beaarvete",
"vector-view-history": "Versionsgeschichd",
"vector-view-view": "Lese",
"vector-view-viewsource": "Quelltext oonzeiche",
"vector-more-actions": "Meahr"
"vector-more-actions": "Meh"
}

View File

@ -4,6 +4,7 @@
"Bdamokos",
"Dani",
"Dj",
"Hanna Tardos",
"Misibacsi",
"Tacsipacsi",
"Tgr"
@ -13,8 +14,11 @@
"prefs-vector-enable-vector-1-label": "Hagyományos Vector használata",
"prefs-vector-enable-vector-1-help": "A következő pár évben fokozatosan frissíteni fogjuk a Vector felületet. A hagyományos Vector beállítással a Vector felület régi (2019. decemberi) változatát használhatod továbbra is. A frissítésekről további információk a [[mw:Reading/Web/Desktop_Improvements|projektlapunkon]] találhatók.",
"vector-opt-out": "Vissza a régi megjelenéshez",
"vector.css": "/* Az ide elhelyezett CSS hatással lesz a Vector felület használóira */",
"vector.js": "/* A Vector felületet használó szerkesztők számára betöltendő JavaScriptek */",
"vector-opt-out-tooltip": "A beállításaid módosítása a felület régi verziójához (hagyományos Vector) való visszatéréshez",
"vector.css": "/* Az összes itteni CSS betöltődik Vector felület használóinak */",
"vector.js": "/* Az összes itteni JavaScript betöltődik Vector felület használóinak */",
"vector-action-toggle-sidebar": "Oldalsáv megjelenítése vagy elrejtése",
"vector-language-button-label": "$1 nyelv",
"vector-action-addsection": "Új téma nyitása",
"vector-action-delete": "Törlés",
"vector-action-move": "Átnevezés",
@ -28,5 +32,11 @@
"vector-view-viewsource": "A lap forrása",
"vector-jumptonavigation": "Ugrás a navigációhoz",
"vector-jumptosearch": "Ugrás a kereséshez",
"vector-more-actions": "Több"
"vector-jumptocontent": "Ugrás a tartalomhoz",
"vector-more-actions": "Több",
"vector-search-loader": "Keresési javaslatok betöltése…",
"vector-anon-user-menu-pages": "Lapok kijelentkezett szerkesztőknek",
"vector-anon-user-menu-pages-learn": "további információk",
"vector-anon-user-menu-pages-label": "Tudj meg többet a szerkesztésről",
"vector-personal-more-label": "Felhasználói hivatkozások"
}

View File

@ -2,12 +2,14 @@
"@metadata": {
"authors": [
"Arman musikyan",
"Kareyac",
"Teak",
"Vadgt",
"Xelgen"
]
},
"skinname-vector": "Սովորական",
"vector-languages": "Լեզուներ",
"vector-action-addsection": "Ավելացնել քննարկում",
"vector-action-delete": "Ջնջել",
"vector-action-move": "Տեղափոխել այս էջը",
@ -19,5 +21,6 @@
"vector-view-history": "Դիտել պատմությունը",
"vector-view-view": "Կարդալ",
"vector-view-viewsource": "Դիտել ելատեքստը",
"vector-more-actions": "Ավելին"
"vector-more-actions": "Ավելին",
"vector-anon-user-menu-pages-learn": "իմանալ ավելին"
}

View File

@ -15,5 +15,5 @@
"vector-view-edit": "Խմբագրել",
"vector-view-history": "Տեսնել պատմութիւնը",
"vector-view-view": "Կարդալ",
"vector-more-actions": "Աւելին"
"vector-more-actions": "Աւելի"
}

View File

@ -7,8 +7,14 @@
"vector-skin-desc": "Version moderne de MonoBook con aspecto rejuvenescite e multe meliorationes de usabilitate.",
"prefs-vector-enable-vector-1-label": "Usar le version ancian de Vector",
"prefs-vector-enable-vector-1-help": "In le proxime annos nos va actualisar gradualmente le apparentia Vector. Il continua a esser possibile usar le version ancian de Vector (illo de decembre 2019). Pro leger plus sur le actualisationes, va a nostre [[mw:Reading/Web/Desktop_Improvements|pagina de projecto]].",
"vector.css": "/* Le CSS placiate hic afficera le usatores del apparentia Vector */",
"vector.js": "/* Omne JavaScript hic se executara pro le usatores del apparentia Vector */",
"vector-opt-out": "Cambiar al ancian apparentia",
"vector-opt-out-tooltip": "Cambiar tu parametros pro retornar al ancian aspecto del apparentia (Vector historic)",
"vector.css": "/* Tote CSS hic essera cargate pro le usatores del apparentia Vector */",
"vector.js": "/* Tote JavaScript hic essera cargate pro le usatores del apparentia Vector */",
"vector-action-toggle-sidebar": "Alternar barra lateral",
"vector-language-button-aria-label": "Leger un articulo in un altere lingua. Disponibile in $1 lingua{{PLURAL:$1||s}}.",
"vector-language-button-label": "{{PLURAL:$1|$1 lingua|$1 linguas}}",
"vector-language-variant-switcher-label": "Cambiar variante de lingua",
"vector-action-addsection": "Adder topico",
"vector-action-delete": "Deler",
"vector-action-move": "Renominar",
@ -22,5 +28,16 @@
"vector-view-viewsource": "Vider texto fonte",
"vector-jumptonavigation": "Saltar al navigation",
"vector-jumptosearch": "Saltar al recerca",
"vector-more-actions": "Plus"
"vector-jumptocontent": "Saltar al contento",
"vector-more-actions": "Plus",
"vector-search-loader": "Cargante suggestiones de recerca",
"vector-intro-page": "Help:Introduction",
"vector-anon-user-menu-pages": "Paginas pro redactores sin session aperte",
"vector-anon-user-menu-pages-learn": "leger plus",
"vector-anon-user-menu-pages-label": "Leger plus sur le modification",
"vector-personal-more-label": "Ligamines de usator",
"vector-main-menu-tooltip": "Menu principal",
"tooltip-vector-anon-user-menu-title": "Plus optiones",
"vector-menu-checkbox-expanded": "displicate",
"vector-menu-checkbox-collapsed": "plicate"
}

View File

@ -3,16 +3,29 @@
"authors": [
"Arifin.wijaya",
"Bennylin",
"Daud I.F. Argana",
"Farras",
"Iwan Novirion",
"Naufal06",
"Rachmat04",
"Rex",
"William Surya Permana"
]
},
"skinname-vector": "Vektor",
"vector-skin-desc": "Versi modern dari MonoBook dengan tampilan segar dan banyak perbaikan kegunaan",
"prefs-vector-enable-vector-1-label": "Gunakan Vektor Warisan",
"prefs-vector-enable-vector-1-help": "Dalam beberapa tahun ke depan, kami akan memperbarui kulit Vektor secara bertahap. Vektor Warisan memungkinkan Anda untuk melihat-lihat dengan Vektor versi lama (per Desember 2019). Untuk mempelajari lebih lanjut tentang pembaruan ini, bukalah [[mw:Reading/Web/Desktop_Improvements|halaman proyek]] kami.",
"vector-opt-out": "Beralih ke tampilan lama",
"vector-opt-out-tooltip": "Ubah pengaturan Anda untuk kembali ke tampilan lama dari kulit ini (Vektor Warisan)",
"vector.css": "/* CSS yang ada di sini akan diterapkan pada kulit Vektor. */",
"vector.js": "/* Semua JavaScript di sini akan dimuatkan untuk para pengguna yang menggunakan kulit Vector */",
"vector-action-toggle-sidebar": "Buka/tutup bilah samping",
"vector-languages": "Bahasa",
"vector-language-button-aria-label": "Pergi ke artikel dalam bahasa lain. Terdapat {{PLURAL:$1|$1 bahasa}}",
"vector-language-button-label": "$1 bahasa",
"vector-language-redirect-to-top": "Di Wikipedia ini, pranala bahasa terletak di bagian atas halaman di sebelah judul artikel. [[#p-lang-btn|Pergi ke paling atas]].",
"vector-language-variant-switcher-label": "Ubah varian bahasa",
"vector-action-addsection": "Bagian baru",
"vector-action-delete": "Hapus",
"vector-action-move": "Pindahkan",
@ -21,10 +34,22 @@
"vector-action-unprotect": "Ubah perlindungan",
"vector-view-create": "Buat",
"vector-view-edit": "Sunting",
"vector-view-history": "Versi terdahulu",
"vector-view-history": "Lihat riwayat",
"vector-view-view": "Baca",
"vector-view-viewsource": "Lihat sumber",
"vector-jumptonavigation": "Loncat ke navigasi",
"vector-jumptosearch": "Loncat ke pencarian",
"vector-more-actions": "Lainnya"
"vector-jumptocontent": "Lompat ke isi",
"vector-more-actions": "Lainnya",
"vector-search-loader": "Memuat saran pencarian",
"vector-searchsuggest-containing": "Cari halaman yang berisi <strong class=\"wvui-typeahead-search__suggestions__footer__text__query\">$1</strong>",
"vector-intro-page": "Wikipedia:Pengantar",
"vector-anon-user-menu-pages": "Halaman penyunting yang telah keluar log",
"vector-anon-user-menu-pages-learn": "pelajari lebih lanjut",
"vector-anon-user-menu-pages-label": "Pelajari lebih lanjut tentang menyunting",
"vector-personal-more-label": "Pranala pengguna",
"vector-main-menu-tooltip": "Menu utama",
"tooltip-vector-anon-user-menu-title": "Opsi lainnya",
"vector-menu-checkbox-expanded": "dikembangkan",
"vector-menu-checkbox-collapsed": "diciutkan"
}

View File

@ -6,18 +6,29 @@
"Stavanger7"
]
},
"vector-skin-desc": "Version modern del MonoBook che aspecte frisc e plu amelioramentes de usabilitá",
"prefs-vector-enable-vector-1-label": "Usar Legacy Vector",
"prefs-vector-enable-vector-1-help": "In proxim annus, noi va esser gradualmen actualisant li pelle Vector. Li Legacy Vector va permisser vu vider li version antiqui del Vector (quam Decembre 2019). Por aprender plu concernent li actualisationes, ea por nor [[mw:Reading/Web/Desktop_Improvements|págine del projecte]].",
"vector-opt-out": "Changear por version antiqui",
"vector-opt-out-tooltip": "Changear tui specificationes por restituer li antiqui aspecte del pelle (Vector anteriori)",
"vector.css": "/* CSS colocat ci va afectar usatores de pelle Vector */",
"vector.js": "/* Alquel JavaScript ci va esser cargat por usatores que usa li pelle Vector */",
"vector-action-addsection": "Adjunter tema",
"vector-action-toggle-sidebar": "Changear barre lateral",
"vector-language-button-label": "{{PLURAL:$1|$1 lingue|$1 lingues}}",
"vector-action-addsection": "Addir tema",
"vector-action-delete": "Deleter",
"vector-action-move": "Mover",
"vector-action-protect": "Gardar",
"vector-action-protect": "Protecter",
"vector-action-undelete": "Restituer",
"vector-action-unprotect": "Desgardar",
"vector-action-unprotect": "Changear protection",
"vector-view-create": "Crear",
"vector-view-edit": "Redacter",
"vector-view-history": "Historie de versiones",
"vector-view-history": "Historico de versiones",
"vector-view-view": "Leer",
"vector-view-viewsource": "Vider fonte",
"vector-more-actions": "Plu"
"vector-jumptonavigation": "Saltar por navigation",
"vector-jumptosearch": "Saltar por sercha",
"vector-jumptocontent": "Saltar por contenete",
"vector-more-actions": "Plu",
"vector-search-loader": "Cargar suggestiones de sercha"
}

View File

@ -1,6 +1,7 @@
{
"@metadata": {
"authors": [
"Tochiprecious",
"Ukabia",
"Uzoma Ozurumba"
]
@ -16,5 +17,5 @@
"vector-view-history": "Lèe ị̀ta",
"vector-view-view": "Gụ̀ọ",
"vector-view-viewsource": "Zi mkpurụ",
"vector-more-actions": "Ọzọ kwa"
"vector-more-actions": "Ọzọ"
}

View File

@ -9,6 +9,7 @@
]
},
"skinname-vector": "Вéктора",
"vector-language-button-label": "{{PLURAL:$1|$1 мотт}}",
"vector-action-addsection": "Тема тӀатоха",
"vector-action-delete": "ДӀаяккха",
"vector-action-move": "ЦӀи хувца",

View File

@ -9,6 +9,7 @@
"prefs-vector-enable-vector-1-label": "Uzez 'Legacy Vector'",
"prefs-vector-enable-vector-1-help": "Dum la sequanta yari, ni gradope adoptos la vido-modelo ''Vector''. Legacy Vector permisos vu vidar l'anciena versiono di ''Vector'' (uzita til decembro 2019). Por savar pluse pri l'aktualigi, irez a [[mw:Reading/Web/Desktop_Improvements|nia pagino pri la projeto]].",
"vector-opt-out": "Chanjar al anciena ordino",
"vector-language-button-label": "{{PLURAL:$1|$1 Linguo|$1 Lingui}}",
"vector-action-addsection": "Adjuntar topiko",
"vector-action-delete": "Efacar",
"vector-action-move": "Movar",
@ -17,9 +18,12 @@
"vector-action-unprotect": "Chanjar protektado",
"vector-view-create": "Krear",
"vector-view-edit": "Redaktar",
"vector-view-history": "Vidar versionaro",
"vector-view-history": "Kronologio",
"vector-view-view": "Lektar",
"vector-view-viewsource": "Vidar fonto",
"vector-jumptonavigation": "Irez a navigado",
"vector-jumptosearch": "Irez a serchilo",
"vector-more-actions": "Pluse"
"vector-more-actions": "Pluse",
"vector-main-menu-tooltip": "Chef-menuo",
"tooltip-vector-anon-user-menu-title": "Plusa selekti"
}

View File

@ -10,6 +10,8 @@
},
"skinname-vector": "Vektor",
"vector-skin-desc": "Nútímaútgáfa af MonoBook með fersku útliti og mörgum endurbótum á notagildi",
"prefs-vector-enable-vector-1-label": "Nota eldra Vector-skinn",
"prefs-vector-enable-vector-1-help": "Á næstu árum munum við smátt og smátt uppfæra Vector-skinnið. Eldra Vector-skinn mun gera þér kleift að sjá eldri útgáfu Vector (eins og hún var í desember 2019). Til að sjá meira um þessar uppfærslur, geturðu farið á [[mw:Reading/Web/Desktop_Improvements|verkefnissíðuna]].",
"vector.css": "/* Allt CSS sem sett er hér mun hafa áhrif á alla notendur Vektor-skinnsins. */",
"vector.js": "/* Allt JavaScript sem sett er hér mun hafa áhrif á notendur Vektor-skinnsins. */",
"vector-action-addsection": "Bæta við umræðu",

View File

@ -1,6 +1,7 @@
{
"@metadata": {
"authors": [
"Ajeje Brazorf",
"Beta16",
"Darth Kule",
"Elitre",
@ -8,13 +9,19 @@
"Gianfranco",
"Melos",
"Pietrodn",
"Sakretsu",
"Scompo"
]
},
"vector-skin-desc": "Versione moderna del MonoBook con un aspetto rinnovato e molti miglioramenti dell'usabilità",
"prefs-vector-enable-vector-1-label": "Usa Legacy Vector",
"prefs-vector-enable-vector-1-help": "Nei prossimi anni aggiorneremo gradualmente il tema Vector. Legacy Vector ti permetterà di visualizzare la vecchia versione di Vector (risalente al dicembre 2019). Per scoprirne di più sulle novità, visita la nostra [[mw:Reading/Web/Desktop_Improvements|pagina del progetto]].",
"vector-opt-out": "Torna al vecchio aspetto",
"vector-opt-out-tooltip": "Cambia le tue impostazioni per ritornare alla visualizzazione della skin precedente (legacy Vector)",
"vector.css": "/* Gli stili CSS inseriti qui si applicano agli utenti che usano il tema Vector */",
"vector.js": "/* Il codice JavaScript inserito qui viene caricato dagli utenti che usano il tema Vector */",
"vector-languages": "Lingue",
"vector-language-button-label": "{{PLURAL:$1|$1 lingua|$1 lingue}}",
"vector-action-addsection": "Aggiungi discussione",
"vector-action-delete": "Cancella",
"vector-action-move": "Sposta",

View File

@ -1,23 +1,38 @@
{
"@metadata": {
"authors": [
"A2y4",
"Foomin10",
"Fryed-peach",
"Kkairri",
"LNDDYL",
"Marine-Blue",
"MathXplore",
"Omotecho",
"Otokoume",
"Penn Station",
"RYOUMA1117",
"Shirayuki",
"Takot",
"Tmv",
"Whym",
"Yusuke1109",
"しぃ",
"ひまり",
"青子守歌"
]
},
"skinname-vector": "ベクター",
"vector-skin-desc": "新しい見た目でユーザビリティが改善された、モダンバージョンのMonobook。",
"skinname-vector": "Vector",
"vector-skin-desc": "デザインを一新し、操作性を大幅に向上させたMonoBookの最新版。",
"prefs-vector-enable-vector-1-label": "古いVector外装を使用する",
"prefs-vector-enable-vector-1-help": "今後数年にわたり、Vectorスキンを徐々に更新していく予定です。Legacy Vectorでは、(2019年12月時点の) 古いVector外装を表示できます。アップデートについての詳細は、[[mw:Reading/Web/Desktop_Improvements|プロジェクトページ]]をご覧ください。",
"vector-opt-out": "以前の外観に切り替え",
"vector.css": "/* ここに記述したCSSはベクター外装の利用者に影響します */",
"vector.js": "/* ここにあるすべてのJavaScriptは、ベクター外装を使用している利用者に対して読み込まれます */",
"vector-opt-out-tooltip": "設定を変更して、昔のスキンに戻します (古いVector)",
"vector.css": "/* ここに記述したCSSは、Vectorスキンの利用者全てに読み込まれます */",
"vector.js": "/* ここに記述したJavaScriptは、Vectorスキンの利用者全てに読み込まれます */",
"vector-action-toggle-sidebar": "サイドバーの切り替え",
"vector-languages": "言語",
"vector-language-button-label": "{{PLURAL:$1|$1の言語版}}",
"vector-action-addsection": "話題追加",
"vector-action-delete": "削除",
"vector-action-move": "移動",
@ -31,5 +46,15 @@
"vector-view-viewsource": "ソースを閲覧",
"vector-jumptonavigation": "ナビゲーションに移動",
"vector-jumptosearch": "検索に移動",
"vector-more-actions": "その他"
"vector-jumptocontent": "コンテンツにスキップ",
"vector-more-actions": "その他",
"vector-search-loader": "検索候補を読み込んでいます",
"vector-anon-user-menu-pages": "ログアウトした編集者のページ",
"vector-anon-user-menu-pages-learn": "もっと詳しく",
"vector-anon-user-menu-pages-label": "編集の詳細",
"vector-personal-more-label": "ユーザーリンク",
"vector-main-menu-tooltip": "メインメニュー",
"tooltip-vector-anon-user-menu-title": "その他の操作",
"vector-menu-checkbox-expanded": "拡張",
"vector-menu-checkbox-collapsed": "折り畳む"
}

View File

@ -1,21 +1,22 @@
{
"@metadata": {
"authors": [
"Dentonius",
"Hazard-SJ",
"Katxis",
"Yocahuna"
]
},
"vector-action-addsection": "Ad tapik",
"vector-action-addsection": "Add on one nex' topic",
"vector-action-delete": "Diliit",
"vector-action-move": "Muuv",
"vector-action-protect": "Protek",
"vector-action-undelete": "Andiliit",
"vector-action-unprotect": "Neu protektian",
"vector-view-create": "Kriet",
"vector-view-edit": "Hedit",
"vector-view-history": "Vyuu ischri",
"vector-view-view": "Riid",
"vector-view-create": "Mek",
"vector-view-edit": "Change up",
"vector-view-history": "Pree di change dem",
"vector-view-view": "Read",
"vector-view-viewsource": "Vyuu Suos",
"vector-more-actions": "Muo"
"vector-more-actions": "More"
}

Some files were not shown because too many files have changed in this diff Show More