Commit graph

3043 commits

Author SHA1 Message Date
bwang 2567e48f64 Fix updateUserLinksDropdownItems not being called
Bug: T304002
Change-Id: Idc9cd3a324f48d2c48243b5011d1559839789539
2022-03-16 22:07:57 +00:00
Jon Robson 6855979a92 [i18n] Table of contents heading
Should be translateable

Change-Id: I3c4515f16b5300a44f89ebdcd426a9d8ac6ad138
2022-03-16 17:18:51 +00:00
jenkins-bot 0b3d452083 Merge "build: Update eslint-config-wikimedia to 0.22.1" 2022-03-16 17:04:23 +00:00
jenkins-bot 4bb95af10c Merge "Set position and z-index for mw-page-container" 2022-03-16 16:21:20 +00:00
Ed Sanders b72c648d21 build: Update eslint-config-wikimedia to 0.22.1
Change-Id: If632697f7c3bb3fad6668d791d9408f7b7a3590b
2022-03-16 15:42:07 +00:00
jenkins-bot 218dc95af5 Merge "Update Node version" 2022-03-16 15:09:24 +00:00
Abijeet 3a39708163 Set position and z-index for mw-page-container
This forms a stacking context inside mw-page-container. It allows
overlays appended to the body tag to position themselves over the
Vector interface.

Bug: T301452
Change-Id: Ie187fde43dd8e7f108388c848438545c75d19b09
2022-03-16 13:29:07 +05:30
Translation updater bot 448c300603 Localisation updates from https://translatewiki.net.
Change-Id: I215f6e0a255ff947900afef9289cf64e182aa30c
2022-03-16 08:09:34 +01:00
Jon Robson 1113492383 Update Node version
Change-Id: Ib0f2fcb372e2d89450c26beca691bc7060f11718
2022-03-15 14:26:04 -07:00
Translation updater bot 753c634961 Localisation updates from https://translatewiki.net.
Change-Id: I3a6bee90222912f8cdc80501d83cd7c7cfc2aef4
2022-03-15 08:27:13 +01:00
Translation updater bot 094928736c Localisation updates from https://translatewiki.net.
Change-Id: I2ace7e5843efb6bd96891eb63e622fffb81d79ee
2022-03-14 08:16:44 +01:00
bwang 2511e35837 Refactor user links functions in Hooks.php to increase test coverage
Change-Id: I8fbf5cdf111dbb1ec06e5e74056ffdef77f77f22
2022-03-11 21:53:06 +00:00
Translation updater bot 749217f782 Localisation updates from https://translatewiki.net.
Change-Id: I71ca8af34211b04dea09b4bb28c1d421417bc79b
2022-03-11 08:35:05 +01:00
Translation updater bot fe9b975f6d Localisation updates from https://translatewiki.net.
Change-Id: Ia01d282ccb75d5d8be80672949c84e242a50ea4c
2022-03-10 08:21:35 +01:00
Translation updater bot 9d511288e3 Localisation updates from https://translatewiki.net.
Change-Id: I82745027cf8c81492362d029e943b827f3055b24
2022-03-09 08:11:35 +01:00
jenkins-bot 61e2e0fbd8 Merge "Add support for icons not prefixed with wikimedia-." 2022-03-08 16:26:06 +00:00
Translation updater bot 15f3c8032e Localisation updates from https://translatewiki.net.
Change-Id: I104b3e52eb390bb38486d942e62eaf5f631e91f5
2022-03-08 09:03:30 +01:00
bwang a1afa7ccb3 Ensure watchlist in user menu dropdown has the collapsible class
Bug: T302084
Change-Id: I27d7c0e46ee809185133fd787fc0c6fa5fcdac2e
2022-03-07 23:12:49 +00:00
Jon Robson 35721398b2 Add support for icons not prefixed with wikimedia-.
Needed for I0226892b2047e55d336c085c173e04a6fb4ecfa5

Bug: T257143
Change-Id: Ia24ac074aea329293c443c772229a0d5ac7246f9
2022-03-07 21:56:53 +00:00
Translation updater bot 832c1bc3bd Localisation updates from https://translatewiki.net.
Change-Id: I32845c9244928082ed94ccfa2a56c2e630a1d2d2
2022-03-07 08:13:38 +01:00
Reedy fc11a4dc46 Namespace Vector integration tests
Rest of phpunit tests are namespaced...

But under two different namespaces

Change-Id: I875ba8225d97674b4150b594d0f80527d0988ee3
2022-03-04 13:35:05 +00:00
Reedy 1dcfe80ac3 Namespace SkinVector* PHP classes
Namespaceless class aliases are left behind for migration purposes.

They can be removed at a later date when dependant extensions
and skins are fully updated.

Bug: T301204
Change-Id: I2b37c1889ff862ec8bb41325fc9f654c673cd115
2022-03-04 13:30:21 +00:00
Translation updater bot ec9ecbfb27 Localisation updates from https://translatewiki.net.
Change-Id: Ic70a1359f8ca92cc323276d7d05d1f3164ff3c84
2022-03-04 08:35:15 +01:00
jenkins-bot d6c0b94ee5 Merge "Unset data-toc in SkinVector" 2022-03-03 19:18:42 +00:00
Jon Robson a0d399b1e2 Unset data-toc in SkinVector
Bug: T302461
Change-Id: I61cf5d3c9016d5997ae56ba18c5eb877e9f68d91
2022-03-03 11:00:10 -08:00
jenkins-bot fc897266bc Merge "Use explicit line height for user menu items" 2022-03-03 17:47:44 +00:00
Translation updater bot 5192f7a6b7 Localisation updates from https://translatewiki.net.
Change-Id: I7d5e0ca3630831eec85bcc2dc096a940bc65e4d1
2022-03-03 08:24:50 +01:00
jenkins-bot 9205554552 Merge "Render sidebar menu above TOC" 2022-03-03 00:26:38 +00:00
bwang 9fb8af8ae8 Render sidebar menu above TOC
Can only be merged after I8c0924f6de28b15602969de873a843b4cd69548b
has been in production for 3 days

Bug: T300875
Change-Id: I924a69b37214a34f989f49f0425c701650928e17
2022-03-02 17:04:47 -06:00
jenkins-bot 288c8b95b2 Merge "Update Vector menu CSS to use vector-menu-heading instead of h3" 2022-03-02 19:21:10 +00:00
Mortal303 ab11cc9adb Update Vector menu CSS to use vector-menu-heading instead of h3
Replaced h3 tag in includes/templates/Menu.mustache with label tag.
Replaced h3 elements in .storybook/icons.less, resources/common/components/Menu.less,
resources/common/components/MenuDropdown.less, resources/common/components/MenuPortal.less,
resources/common/components/MenuTabs.less,resources/skins.vector.styles.legacy/components/MenuDropdown.less,
resources/skins.vector.styles/components/UserLinks.less, resources/skins.vector.styles.legacy/components/Sidebar.less
and resources/skins.vector.styles.legacy/layouts/screen.less
by vector-menu-heading.

Bug: T290280
Change-Id: I6eee7d6bc47c74a62166d4579fd4d3da3dc88e88
2022-03-02 20:05:36 +05:30
Translation updater bot 370321a54d Localisation updates from https://translatewiki.net.
Change-Id: I9c591d0db2c1d4f4ca06d94c77d4c0614017261a
2022-03-02 09:38:26 +01:00
Clare Ming 338e0e72ac Fix language alert regression
- Add test for SkinVector::shouldLanguageAlertBeInSidebar() method.
- Change some methods to protected status -- acknowledging this is not
an optimal change. Until we can pull out some of the language checks
into its own class with injected dependencies (title, feature manager,
languages), this is an interim solution to try to catch regressions
since the conditional states for showing the alert are complex and
ultimately temporary. Extracting the language checks into their own
class can be done in a follow up ticket to help optimize testing
language checks in isolation.

Bug: T302018
Change-Id: I99b7df3029e0af86e4d67b3f446d4ce99260d33e
2022-03-01 15:37:43 -07:00
jenkins-bot 9c9d8693c5 Merge "Only show scrollbars when needed in language menu" 2022-03-01 20:20:09 +00:00
Translation updater bot fead8fa661 Localisation updates from https://translatewiki.net.
Change-Id: I4cfce7deaf9c5fb8db5b4c743a56f32707a93c12
2022-03-01 14:34:27 +01:00
jenkins-bot 5dccb7ec04 Merge "Hide sticky header and ULS button in print mode" 2022-02-28 23:00:40 +00:00
Translation updater bot ee5e8681ea Localisation updates from https://translatewiki.net.
Change-Id: Ibf8e5f769b15d7a181fb1e2713184d317f014cac
2022-02-28 14:31:30 +01:00
Volker E f2d7158616 build: Update 'svgo' to latest v2.8.0 & re-crush images
Updating 'svgo' to v2.8.0 and newest Wikimedia SVG guidelines –
mainly around new whitespace features of SVGO.

Change-Id: Ie48f5e78b3f9b6e7f01b65618c1d6089fa4a2f54
2022-02-28 00:00:05 +00:00
bwang be2abb581c Hide sticky header and ULS button in print mode
Bug: T300178
Change-Id: Ie1eb02530ec62fa011da4be45a61d26522c1650b
2022-02-25 17:32:35 +00:00
Translation updater bot f8560e27ac Localisation updates from https://translatewiki.net.
Change-Id: I4add582c90f34d8698fe0e8d013669abc7b6c6ec
2022-02-25 09:49:58 +01:00
Translation updater bot 9426c40d22 Localisation updates from https://translatewiki.net.
Change-Id: I401e8ca32ce0168796bb2e06e6281d33890eb0f5
2022-02-24 08:53:49 +01:00
jenkins-bot 835e8673e4 Merge "Add icon classes to portlet links without IDs" 2022-02-23 19:21:37 +00:00
jenkins-bot 98bc2ee412 Merge "Switch order of sidebar menu and article toolbar in DOM" 2022-02-23 16:39:20 +00:00
BrandonXLF 1b0af9022b Add icon classes to portlet links without IDs
Only limit the mw-ui-icon-vector-gadget-ID class to portlet links with
IDs.

Bug: T301012
Change-Id: Ib69957b8d44d9b2a02df9f453de262beb8740799
2022-02-23 16:23:58 +00:00
jenkins-bot 11b968cf18 Merge "Clean up: Remove ts-ignores in stickyheader.js" 2022-02-23 16:18:06 +00:00
Translation updater bot cbefe871fa Localisation updates from https://translatewiki.net.
Change-Id: I753ce8d6b0afc7fbefdb4ac6f52d67330bdb2e66
2022-02-23 08:20:54 +01:00
jenkins-bot d93f9e9bed Merge "Use TOC template data for showing collapsible section arrows" 2022-02-22 22:16:18 +00:00
bwang 5f0c0cb294 Use TOC template data for showing collapsible section arrows
Bug: T299361
Depends-on: I8ab5c0543b898d1df9399a1cb39672c45daf2acd
Change-Id: Ib68de8cd97cc1111a5a33e100e688d6832fc7e6e
2022-02-22 15:47:23 -06:00
Nicholas Ray 27939ac6c9 Revert "Improve jsdoc for tableOfContents.js and sectionObserver.js"
This mostly reverts commit f5ad6fe78a but
keeps the SectionObserverProps typedef.

Instead, we will use @module introduced in
Ib68de8cd97cc1111a5a33e100e688d6832fc7e6e.

Change-Id: I7aff49a3d922889cc99bc4313a6cb416410a7a0d
2022-02-22 12:36:35 -07:00
bwang e9d2f5e37f Switch order of sidebar menu and article toolbar in DOM
In order to make the TOC go below the sidebar menu, we must reorder the sidebar menu to be directly before the sticky TOC element.
This change involves cached HTML, so this change is separated out from the rest of the CSS changes to be merged first.

Bug: T300875
Change-Id: I8c0924f6de28b15602969de873a843b4cd69548b
2022-02-22 17:21:10 +00:00