Commit graph

2826 commits

Author SHA1 Message Date
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
jdlrobson e42bfd1e96 [refactor] Use core template variable for subtitle
Avoid indirection to QuickTemplate variable by using
SkinMinerva (SkinMustache) version.

To test:
* Create User:Admin/sandbox
* Create User:Admin
* Visit User:Admin/sandbox to see the breadcrumb "< User:Admin"

Change-Id: Icdd10bd1406ea047097309b6fcafba399170d019
2021-08-19 12:40:13 -07:00
Translation updater bot ae6f3e4172 Localisation updates from https://translatewiki.net.
Change-Id: I9b8ef6bc7141481fef35a31458d27e1e8d921c86
2021-08-19 08:15:15 +02:00
Translation updater bot ff11bf5a87 Localisation updates from https://translatewiki.net.
Change-Id: Ib7d87bbd199abdace98d1ddba4c1ba419d67f7bd
2021-08-18 08:14:48 +02:00
jenkins-bot 1fc4ffca50 Merge "minerva.less: use rem instead of em for browser-relative font sizes" 2021-08-17 17:08:31 +00:00
AntiCompositeNumber fae41df135 minerva.less: use rem instead of em for browser-relative font sizes
em values are calculated relative to the parent element's font-size, not
the root or browser-default font-size. However, @font-size-minerva-small
and @font-size-minerva-smallest are supposed to be relative to the
assumed 16px browser default font-size. If they are used in an element
that already has a smaller-than-100% font-size, the resulting font-sizes
will compound and can be smaller than accessability minimums. This change
uses rems instead, so -small and -smallest will be the same sizes
everywhere on the page.

If -small or -smallest were used anywhere where parent-relative font
sizing is expected, this patch will change the size of that text. This
is only a problem if the new size is smaller than the old size, as any
sizes smaller than -smallest are an accessability issue. I looked for
any potential problems, but didn't see any.

Bug: T282315
Change-Id: Ib578f2cc4597b4dbfb5d1f5e4842962433af3748
2021-08-16 15:25:18 -05:00
sahil 67e47ac0bd selenium: Update README.md file
Bug: T282237
Change-Id: Ia26bba12ede5e1055122387e36007887669267f8
2021-08-16 12:23:20 +05:30
Translation updater bot 0a942560dc Localisation updates from https://translatewiki.net.
Change-Id: If8c57c147c88520c87b972c747587345820fec2b
2021-08-16 08:18:31 +02:00
Translation updater bot 043593439b Localisation updates from https://translatewiki.net.
Change-Id: I4a93428cfa2bcb34aefc100a4612809ae73bd231
2021-08-13 08:20:37 +02:00
jenkins-bot 7e3c4b459e Merge "Use text-overflow: ellipsis on .mw-ui-icon-before span elements" 2021-08-12 21:42:39 +00:00
Nicholas Ray 46ac6048d7 Use text-overflow: ellipsis on .mw-ui-icon-before span elements
Placing the text overflow on the span instead of the anchor element
prevents issues like T287522#7272991 from occurring.

Additionally:

* Uses the `text-overflow` mixin on every toggle list item label instead
of just the user link item as it simplifies the logic and presumably
we'd want any text that overflows the menu to be handled the same.

* Changes the anchor element to use flexbox/align-items to vertically
center instead of relying on `vertical-align` both the span and the
icon. Eventually, this should be put into core (see
I029f97ba9d5e7f46c8aa175d9a6bbb45ef9615df) but we have to remove all the
overrides that use vertical-align first.

Bug: T287522
Change-Id: Ie0fbff9dfaf8444c76125df52931a687730b4ad1
2021-08-12 14:04:46 -06:00
Translation updater bot 84327ab5df Localisation updates from https://translatewiki.net.
Change-Id: I8dbaad686dcec5be707790ad4604f5ebdcd1ff4c
2021-08-12 08:10:51 +02:00
Translation updater bot d3607840c0 Localisation updates from https://translatewiki.net.
Change-Id: I4324fdf091202f0a9139600626397ac78c5905d5
2021-08-11 08:20:38 +02:00
Translation updater bot b94edbd3e2 Localisation updates from https://translatewiki.net.
Change-Id: I77ffaabc3fa22413e8acc902c272f57d19a8230c
2021-08-10 08:08:37 +02:00
Translation updater bot 0259296b11 Localisation updates from https://translatewiki.net.
Change-Id: Icbe46d97183eb5b28f041242be995ea3f3994878
2021-08-09 08:27:46 +02:00
Translation updater bot 8275951be3 Localisation updates from https://translatewiki.net.
Change-Id: If014bfe6b16b0c1caf0119cef70e517f67cf7950
2021-08-06 08:15:11 +02:00
Nicholas Ray f5d76eb157 Remove .toggle-list-item__icon selector
`.toggle-list-item__icon` sole purpose appears to have been to apply
`vertical-align: middle`. However, this is already being fullfilled by
.toggle-list-item__label. It is also causing the labels to not be
vertically centered.

This will also fix the ellipsis not being aligned (T287522#7264959) when
the text overflows.

Bug: T287522
Bug: T288306
Change-Id: I2d434d1d2b90eab16fc96fe8bb1f0738e5c6921b
2021-08-05 16:01:53 -06:00
Translation updater bot 5af07d245f Localisation updates from https://translatewiki.net.
Change-Id: I162d7504b8cb0b2a2f7ca09f1d381882e256b6cd
2021-08-05 08:24:07 +02:00
jenkins-bot 29fc9d18ad Merge "Avoid using User::getBoolOption()" 2021-08-04 21:52:33 +00:00
jenkins-bot e8d9407434 Merge "Add max-width to AMC user menu" 2021-08-04 16:18:25 +00:00
Nicholas Ray cb79cbb010 Add max-width to AMC user menu
Note: This menu already has text-overflow: ellipsis, but didn't have a
max-width applied.

Bug: T287522
Change-Id: I51fd7f4b822410190290bef6c962997bb5e47e4f
2021-08-03 17:02:17 -06:00
Translation updater bot 064aa3dbcb Localisation updates from https://translatewiki.net.
Change-Id: I3e5266e51154d95ccc8c77e34b24d80a8b0ab1e2
2021-08-03 08:13:10 +02:00
Translation updater bot db3fd9c859 Localisation updates from https://translatewiki.net.
Change-Id: I14d52ff8bcef0deca946331d7e177910d96b973f
2021-08-02 08:39:11 +02:00
DannyS712 52352fd102 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: Iab8fc560c21734cde1b6822eccadd7da13645a26
2021-07-30 22:26:00 +00:00
Translation updater bot 0da4ccbf01 Localisation updates from https://translatewiki.net.
Change-Id: I494a9982877f2f87cb6833e549bdd062a2725912
2021-07-30 08:29:13 +02:00
Translation updater bot b1a5a03473 Localisation updates from https://translatewiki.net.
Change-Id: I7e469cf7f9de3849984acc2e90047a54a14507e0
2021-07-29 08:46:29 +02:00
Translation updater bot fc9471710f Localisation updates from https://translatewiki.net.
Change-Id: I9f1be118a458f3652635b1331cded1a00a76e8a8
2021-07-28 08:22:17 +02:00
Translation updater bot 12d9df1ad7 Localisation updates from https://translatewiki.net.
Change-Id: Ib7637f18f021522d7910896258f2a11ee9dbfeb0
2021-07-26 08:14:38 +02:00
libraryupgrader 218151025e 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)
* ws: 7.4.5 → 7.5.3
  * https://npmjs.com/advisories/1748 (CVE-2021-32640)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)
* normalize-url: 4.5.0 → 4.5.1
  * https://npmjs.com/advisories/1755 (CVE-2021-33502)
* prismjs: 1.23.0 → 1.24.1
  * https://npmjs.com/advisories/1762 (CVE-2021-32723)

Change-Id: Idfecb28ef49b193ba78b3f7b1335d4d5cb2862cd
2021-07-23 18:37:41 +00:00
Translation updater bot 6aaf49a3ee Localisation updates from https://translatewiki.net.
Change-Id: I5c8729bf16664d65612205d16b3c216d6a728660
2021-07-22 08:14:43 +02:00
jenkins-bot 7791635c0f Merge "minerva-header class is now in cached HTML, remove old header class" 2021-07-21 23:54:23 +00:00