Commit graph

3730 commits

Author SHA1 Message Date
jenkins-bot 3026fed182 Merge "Don't show download button if there's no window.print" 2023-01-26 18:09:00 +00:00
Translation updater bot d9594a899b Localisation updates from https://translatewiki.net.
Change-Id: Icb8cfe51a3966c94cf5141dfcc710c6b9fac7caf
2023-01-26 08:56:14 +01:00
jenkins-bot 53a4678e21 Merge "Blank skin styles for login and create account" 2023-01-26 01:47:13 +00:00
Ammarpad ec3056265d Don't show download button if there's no window.print
Bug: T309591
Change-Id: I2e9b59cbf0e83942af0023c46052d7f2e784aa11
2023-01-25 22:37:03 +01:00
Jon Robson 04df1ef978 Blank skin styles for login and create account
In 2049c81e776f these were marked as being targeted
on mobile, meaning they would start to load on mobile site.

Minerva doesn't blank skin styles by default so gets the "default"
set of styles.

Since these have a negative effect this is not likely desired
so we should blank the styles to restore how it used to be for
now.

Bug: T327661
Change-Id: Ifc6cdb4a1d756edf23396b462ba4447f676ab737
2023-01-25 17:20:08 +00:00
Translation updater bot d3c451f87e Localisation updates from https://translatewiki.net.
Change-Id: I5f65bebcd4e1f1de36a99432e60526a521e7f6a1
2023-01-24 08:51:53 +01:00
Translation updater bot 1d553532a4 Localisation updates from https://translatewiki.net.
Change-Id: Ifcc75db94af48cb7e2a9a105dd3221e537a612b0
2023-01-23 08:26:43 +01:00
Translation updater bot d62bedebce Localisation updates from https://translatewiki.net.
Change-Id: I9ee02f4b68aa85e83554fd43d3ad2625b767cbbd
2023-01-19 11:34:59 +01:00
Translation updater bot 83a2f2f84e Localisation updates from https://translatewiki.net.
Change-Id: Ic87a1253cce285f9a317df94e0491a197f67ffa5
2023-01-18 08:32:31 +01:00
jenkins-bot 04b4e7120d Merge "selenium: Remove webdriverio npm package from the Minerva Neue skin" 2023-01-17 17:10:46 +00:00
Translation updater bot 821896711d Localisation updates from https://translatewiki.net.
Change-Id: I6192eae30d10ee9e8bc9f58f3a08db317628c2b3
2023-01-16 08:31:37 +01:00
Volker E e794ae1c07 minerva.variables: Remove duplicated ones by mediawiki.skin.variables
Were added to core with Ib40bec99d1174a6.

Change-Id: I8fccd064e6926eb70f8ecb1e4270c85836f10362
2023-01-14 20:01:11 +00:00
Vaughn Walters e5e48c3b1a selenium: Remove webdriverio npm package from the Minerva Neue skin
The `webdriverio` package does not need to be an explicit dependency.
It is a dependency of `@wdio/cli`.

Bug: T325059
Change-Id: Ida611141c76efc3f945d5e0f7b99fc603d5cdb2f
2023-01-13 17:46:22 -06:00
Jon Robson e5396b34bc Revert "Fixes issue with height in slideshow"
This reverts commit 1ac1cdfd7e.
No longer needed with change in core

Depends-On: I6d916ffb1301bd2f4a258ec50990c4347f9c63e7
Bug: T326270
Change-Id: I73559c23943a25bbcaea5ba1576155a887d4ba70
2023-01-12 23:44:21 +00:00
Translation updater bot c1601c7951 Localisation updates from https://translatewiki.net.
Change-Id: Id6fbfe7867ebb18e2de21d2417c05d4b24129ba6
2023-01-12 08:47:17 +01:00
Translation updater bot 7db0810bb4 Localisation updates from https://translatewiki.net.
Change-Id: I3adaec66d5e220441005b50c3f09eff5ae6d6622
2023-01-11 09:04:32 +01:00
Translation updater bot 9f8fe23425 Localisation updates from https://translatewiki.net.
Change-Id: Ib3e665374602959d5ed50e5b8724bf5a6fe5ffa8
2023-01-10 08:27:28 +01:00
jenkins-bot 5ffccb331d Merge "Fixes issue with height in slideshow" 2023-01-09 22:40:08 +00:00
Jon Robson 1ac1cdfd7e Fixes issue with height in slideshow
Depends-On: I5c372f8b1bbc44af9c5855baa7ee825ff42fbc96
Bug: T194887
Change-Id: I3904bb158eebe96983ce3318e1e39a6f056624fd
2023-01-09 18:49:34 +00:00
jenkins-bot 6c2f37d875 Merge "Fix various problems with print styles" 2023-01-09 17:09:57 +00:00
Translation updater bot 27f1ac0088 Localisation updates from https://translatewiki.net.
Change-Id: I29172915839829a27fadf26958276c8d6c7d0c86
2023-01-09 09:34:27 +01:00
Translation updater bot f1b7ed796d Localisation updates from https://translatewiki.net.
Change-Id: I36bba33949dcba0d83c489c61fb41f68fd00575b
2023-01-06 09:00:15 +01:00
Translation updater bot 76dc6872d2 Localisation updates from https://translatewiki.net.
Change-Id: I2c99c3c5b29e36b55e24e5db6bbbcd47cb9e0790
2023-01-05 09:17:28 +01:00
Translation updater bot 981338e17a Localisation updates from https://translatewiki.net.
Change-Id: I61f0bb531f88118f6f6de3e73c759e0f216c87eb
2023-01-04 08:31:36 +01:00
Bartosz Dziewoński 50fc799b07 Fix various problems with print styles
These styles have drifted away from the HTML structure since they were
written in 2017.

General:
* Add some comments
* Replace complicated selectors with simple class selectors

styles.less:
* Hide section edit links (previously we relied on MobileFrontend
  styles, which one handled some cases - removing them in I9a88b80c2a)
* Show print footer, hide Minerva footer

header.less:
* Remove FIXME (resolved in c323c6858a).
* Fix hiding the search box. In 0bee6a1eb6 a <form> for the search box
  was added to the header, and these styles (using tag selectors) were
  not updated. Use class selectors instead.
* Remove styles for <h1>. The element was changed to <a> in
  a905b1c161, styles to override font-size etc. are no longer needed.
* Consolidate 'padding' rules and remove unneeded !important.

article.less:
* Replace the `[ class|='mw-content' ]` selector, which was not
  matching anything. It would match elements with `class="mw-content"`
  or `class="mw-content-…"`, but the node we're trying to style has
  `class="mw-body-content mw-content-ltr"` (since 7cda5b0bf8 in
  MediaWiki core). Use a class selector instead.
* Replace the `.mw-body > .content` selector too. While this one
  works, it is also needlessly complicated.

footer.less:
* Fix and simplify how last-modified info and license text is unhidden
  (while other parts of the footer remain hidden).
* Remove styles for .license. Unused since 1f2b7dff15, use the desktop
  footer added in that commit instead.
* Use the desktop footer for last-modified info, since it's more
  suitable for "archiving" (it has a date rather than time ago).

Bug: T323636
Change-Id: I21ef26355e3e6dd8b0c34ae933b7f5b0b222655c
2023-01-03 21:57:11 +00:00
Translation updater bot 0017d7e03c Localisation updates from https://translatewiki.net.
Change-Id: I3a4dcebbdd61d49f45d10649957b0485720048f1
2023-01-03 08:23:11 +01:00
Translation updater bot d337f69dc7 Localisation updates from https://translatewiki.net.
Change-Id: Ic3351ecb315268c480b658f25c39644c6e8ecc21
2023-01-02 08:47:14 +01:00
Translation updater bot b584bdd60f Localisation updates from https://translatewiki.net.
Change-Id: Iec6a00ecfd092ed0ba94cdf3111e028a59c2c970
2022-12-29 10:05:46 +01:00
Translation updater bot dbf1aae301 Localisation updates from https://translatewiki.net.
Change-Id: Ib5b9c66299442ff754d01a47fd6941b8e74ee15a
2022-12-26 09:13:53 +01:00
Translation updater bot f810583289 Localisation updates from https://translatewiki.net.
Change-Id: I0fb2f8918d9128871088008e862e1e9d06352ca1
2022-12-23 09:10:58 +01:00
Umherirrender b21e4a98bc Avoid use of deprecated User::idFromName
Use a UserFactory instead of getting an id and the user objects on
second request

Also replace another deprecated User class and use the injected factory

Bug: T325687
Change-Id: Id610ee39e0ef865b97f7ae8506188eea04a86ac5
2022-12-21 22:35:49 +01:00
Translation updater bot f88414ade9 Localisation updates from https://translatewiki.net.
Change-Id: I5b3ec5b1ebff3b67bf2a4a94e1fa328f3440f127
2022-12-21 09:22:31 +01:00
Translation updater bot 0511e5f2d7 Localisation updates from https://translatewiki.net.
Change-Id: I44ca3f23286a6bea4d5c70b4db1690df7a78bcf0
2022-12-20 09:32:30 +01:00
Translation updater bot ba16b35855 Localisation updates from https://translatewiki.net.
Change-Id: I77edfc01f8228c6e77969cf5f9ecafe770d2c4a0
2022-12-19 09:06:50 +01:00
jenkins-bot 8011edcecb Merge "Always show search results at full width" 2022-12-16 08:46:59 +00:00
Jon Robson 57f86745e9 Show the thanks button on mobile special pages
Now the confirmation step code works, we can show this button.
Update styling to generalize the thanks/rollback styling.

Depends-On: Ia03038e86c6a607c8b75eefedbf0285ca1a2f8c8
Depends-On: I5286e80f9dd683ba55b03664dc31de77c19722b7
Bug: T230657
Change-Id: Iab32d8b30d4f2d946ffdaefea72ca9b43448998d
2022-12-15 22:46:33 +00:00
Translation updater bot e51e33cac8 Localisation updates from https://translatewiki.net.
Change-Id: I43ad9141e14e1db164d269c5d5a4bfd9e81f9e48
2022-12-15 11:39:30 +01:00
Matthias Mullie 4a4f8f279e Always show search results at full width
Ieebc40073eb3d0c8a56ebc8aec3f060199943ddc lowers the breakpoint
at which search will break into 2 columns (search + interwiki),
in large part because the 2nd column will also be occupied by
Extension:SearchVue's side panel.

On mobile, Extension:SearchVue presents differently (directly
below a search result), so there's not as much need for a 2nd
column this early - wider search results are prefered.

Bug: T321377
Change-Id: I22c46cfad2e054be679d79cce9b8d1ae04e3c6f1
2022-12-15 09:38:36 +01:00
jenkins-bot 754b73c8e2 Merge "Tweak margins/paddings of Echo icons" 2022-12-14 16:43:52 +00:00
Translation updater bot 55dcffe98f Localisation updates from https://translatewiki.net.
Change-Id: I7025184e4fbd0c8120987596fdeaaacbb6b644c4
2022-12-14 08:18:02 +01:00
jenkins-bot 3c6a66d1af Merge "Use standard subtitle markup" 2022-12-14 04:13:59 +00:00
Bartosz Dziewoński 433458ba98 Tweak margins/paddings of Echo icons
On desktop, the "Alert" icon had more white space around it than the
"Notice" icon, and its popup displayed with a different offset.

On mobile, the combined icon jumped around while the page was loading.

Change-Id: Icdd5bc6e8478f3453b6461a35b7fb53e8ab014e9
2022-12-14 04:36:14 +01:00
jenkins-bot 97e2899a90 Merge "Show both Echo icons in desktop Minerva" 2022-12-14 02:49:55 +00:00
Jon Robson f6f2c4f1e4 Show both Echo icons in desktop Minerva
For consistency with desktop Vector, Minerva should show two
icons. This also removes the duplicate #pt-notifications-alert
element in the skin.

Bug: T313609
Change-Id: I6449f0c29b52fd2092d63fbef23205ed8f57d50f
2022-12-14 02:08:44 +00:00
jenkins-bot 3e73f6a4b2 Merge "Echo icon should reflect seen status" 2022-12-14 02:05:39 +00:00
Jon Robson 028ab69a8b Echo icon should reflect seen status
Bug: T310358
Change-Id: I681a2540979ceeca677e576fca2efd91e1b80e15
2022-12-13 16:21:50 -08:00
Translation updater bot 7bedd7215d Localisation updates from https://translatewiki.net.
Change-Id: I7b7ec8612fe9943f8631d8c4fd0d994c03a7bf61
2022-12-13 08:19:08 +01:00
Jon Robson 64fb00e237 Use standard subtitle markup
Bug: T324876
Depends-On: I8e538939a6d7d4474f2e96b93040f3c68c2f98ec
Depends-On: I4b178f67b6718fa9a84827e1804ec4eb1483f735
Change-Id: Ie24c0215d07d5e4605d8479ed9e950a3d9c9b086
2022-12-13 01:32:37 +00:00
Bartosz Dziewoński f8240fea6e Display correct numbers on the combined notification badge
Bug: T310559
Bug: T324690
Change-Id: If7568da5d34840853de43cd50a477a2aa9a18d0f
2022-12-12 23:39:25 +00:00
Translation updater bot 46620392bf Localisation updates from https://translatewiki.net.
Change-Id: Id1a789f237bfb449624c7a25f0ca32e9e8768a30
2022-12-12 08:24:53 +01:00