Commit graph

2487 commits

Author SHA1 Message Date
jdlrobson a7db7341ca Last modified bar should not show external link icon
A new rule resetting padding-right and background-image on
a.external inside footer is added.

Additional change:
* Merge all styles relating to the last modified bar into a single
component file for consistency with Vector and easier lookup.

Bug: T267464
Change-Id: I558f0756264e92ca757a99e47a53564c3ecd8b71
2020-11-17 03:36:01 -08:00
jdlrobson 1b9ec30472 Apply workaround for iOS menu bug to next 9 minor versions of iOS
Bug: T264376
Change-Id: I569e7dd5eae888de42f81f3973a23fb832b2c942
2020-11-04 14:38:03 -08:00
Translation updater bot a273423563 Localisation updates from https://translatewiki.net.
Change-Id: I31047c01cc682260e880c7dd6d004faf1a348564
2020-11-03 08:46:42 +01:00
Volker E 32724f8183 styles: Implement mediawiki.skin.variables.less for MinervaNeue
For now, only define:

- @font-family-sans (unused in MinervaNeue, but for possible future use)
- @border-radius-base

With current implementation before this patch, MinervaNeue is relying on core's default
`@border-radius` which is set to `0` to be close to HTML default. 
MinervaNeue is currently not applying correct skin's `border-radius`.

Bug: T263270
Change-Id: I9a149eefd15efede27416ada4db07072e53628ec
2020-11-02 17:56:40 +00:00
Volker E e6370e9aec Amend blockquote spacing to Design Style Guide
Also ensure not to inherit whitespace on blockquote children.

Bug: T265947
Change-Id: Id92746233c6e888a543c4d97db25f79df61ec99d
2020-10-30 13:28:51 -07:00
jenkins-bot 9c3e5c9299 Merge "Deprecate SkinMinervaDefaultModules hook" 2020-10-30 01:13:30 +00:00
jdlrobson d69de05807 Deprecate SkinMinervaDefaultModules hook
No longer used by anything.
So long... farewell...

Bug: T256086
Change-Id: Ic3439ca6f466351518d4b9e0feea405cb94e6c5e
2020-10-29 10:01:23 -07:00
jenkins-bot 874f38e318 Merge "Remove client side error counting" 2020-10-26 11:04:02 +00:00
Translation updater bot e852d4e7d6 Localisation updates from https://translatewiki.net.
Change-Id: I8c7e346ecd7050ac52ceea49516cdfabc0782dd9
2020-10-26 08:35:27 +01:00
jdlrobson ed0222b0d0 Remove client side error counting
Bug: T266359
Change-Id: I5350c801e7ecb7b8b28e54410cc57fd3b548b2ef
2020-10-23 11:09:22 -07:00
Translation updater bot eb1287e07a Localisation updates from https://translatewiki.net.
Change-Id: I5e4aa54cb684f7f5a394c5a7346fb75cf6c0c166
2020-10-22 08:33:35 +02:00
Translation updater bot 22686ddffc Localisation updates from https://translatewiki.net.
Change-Id: I8e58f40a5d2cdf6dc7058b0a213a676ae5e74986
2020-10-21 08:30:05 +02:00
jenkins-bot 8383e2322a Merge "Special handling for hash fragments we cannot decoded" 2020-10-20 23:23:49 +00:00
jdlrobson 12940ac3eb Special handling for hash fragments we cannot decoded
Bug: T264914

Change-Id: Ie0aa321b5a267728881f75c498fa75929afcc972
2020-10-20 12:26:54 -07:00
jdlrobson c3b93e14b0 Simplify footer and logo generation
The data already provided by SkinMustache makes the existing
Minerva code redundant.

* html-after-content functionality equivalent to dataAfterContent value
* Rename license and last modified to have html-minerva prefixes and promote
to top level data object. This allows us to distingusih Minerva values from core
values.

Note: previously the logo used srcset to ship a 1x logo but these
were dropped during the desktop improvements work.

Bug: T256083
Change-Id: I7b2cd5181eae67b345f6686e3389a76a12e3b1a1
2020-10-16 23:41:34 +00:00
Translation updater bot b858592eea Localisation updates from https://translatewiki.net.
Change-Id: I875c2e5fce288dbef0b47359d9ef95b6b636664e
2020-10-16 08:31:23 +02:00
Translation updater bot 35f73aa26c Localisation updates from https://translatewiki.net.
Change-Id: Ia82e54656ba348452d965019753571b37d9bd734
2020-10-15 08:40:18 +02:00
Translation updater bot 1682f02511 Localisation updates from https://translatewiki.net.
Change-Id: Ie3b44c00d4b1692e512163a266f0f7df4e93339c
2020-10-13 08:46:35 +02:00
Translation updater bot a7ea1e0a37 Localisation updates from https://translatewiki.net.
Change-Id: I164bcb549dfda501ac643693d8d7f5f8ac7a6e74
2020-10-12 08:38:52 +02:00
Translation updater bot 86e56a5779 Localisation updates from https://translatewiki.net.
Change-Id: I3c06e6cbcd4dfdf136c9bc3b9e7ebbd48c10b141
2020-10-09 08:27:12 +02:00
jdlrobson fabc333373 Drop unused template variable and property
* prebodyhtml is never defined
* isSpecialMobileMenuPage is never used and the Special:MobileMenu
page no longer exists

Change-Id: I6481ef08f9d88e9be3cb5568bfa6693b1b3f1b8f
2020-10-08 21:03:53 +00:00
jenkins-bot 55a78e731a Merge "Hot fix: Use display for hiding/showing sidebar on OS 14_0" 2020-10-06 17:15:04 +00:00
jenkins-bot c4fe18bd4b Merge "Fix style of clock icon in changes lists" 2020-10-06 17:15:02 +00:00
jdlrobson 02ebb84ea0 Hot fix: Use display for hiding/showing sidebar on OS 14_0
Note, this removes a visibility animation.

Bug: T264376
Change-Id: I3589c615a8739e5ece6538acf42ff1292be84d71
2020-10-06 15:58:41 +00:00
jenkins-bot 7bebd8a8d1 Merge "Minerva should use the SkinMustache class" 2020-10-06 08:13:01 +00:00
Translation updater bot 8706602225 Localisation updates from https://translatewiki.net.
Change-Id: I614cf03a3f8233c6d0591bccf617ffb6ba70465a
2020-10-06 08:37:32 +02:00
Translation updater bot 91238200d8 Localisation updates from https://translatewiki.net.
Change-Id: I3e51374f7c2859f49334357ad40e2bc922d1ff7e
2020-10-05 08:47:40 +02:00
jdlrobson 78839e00e8 Minerva should use the SkinMustache class
This begins the migration of Minerva to SkinMustache with the smallest
possible change.

In future, we'll be able to eventually wean ourselves off of the
MinervaTemplate class and considerably reduce the code in Minerva

Bug: T256083
Change-Id: Id0f617cfdb698754addc79b26491b9d846513c87
2020-10-02 13:35:08 -07:00
Translation updater bot 33d05aa26c Localisation updates from https://translatewiki.net.
Change-Id: Ic05441fe83fd302318a11e70abf2b5f8ce2f106b
2020-10-01 08:32:38 +02:00
Translation updater bot 38579c8aeb Localisation updates from https://translatewiki.net.
Change-Id: Ie44f4b56fd68760bd5826adaf6ade7e1dc0f4c41
2020-09-30 08:46:13 +02:00
jenkins-bot b7cdc89d97 Merge "Fix storybook dev-script imports" 2020-09-28 19:24:24 +00:00
Translation updater bot 3206cba1e1 Localisation updates from https://translatewiki.net.
Change-Id: I8e87656b2dfa1107955beb48b54e089d5d163cb0
2020-09-28 08:33:36 +02:00
libraryupgrader f19a803e56 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Change-Id: I80ff59fc2f1b06bdd938a0ed79ceddfc0ea7a0a7
2020-09-25 20:28:33 +00:00
Volker E 9d1db05e7b Fix storybook dev-script imports
* Correctly pull down mediawiki.skin.variables.less
* Update source of clock icon in last modified bar
* Update query selectors
* Push to docs.wikimedia.org so things do not break so easily
again

Bug: T263270
Change-Id: I93cb7e53fb78d3a03019583b3b0c69a057088044
2020-09-25 11:47:09 -07:00
jenkins-bot aeaa20d88f Merge "watchstar: Add temp-watched css class when expiry is present" 2020-09-25 06:49:42 +00:00
Translation updater bot ef5c1db059 Localisation updates from https://translatewiki.net.
Change-Id: I7b7798e9ebac44d06c5fd5c964658c41fc043783
2020-09-25 08:23:20 +02:00
Dayllan Maza 0fc40f71c5 watchstar: Add temp-watched css class when expiry is present
MobileFrontend extension is currently tracking watched/temp-watch
css classes and applying animations to the "watch" event.
This patch starts adding temp-watched accordingly now that the
expiry is part of the event's data.

Note: this patch does not fix the lack of animation when transitioning
from half-star to empty-star or on page-load when the page is
temporarily watched but it fixes the awkward angle the half-star
icon was left in when transitioning from a full-star to a half-star

Bug: T262862
Change-Id: I1c8cb9c33cda76b87b6a9f15e408d88edbf61d93
2020-09-24 12:21:33 -04:00
jenkins-bot 011bf23390 Merge "Skip Minerva selenium test for creating talk topic" 2020-09-24 14:32:16 +00:00
jdlrobson d4828b200e Skip Minerva selenium test for creating talk topic
For sometime now this test has been intermittently failing for patches
across multiple repositories.

Temporarily skipping it now while debugging continues.

Bug: T262617
Change-Id: I90f23c57db22f878b6674296b83827c2ee4242e6
2020-09-24 12:38:37 +00:00
Translation updater bot c7bc65f565 Localisation updates from https://translatewiki.net.
Change-Id: Iac98e6ea5b75a2629494185495bd8ab0f5a63343
2020-09-23 08:27:05 +02:00
Sam Wilson df14b078c0 Fix style of clock icon in changes lists
Override core styles for the watchlist expiry clock icon in
Recent Changes and Watchlists.

Bug: T261415
Depends-On: I621b1571b57686beb9fb5802533b1e70d293bc2a
Change-Id: Iefdd271aeb6135771aae832e930fe02c73248110
2020-09-23 10:47:45 +08:00
jenkins-bot 6fbb0cdc68 Merge "Center and align the expiry dropdown in watchstar widget" 2020-09-21 22:26:43 +00:00
Translation updater bot 20a5ad471a Localisation updates from https://translatewiki.net.
Change-Id: If77b740d9141e8f7fef68724a72a827f8dd0004a
2020-09-21 08:33:29 +02:00
Sam Wilson e9ad028a5b Center and align the expiry dropdown in watchstar widget
Move the watchlist expiry dropdown list to be aligned in the
centre, and its contents to be left-aligned.

Bug: T261990
Change-Id: I3073618606636c78e6afb5bf19726c7b3973292b
2020-09-21 13:24:03 +08:00
Volker E 1ae1c424e0 Add role=contentinfo to footer element
Mitigating an VoiceOver bug first identified in course of T66477 and
clarified in  T66477#6347019.

Change-Id: Ie6beb6ba0848bd08a3604974dfc8dada0fd445b7
2020-09-18 08:41:49 -07:00
Ed Sanders 1cea342431 build: Update eslint-config-wikimedia to 0.17.0
Change-Id: I0b917095bc84ff8b3a745f2d8b1e8541b9817bc8
2020-09-16 13:48:53 +00:00
Translation updater bot 34ad4f611a Localisation updates from https://translatewiki.net.
Change-Id: I14093d5d7f9f0e137912fdc7890cad12a41c61cf
2020-09-16 09:12:12 +02:00
Dayllan Maza f78d7c11e9 watchstar: Add expiry support to watchpage.mw event
The watchpage.mw event triggered on core now sends in the expiry value
if the watchlist is being watched temporarily. This patch is to
handle the star icon accordingly.

Bug: T261970
Depends-On: I9e31e41e3438ebc5e6e462f5136af5c36ba34194
Change-Id: Ia47190c1aaf4492a6cc31873a5b3bec75f2fec86
2020-09-14 09:23:33 +00:00
Translation updater bot 7df78986b9 Localisation updates from https://translatewiki.net.
Change-Id: Id520bd4ed1d40e8ffde47aba0c8e6e5f3919250b
2020-09-14 09:22:49 +02:00
Translation updater bot 2b28dbe75d Localisation updates from https://translatewiki.net.
Change-Id: I9b62d01f9b6ea4f3f34911d45b61b213ec0cef4a
2020-09-09 09:56:21 +02:00