Commit graph

2524 commits

Author SHA1 Message Date
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
Translation updater bot 970bcf82db Localisation updates from https://translatewiki.net.
Change-Id: Ic06563ff3a3ea5a868c3205d9261fd6e4692788d
2020-09-08 10:27:17 +02:00
Translation updater bot 8d6be38c3f Localisation updates from https://translatewiki.net.
Change-Id: Ib4bad391676230311cca53cb6339440e207b8640
2020-09-06 20:59:38 +02:00
jenkins-bot 6acb34d566 Merge "QA: Restore nested reference test" 2020-09-02 23:17:09 +00:00
Translation updater bot 3dd34eb81d Localisation updates from https://translatewiki.net.
Change-Id: Ib7af95383d261a91ddce27e60535f726a163ecce
2020-09-02 09:42:30 +02:00
jenkins-bot a33a00e572 Merge "Show half star for temporarily watched pages" 2020-08-29 10:00:17 +00:00
MusikAnimal 4a3e1fa9e8 Show half star for temporarily watched pages
This does not complete watchlist expiry support in MinervaNeue. It only
instructs the skin to show a half star instead of a full star on page
load if the page is being temporarily watched.

Bug: T251690
Change-Id: Ib5c479dcfe49041152ba662c56cc630c32eb220e
2020-08-27 11:57:13 -04:00
jenkins-bot 08e6b5e938 Merge "Add route for excluding language suggestions" 2020-08-26 19:36:53 +00:00
Kosta Harlan a061d4062f Add route for excluding language suggestions
In MobileFrontend, we have code that provides the ability to load the
language info overlay without suggestions.

Currently /languages/all shows all languages without suggestions.
This patch will show suggestions on /languages/all but omit them
inside a new route: /languages/all/no-suggestions

Bug: T232410
Depends-On: Icce2631b2d5d80defc2287fb83f58f97a82a1b1e
Change-Id: Ide8e39b167f09842dd05eae7c26aeb741c29cd64
2020-08-26 19:12:56 +00:00
Translation updater bot fa3ad50aa4 Localisation updates from https://translatewiki.net.
Change-Id: Iad87b3ebfbbe44b7ec39712dd31ca3acd40391c4
2020-08-24 12:02:23 +02:00
Translation updater bot 117f7142fe Localisation updates from https://translatewiki.net.
Change-Id: I707dcef5e75edfc54859cba5fbe5a3fc0df9cfe2
2020-08-21 08:43:28 +02:00
Peter Ovchyn 402aaad6ff Move css styles related to lazy-image-placeholder to skinStyles
`lazy-image-placeholder` is needed only when MobileFrontend is enabled.
So it makes sense to move those styles to mobile.init css. See more details here: T199351#6380240

Bug: T260406
Change-Id: I16ca734af33fb0f3c4c67f20bbca8631279d7778
2020-08-18 16:51:02 +00:00
jenkins-bot eb7035e76b Merge "Make lazy-image-placeholder vertically aligned middle by default" 2020-08-17 18:53:02 +00:00
Peter Ovchyn 8581b2c16b Make lazy-image-placeholder vertically aligned middle by default
All images in MinervaNeue skin are vertically aligned `middle`,
so placeholder for them should be consistent.

Bug: T199351
Change-Id: I5fa00bd0c02e67059543389e4bbd07b073a2c5e0
2020-08-17 18:30:21 +00:00