Commit graph

4488 commits

Author SHA1 Message Date
jenkins-bot 9aab79f211 Merge "Partial revert "Temporary fix for enabling Mobile VisualEditor in night mode"" 2024-07-02 18:07:14 +00:00
Jdlrobson 400546e56f Partial revert "Temporary fix for enabling Mobile VisualEditor in night mode"
This reverts commit 1a4a16062c.

Reason for revert: Fixes were upstreamed.
Depends-On: Ia35231be8a0325671f329fbd71a72da826505587
Bug: T368116
Change-Id: Ia941791b59e21d0c9191923ea9aa19842ebf787c
2024-07-02 17:44:24 +00:00
Translation updater bot 026fe80a1b
Localisation updates from https://translatewiki.net.
Change-Id: I84b36e50036d41e728ee9e716a7a4697c7739343
2024-07-02 09:53:30 +02:00
jenkins-bot 71ca402f77 Merge "Skin discussion links in user-preferences needs update" 2024-07-01 18:46:56 +00:00
jenkins-bot 906a68b44c Merge "Do not invert images that have been tagged with no invert classes" 2024-07-01 18:43:52 +00:00
Jon Robson 38534a5b0b Do not invert images that have been tagged with no invert classes
Bug: T368483
Change-Id: I6aefbf16bd95dbb3c9b0fdd46be6e6f026ca46bf
2024-07-01 11:08:51 -07:00
Kgraessle 83cb832133 Skin discussion links in user-preferences needs update
Bug: T366200
Change-Id: I2bd4d1ddf58a028491ab4047d6ac5be26252dd6e
2024-07-01 12:55:23 -05:00
Novem Linguae 0cc0a1e16b JSDoc: fix double @ignore
Change-Id: I972019c22d18c0f276bf6240dafeb78122571fba
2024-07-01 17:15:29 +00:00
jenkins-bot 2306f10804 Merge "build: Update jsdoc-wmf-theme to 1.1.0" 2024-07-01 15:59:50 +00:00
Translation updater bot 1a3c9f3302
Localisation updates from https://translatewiki.net.
Change-Id: Ib07dac690bd9f0773240e17c5503482bd21050ff
2024-07-01 09:28:56 +02:00
jenkins-bot da34f5923f Merge "Remove all use of IIFEs across Minerva codebase" 2024-06-28 19:59:07 +00:00
Ed Sanders 2be7b9f919 build: Update jsdoc-wmf-theme to 1.1.0
Additional changes:
* Update Minerva so that it doesn't output any APIs
to the documentation - this is intentional as Minerva does
not have any public facing APIs.

Bug: T368081
Change-Id: Ie1a3ea30cbf35663c7fdd2494c1698044882969e
2024-06-28 12:38:54 -07:00
Ed Sanders 527e018af1 Remove all use of IIFEs across Minerva codebase
These will make JSDoc easier to configure later and is
better suited to ES6 module format.
The dependency injection pattern can be retained by moving
the import to the top of the file.

Change-Id: I0fe692eb7066e52815ef3d21724c7439d82b2c5f
2024-06-28 18:54:38 +00:00
Translation updater bot 37a2ddfbd3
Localisation updates from https://translatewiki.net.
Change-Id: I24135afe02a69045372dc8e07d8653842b14ca1e
2024-06-27 09:24:38 +02:00
Translation updater bot 906034a3d1
Localisation updates from https://translatewiki.net.
Change-Id: Ida8551b4724e7df11c757eb9003366cf3590ce91
2024-06-26 09:23:54 +02:00
Translation updater bot 5582e2269f
Localisation updates from https://translatewiki.net.
Change-Id: Iad079e3cd0cbaf0d75624cccb337134874a566d1
2024-06-25 09:32:58 +02:00
Translation updater bot 4712200c23
Localisation updates from https://translatewiki.net.
Change-Id: I9f85b7e0228e1c57ae3186e0c415cdd5dd2f0950
2024-06-24 09:27:58 +02:00
Bartosz Dziewoński b3f1fb5313 Definition list has no left margin, only definition items do
This matches how the indents are applied by other skins.

Bug: T367092
Change-Id: I7cf78065bd8ddd6c97a242dfcce586704029ccc1
2024-06-21 23:34:24 +02:00
Steph Toyofuku ba6bc4ae54 Update copy for night mode launch campaign
Minor wording tweak for the banner that we'll be showing when night mode
launches generally on minerva.  In addition, since we're not planning on
defaulting to night mode for any group, set the night mode version of
this wording to the same to avoid any issues (but keep the functionality
in case we want it later)

Bug: T366296
Change-Id: Id57db00378adcdc2635908380429486daf4745f2
2024-06-21 11:14:40 -07:00
Translation updater bot 9a54d7dc57
Localisation updates from https://translatewiki.net.
Change-Id: I8e359127a8c75e6b52989e793fee2fb9a91ed778
2024-06-21 09:45:49 +02:00
Saint Johann 514f26ff5e Fix float issues with headings in Minerva
Bug: T316670
Change-Id: I531bbced68a2a9cbf75ffe44321beef05eee47c6
2024-06-21 00:10:49 +00:00
jenkins-bot f3a6bc0621 Merge "Temporary fix for enabling Mobile VisualEditor in night mode" 2024-06-20 22:17:28 +00:00
Jon Robson 1a4a16062c Temporary fix for enabling Mobile VisualEditor in night mode
Bug: T366832
Change-Id: If03069339261e380dc49defedccb01830d162483
2024-06-20 16:36:51 -04:00
Translation updater bot c15e035ccf
Localisation updates from https://translatewiki.net.
Change-Id: I0c068fa79823c901b997e4cab92c579b26c7837f
2024-06-20 09:28:23 +02:00
Translation updater bot c45c99828d
Localisation updates from https://translatewiki.net.
Change-Id: Ic5827f0bdef27a8f470ac59a82e6672029c830e6
2024-06-19 09:24:46 +02:00
Translation updater bot e69e0bb237
Localisation updates from https://translatewiki.net.
Change-Id: I9448eae65ad33812d50e21e3184b07139fb1b4c6
2024-06-18 09:30:23 +02:00
jenkins-bot b0daa9c0f2 Merge "Fix styles for new heading HTML" 2024-06-17 20:09:42 +00:00
Translation updater bot 4b270fd5d6
Localisation updates from https://translatewiki.net.
Change-Id: I19474b757fc29d4be6fd21f870dfed8e9abb24c7
2024-06-17 09:36:22 +02:00
Bartosz Dziewoński 2a44123f3f Fix styles for new heading HTML
Do not apply 'display: flex' to all 'h1, h2, h3, h4, h5, h6' elements,
because it results in bad text layout within modern headings.

However, to support desktop Minerva with legacy headings, and avoid
incorrect styles being applied to unwrapper headings, we must
apply it to 'h1, h2, h3, h4, h5, h6' elements that may contain a
'.mw-headline'. Add a separate rule for that.

Bug: T367468
Change-Id: I87372907c38aa64b296634f6a5583a890f7fe9b2
2024-06-14 21:33:12 +00:00
Translation updater bot fe88667da1
Localisation updates from https://translatewiki.net.
Change-Id: I83b46c5f2a0e9bb112880954174c130532b29bdf
2024-06-13 09:30:58 +02:00
jenkins-bot 1e75fbcd33 Merge "styles: Fix code padding" 2024-06-12 23:29:47 +00:00
jenkins-bot f110f5a3cb Merge "Use upstream codex variables for diffs and red links" 2024-06-12 20:41:36 +00:00
Umherirrender 77fe39e565 tests: Use renamed class BundleSizeTestBase
Follow-Up: I131e0d85bd14e75aaebd6f212b2e64a45d4c73a2
Change-Id: I964bd25209fa07406e57a7571c2a06b572f590c4
2024-06-12 20:37:51 +02:00
Jon Robson 72bcebeba8 Use upstream codex variables for diffs and red links
Bug: T361717
Bug: T363743
Change-Id: I4e49a07f9f092ab00e2b2d12fcb146c91a21d8d8
2024-06-12 10:16:59 -07:00
Volker E 6d037d4e9f styles: Apply inversion on certain OOUI icons and indicators
In order for most OOUI grayscale icons and indicators to be inverted
correctly, we need to apply the inversion to a limited number of
elements by a general class.
Applying here to keep OOUI library MediaWiki agnostic.

Bug: T365764
Depends-On: Ib183cd7c28ea3fb68a6614b38362325560b426f8
Change-Id: I437db61c34cdcce8d3602b1354fa4addc98530fd
2024-06-12 10:15:40 -07:00
jenkins-bot 91fd8a977b Merge "Improve Minerva drop-shadows in dark-mode" 2024-06-12 16:02:29 +00:00
Jan Drewniak 98eaa00cd5 Improve Minerva drop-shadows in dark-mode
Converts several drop-shadows to use standard Codex values:
- `.search-box .search` uses `@box-shadow-drop-small`
- `.drawer, .toast` uses `@box-shadow-drop-xx-large`
- `.toggle-list__list--drop-down` uses `@border-color-base`

Bug: T364425
Change-Id: Id00e525655d3a7138aa65f424fd6ab2ff82290c8
2024-06-12 04:05:30 +00:00
jenkins-bot 478d449cb2 Merge "(Almost) no more CSS variables in minerva" 2024-06-11 20:06:56 +00:00
Steph Toyofuku 6f98cc6460 (Almost) no more CSS variables in minerva
Remove direct usage of CSS variables in Minerva, and replace them with
codex design tokens again.  Document this decision in the original ADR

Note: there are still a small number of CSS variables in use, including
most notably the --color-link-red fix, which broke when I removed it,
but this change takes care of all the ones that could be easily replaced

Bug: T363743
Change-Id: I7d3a9dceb908167078987de1733774c8bd4bea2f
2024-06-11 11:44:47 -07:00
Volker E. 7fc19a5ad2 styles: Fix code padding
With the change to `rem` the padding got oversized, now relying on
pixel based spacing tokens instead.

Change-Id: I8eff33a606094285e07ff7afb94687b91d4aec67
2024-06-11 10:19:22 +02:00
Translation updater bot 389518bb4f
Localisation updates from https://translatewiki.net.
Change-Id: Id91d2b2319413c209795d3a4644f448e6453a1ab
2024-06-11 09:58:14 +02:00
jenkins-bot fbd928018d Merge "Indicate support for new heading HTML" 2024-06-10 19:14:51 +00:00
Translation updater bot 8a25048d6c Localisation updates from https://translatewiki.net.
Change-Id: I6ea60897c2528673745ee3ceb065eeefaff9c949
2024-06-10 09:59:59 +02:00
jenkins-bot cc89a4e182 Merge "Migrate service 'Minerva.Menu.PageActionsDirector' into new class PageActions" 2024-06-08 16:20:04 +00:00
jenkins-bot 85eaf4de63 Merge "styles: Replace deprecated breakpoints" 2024-06-07 23:20:54 +00:00
Volker E dd154b4ea7 styles: Replace deprecated breakpoints
The values have slightly changed:
- Tablet breakpoint is decreased by 80px,
  pushing lesser devices into a mobile only experience but
  should make barely a difference to vast majority of our users.
- Biggest difference is in `min-width-breakpoint-desktop`,
  which is increased by 120px in comparison to
  `@width-breakpoint-desktop: 1000px`

Also removing one out-dated feature phone clause.

TECHNICAL CHANGES:
* The previous breakpoint was tied to the maximum content width.
The previous maximum content width is preserved, and several media
queries are adjusted to make use of it.
* The header (logo) is not optimized for  640px-720px. For now
a temporary fix is but in place which will be investigated as part
of T366859

VISUAL CHANGES:
* 6 visual changes which improve alignment in language and
visual editor overlay and diffs (where wikidiff2 is not
installed)

Bug: T349793
Depends-On: I3afba8c51f60de9271054499bfa3ffbcc1a9d779
Change-Id: I9552d8ad7509aae90e15edda26e786465773d3ac
2024-06-07 12:52:39 -07:00
Translation updater bot 499599cbdb Localisation updates from https://translatewiki.net.
Change-Id: Iefbb181b9940631a4188993c5afe37d154acc4b7
2024-06-07 09:49:37 +02:00
Jdlrobson c6209b906b Merge "Add skin-invert-image class" 2024-06-06 17:58:37 +00:00
bwang f99aaddd48 Add skin-invert-image class
Bug: T365102
Change-Id: I76a42a6a957223daf12d884169dad368dcca0300
2024-06-06 11:02:02 -05:00
Translation updater bot a08aa42327 Localisation updates from https://translatewiki.net.
Change-Id: Id0be5ee8eb8c9acf094cb2105b87322c94217a3a
2024-06-05 09:26:11 +02:00