Commit graph

4506 commits

Author SHA1 Message Date
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
Jdlrobson f9ae753b10 Increase mediawiki ui icon and button bundlesizes
d53908d681 was not the patch
I meant to apply. This correctly adds some desired "wiggle" room
to allow for changes to the unstable mediawiki icon and button
styles.

Change-Id: I4675be1e0b4b2a2a34507d85c551cc3234f1a9f6
2021-09-13 22:12:54 +00:00
Translation updater bot bbc2ebc421 Localisation updates from https://translatewiki.net.
Change-Id: Ia7916a49419834c4ef1ea8d15ad5902831d11c77
2021-09-13 08:32:44 +02:00
libraryupgrader 6687406a27 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: I7738f50f1d97109716fbb3a1f7e7abfb06d51f97
2021-09-10 13:32:50 +00:00
jdlrobson d53908d681 Increase mediawiki ui icon and button bundlesizes
Allow for a bit more wiggle room as we adjust the specs.

Change-Id: I26dad654941d146c5ecb1fc919811cd4173aa860
2021-09-09 19:59:46 +00:00
Translation updater bot 5e8a52feef Localisation updates from https://translatewiki.net.
Change-Id: I54dfd1478ffbf79cad9e60ff62245b7dac8ce1c8
2021-09-09 08:19:40 +02:00
jdlrobson 3564c70994 Logo scales with font size
Bug: T207789
Depends-On: Ie86a5b59fbf93a400796a4cac3724207830092b5
Change-Id: Ibbdf8b75246367e60532626879f33c0876118fe1
2021-09-08 22:32:39 +00:00
Translation updater bot ce926d3850 Localisation updates from https://translatewiki.net.
Change-Id: I3016040e460e1e302be17f85c55276d071ec2c96
2021-09-08 08:11:51 +02:00
Ammarpad f9ab46b917 Remove unused template data
* internalBanner
* prebodyhtml

Bug: T290342
Change-Id: Ibd4d3f07e120874160274ce3295c788fdd33a7a5
2021-09-07 06:37:20 +00:00
Translation updater bot f2409dfe06 Localisation updates from https://translatewiki.net.
Change-Id: I70261e7ae11ef5b2e20b1f8360b3bb4ad3c87b1c
2021-09-07 08:12:19 +02:00
Translation updater bot aace30de23 Localisation updates from https://translatewiki.net.
Change-Id: I70b3f62ee9c448ce47f3308abd4aa1724a9b7993
2021-09-06 08:23:14 +02:00
libraryupgrader 3a6ce58ca1 build: Updating stylelint-config-wikimedia to 0.11.1
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list

Change-Id: I02729c324288f5ff0cb5221aa86732676d702803
2021-09-05 00:55:47 +00:00
bwang 54a691e37f Remove font-weight bold from links in MainMenuFooter
Bug: T282315
Change-Id: Id62ea6c3f137986bb5f79036b0a656e6cb357017
2021-09-02 21:12:12 +00:00
jdlrobson 8c1afd97a3 Minerva uses centralized link styling colors
Making Minerva use the `elements` feature is not
practical at the current time. In lieu of that, we
update the link colors to use the core definition.

The red links and external link colors
can come from the "content-links" module.

This also adds support for the underlining user link preference
and better plain link support.

Bug: T274717
Change-Id: I600257e6f4430f166331c4ea4f3a72d87aa377d8
2021-09-02 14:55:24 +00:00
Translation updater bot dd99903c41 Localisation updates from https://translatewiki.net.
Change-Id: I7de53308d3f3cf98bb4171d2c7ee272c3c8384e1
2021-09-02 08:28:22 +02:00
jdlrobson 311fa329e2 [config] Prepare for mw-ui-icon-element.mw-ui-button support
Increase the bundlesize test to account for the new
mw-ui-icon-element.mw-ui-button CSS

Depends-On: I429eab0730fb4cda5c69d5af7311f517be525851
Change-Id: Ibabeafe2c40ce718facb3fef4a85e94d453db5fd
2021-09-01 20:41:59 +00:00
jdlrobson 616da046bb Allocate space for mw-ui-button to grow
In I7407e0451488bc01f2eed1c36ed87a11e7033a71 mw-ui-button will
include styles for compatibility with the checkbox. The change in KB
is minimal, and this will be reclaimed in Minerva when it makes use
of the checkbox hack.

Change-Id: Iaf062de9ec9c857b0d8643aa3f35d4c700d21d3b
2021-08-30 18:05:09 +00:00
Translation updater bot aa1de994c0 Localisation updates from https://translatewiki.net.
Change-Id: I4db06a382346b7994082559772c52800d6d5200c
2021-08-30 08:22:12 +02:00
Translation updater bot 9bc6f2db10 Localisation updates from https://translatewiki.net.
Change-Id: I0c38ed77447956768616132219870c064c9307ef
2021-08-27 08:45:51 +02:00
Translation updater bot 78005748ef Localisation updates from https://translatewiki.net.
Change-Id: Ieadbcf41a8ca3e6c97b56f05eb27ef250ddd110a
2021-08-26 08:39:15 +02:00
libraryupgrader 39612ba663 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: I6e5b7ff163701c0b2599e6ca42ffb03101d25d60
2021-08-25 14:31:06 +00:00
Translation updater bot f49dd1c505 Localisation updates from https://translatewiki.net.
Change-Id: Ic362913729863cfb58f9e569094b71b1ade2aff4
2021-08-24 10:27:43 +02:00
Translation updater bot 16990a287f Localisation updates from https://translatewiki.net.
Change-Id: I4ca1152a62eecb9182cc348c140ceb5d406025c9
2021-08-23 09:06:00 +02:00
Translation updater bot 1ebfb07ca5 Localisation updates from https://translatewiki.net.
Change-Id: Ie63c4d4270ecce3abfeb4fedf0570b01a07a2c89
2021-08-20 08:25:43 +02:00
jenkins-bot 2182704421 Merge "[refactor] Use core template variable for subtitle" 2021-08-19 20:12:34 +00:00