Commit graph

2830 commits

Author SHA1 Message Date
jenkins-bot 99008f90db Merge "Generate Minerva search HTML with SkinMustache data" 2021-10-15 16:33:23 +00:00
bwang ecd35774b1 Generate Minerva search HTML with SkinMustache data
Bug: T290525
Depends-on: I175ae29310a7432212a7b9c1c68dac9923665536
Change-Id: I53ea154b815a52e1e2e80a2e7b7114e310e74d47
2021-10-15 10:15:58 -05:00
jdlrobson 3a88911209 Remove whitespace to right of search input in overlay
Bug: T292107
Change-Id: I1143747600a1ffb25dcfe8600c5cd352afb25159
2021-10-12 16:26:53 +00:00
bwang 9a4caa7631 Use skin.json to define messages instead of MinervaTemplate
Bug: T290343
Change-Id: I8daef594ac9efb80f07437c5d8ef5459c37e2ff3
2021-10-12 15:30:58 +00:00
Alexander Vorwerk 702ec511dc MediaWikiTestCase -> MediaWikiIntegrationTestCase
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.

Bug: T293043
Change-Id: I5b83516ccdf0ac025421844c9516e856060aefba
2021-10-12 00:53:10 +02:00
jenkins-bot 30e8b34702 Merge "Remove non-standard components folder" 2021-10-08 23:09:57 +00:00
Translation updater bot e16a49c111 Localisation updates from https://translatewiki.net.
Change-Id: I3feecb6df22f2ccd1a5d043801117440bd7c1e1e
2021-10-07 09:05:24 +02:00
jdlrobson d990f99b9e list-header styles should be specific enough to override h2 styles
Change-Id: I83e6992b0a63f456e1c2f7d17c87cbfc903d9c60
2021-10-06 23:56:37 +00:00
jdlrobson aba173efc6 Remove non-standard components folder
For skins, all templates should be in the same folder. This
is for security reasons, to limit access of templates to files
that are not templates. This also adds consistency with other skins
where templates are all in the same subdirectory. It also allows
us to reduce the creation of TemplateParser instances.

Note: All styles and scripts should be in the resources folder but this
is not rectified by this patchset. Will be done in follow ups following
more discussion.

This begins this work in the least disruptive way possible and drops
the README note to avoid this pattern growing.

Bug: T292558
Change-Id: I4c2e115451c0a76c742734730712814c1f1d838d
2021-10-06 20:13:48 +00:00
jenkins-bot 0583e92545 Merge "Rework the Minerva ToC" 2021-10-06 15:40:03 +00:00
Derk-Jan Hartman c0c9a82851 Rework the Minerva ToC
- reserve space for the icons
- break long urls in the ToC
- fix right margin on the ToC
- support without JS

Bug: T292338
Change-Id: Ic279047f297fa132b87b77b6d7127b797015f92a
2021-10-06 10:47:56 +00:00
Translation updater bot 1299cd93d5 Localisation updates from https://translatewiki.net.
Change-Id: I61836dc3bad629ee24354ad1a99473e108b56af1
2021-10-06 09:30:23 +02:00
Translation updater bot 8a71597ee0 Localisation updates from https://translatewiki.net.
Change-Id: I5d706f3a6ab19b688f34f20ffc00b83a0a1c2bfc
2021-10-05 08:31:28 +02:00
Translation updater bot 3e93b189f4 Localisation updates from https://translatewiki.net.
Change-Id: I54ca34acdb3e385b456037b520e1e455de9804ad
2021-10-04 08:58:33 +02:00
Translation updater bot bd957c3df3 Localisation updates from https://translatewiki.net.
Change-Id: I7e91cc361d023bb00efb1bc242e91cc7235a5f03
2021-10-01 09:31:33 +02:00
Translation updater bot de8617f788 Localisation updates from https://translatewiki.net.
Change-Id: I9f2bcb11177ea42cb600018a96dfb2267862230e
2021-09-30 08:59:23 +02:00
jenkins-bot 7f9bbebf8c Merge "Search header should be vertically centered, not top aligned(take 2)" 2021-09-29 17:56:02 +00:00
jenkins-bot c533b07cb4 Merge "Inline single use module skins.minerva.icons.images.scripts" 2021-09-29 16:51:01 +00:00
Jdlrobson e09a336500 Search header should be vertically centered, not top aligned(take 2)
The 27525d0bff change renamed header to minerva-header, but neglected
the fact that this class was being used in the Overlay as well.

Bug: T292071
Change-Id: I05c1589723b68cf07c874f299f1960548f53e8ff
2021-09-29 16:21:34 +00:00
jenkins-bot 5571f09ce6 Merge "Revert "Search header should be vertically centered, not top aligned."" 2021-09-29 10:29:22 +00:00
jenkins-bot 70bebc20d9 Merge "DownloadAsPdf follow ups" 2021-09-29 09:16:20 +00:00
Kosta Harlan 9fac869b8e Revert "Search header should be vertically centered, not top aligned."
This reverts commit d6d26e45bb.

Reason for revert: T292030

Bug: T292030
Change-Id: Ie564139ae0ae5e79389fd9b2beca4e69f36e3e5e
2021-09-29 08:30:03 +00:00
DannyS712 de0f2fed40 Inline single use module skins.minerva.icons.images.scripts
Only used in one place, as a dependency of skins.minerva.scripts,
and only used to collect other dependencies. Does not need its
own entry point, merge into user.

Bug: T266361
Change-Id: Icc9ecaaec81730d30d7d8b45f1c70764a97de300
2021-09-29 02:59:32 +00:00
jdlrobson 511cabfadf DownloadAsPdf follow ups
Follow up to
9833b2d853

- Rename timeout to printSetTimeoutReference
- Remove redundant function
- update documentation to mention side effects

Change-Id: I4c1b356da3ba53e805d126642f0b2da915b988e5
2021-09-28 10:49:58 -07:00
jenkins-bot d305a11a30 Merge "Change footer logo from a heading element to a div" 2021-09-28 17:31:00 +00:00
Translation updater bot 7df9ebca35 Localisation updates from https://translatewiki.net.
Change-Id: I266b053824dc360f2f838b382f379345af383289
2021-09-28 08:20:35 +02:00
jenkins-bot 7cfe0649e5 Merge "Fix the download link to use addPortletLink" 2021-09-27 23:51:43 +00:00
jenkins-bot 9c19258757 Merge "Enhance icons of previously added items" 2021-09-27 23:51:41 +00:00
jdlrobson 9833b2d853 Fix the download link to use addPortletLink
Bug: T291739
Change-Id: Ice79e1d5745116c0bf4b292371f4b43edbcc054c
2021-09-27 21:54:17 +00:00
jdlrobson e9e336a679 Enhance icons of previously added items
If addPortletLink is called prior to setup.js only the last
link will be enhanced. To avoid this problem, check existing links
when registering the hook.

Bug: T240910
Change-Id: Ifd46b26401b8eb20686882577edf404a15eaf155
2021-09-27 21:52:08 +00:00
jdlrobson d6d26e45bb Search header should be vertically centered, not top aligned.
Change-Id: I6aa643266a85ec61f2220b12907822d2d03f33c9
2021-09-27 21:35:27 +00:00
Nicholas Ray 6067d2689b Change footer logo from a heading element to a div
Also, remove old CSS selector that was preserved for caching.

Bug: T288362
Change-Id: Iab3531229b64e0b9ee9268f6480a1417872d6107
2021-09-27 15:04:55 -06:00
Translation updater bot 62b46c7bc0 Localisation updates from https://translatewiki.net.
Change-Id: I9f44c34fea273d6b4ee1f30d5eb448fbd5801658
2021-09-27 08:38:12 +02:00
Translation updater bot 7565ce548a Localisation updates from https://translatewiki.net.
Change-Id: I5cd7a27694a9434f86ac6484da02af9eb083cec0
2021-09-24 08:27:23 +02:00
jdlrobson f49eefbf84 Improve support in Minerva for addPortletLink
* Use skin registration and set skin options as and when needed
* Set link text-wrapper
* Simplify addPortletLink hook
* Update modifications to apply to items added prior to the hook

Bug: T240910
Change-Id: Ic806adf3de6490ba9da11e8968a61b3d0acd93bc
2021-09-23 22:05:36 +00:00
Translation updater bot bdaf9b9a7b Localisation updates from https://translatewiki.net.
Change-Id: Iea85c54f52b68db201d991174ee29550a515482d
2021-09-23 12:29:33 +02:00
jenkins-bot eb53a9c427 Merge "Add alt attribute to logo" 2021-09-22 16:34:05 +00:00
Translation updater bot dd7f0e6edb Localisation updates from https://translatewiki.net.
Change-Id: Iea68952604f11517a753ffac3b5e22862610abc1
2021-09-22 08:12:23 +02:00
Nicholas Ray 6df49e3da4 Add alt attribute to logo
* Adds alt attribute with a value of the `mobile-frontend-sitename`
(previously called `mobile-frontend-footer-sitename`). The message was
changed because this affects both the footer and the header's logo.

* Adds a `minerva-footer-logo` class to the logo in footer.mustache in
preparation for changing that element from an h2 to a div. Given caching
issues (old CSS with new HTML; new CSS with old HTML are both
possibilities), we need to do this in two separate deploy cycles.

Bug: T288362
Change-Id: I3ecbf8fdcae72a0ded7f60c559259f312b8ef15d
2021-09-22 02:01:42 +00:00
Translation updater bot 6b305f36d4 Localisation updates from https://translatewiki.net.
Change-Id: Iaecab14ab3ef2ae8f95a959f44cb681a2a238ae4
2021-09-21 08:10:52 +02:00
jdlrobson 2794ea10dc Allow overriding of icon
For consistency with other methods, a mechanism for overriding
the home page icon is provided.

Bug: T291423
Change-Id: I7fb2e23cf10a75ed37e333f166f93111283f7f3e
2021-09-20 12:51:56 -07:00
Translation updater bot 402d7239ce Localisation updates from https://translatewiki.net.
Change-Id: I2e952ea19b1b3d9910ac972eedbadf7b800c81ae
2021-09-20 08:21:44 +02:00
jdlrobson be641141e6 Fixes Click/Tap Targets on User and Page Actions Menu Item
Bug: T288678
Change-Id: I47d6f884cfe98ccbe68a877ba12b95a4d7ab788c
2021-09-17 19:15:18 +00:00
jdlrobson 5263b09397 Standardize use of buttons and icons in Minerva
* Adds button hover/focus states to all Minerva button icons
* Removes the deprecated mw-ui-icon-before selector

Depends-On: I4eb28eae4c4e23d58f1f85bc41c0caf77197d8a1
Bug: T288678
Change-Id: I490534f9f704a733191b459c8ee071848c436001
2021-09-17 15:36:54 +00:00
Translation updater bot a7909e24f4 Localisation updates from https://translatewiki.net.
Change-Id: I086d9bd99601273ecd05feec21e4694ddbc86f12
2021-09-17 08:47:17 +02:00
jdlrobson 5e0dd88af0 [Selenium] Skip failing test
Causing error "Node is either not visible or not an HTMLElement"

Change-Id: Id29fe854e04df637dca4d55458b31260b76f2b53
2021-09-16 14:57:03 +00:00
Translation updater bot b6e726e378 Localisation updates from https://translatewiki.net.
Change-Id: Ib1e92f783b3449140e7175f548527a28485327e3
2021-09-15 08:16:44 +02:00
jenkins-bot b6010a97da Merge "Minerva uses centralized link styling colors" 2021-09-14 15:25:08 +00:00
Translation updater bot 6e1f855af4 Localisation updates from https://translatewiki.net.
Change-Id: I500dbe21f42153a0f13ea885a7900b1c35319586
2021-09-14 08:34:44 +02:00
jenkins-bot db27cfc3d4 Merge "Increase mediawiki ui icon and button bundlesizes" 2021-09-13 22:59:46 +00:00