Commit Graph

1878 Commits

Author SHA1 Message Date
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
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