Commit graph

2454 commits

Author SHA1 Message Date
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
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
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
Translation updater bot 0aa9561b7e Localisation updates from https://translatewiki.net.
Change-Id: I8aad4a28449505d026dcdb23360d97c3ca78e810
2020-08-17 08:47:46 +02:00
Translation updater bot c8b9876992 Localisation updates from https://translatewiki.net.
Change-Id: Ibcc9c4bcf24b440184b4d7134ccd64bbffe3874a
2020-08-14 08:43:02 +02:00
Translation updater bot 17bdca3f55 Localisation updates from https://translatewiki.net.
Change-Id: I1952da638fda90b709664e5afe82e1b9d01b3d38
2020-08-12 08:21:29 +02:00
libraryupgrader 6b397da601 build: Updating npm dependencies
* webpack: 4.43.0 → 4.44.1
  * https://npmjs.com/advisories/1548
* terser-webpack-plugin: 1.4.3 → 1.4.4
  * https://npmjs.com/advisories/1548
* mocha: 8.0.1 → 8.1.1
  * https://npmjs.com/advisories/1548

Change-Id: If82fa2aae8f0353f85dc520fb0ed8692a0bd7820
2020-08-11 23:32:31 +00:00
jenkins-bot 5e43bf1ef2 Merge "Revert "ServiceWiring: Avoid usage of deprecated Title::getSubjectPage()"" 2020-08-11 16:14:36 +00:00
Jdlrobson 74838b2fa2 Revert "ServiceWiring: Avoid usage of deprecated Title::getSubjectPage()"
This reverts commit ae8e3ad58b.

Reason for revert: This led to T260155 as the internal class uses
isSubPage which is not available on LinkTarget

Bug: T260155
Change-Id: I783f41e70cf1cf3b91737bce9cbf9ac729a778df
2020-08-11 15:50:44 +00:00
jenkins-bot e9b23132c3 Merge "ServiceWiring: Avoid usage of deprecated Title::getSubjectPage()" 2020-08-10 21:41:21 +00:00
Translation updater bot 1a1ce71987 Localisation updates from https://translatewiki.net.
Change-Id: I196c9ab5f82b3c58401dec08b9a55ff2900dcee0
2020-08-10 09:04:17 +02:00
Derick A ae8e3ad58b ServiceWiring: Avoid usage of deprecated Title::getSubjectPage()
SkinUserPageHelper::__construct() should be able to consume a LinkTarget
too as NamespaceInfo::getSubjectPage() method returns a LinkTarget and
the Title::getSubjectPage() is deprecated.

Change-Id: I08bfc9bb21772b450798b6354bee2ab09d5dba4d
2020-08-08 14:07:48 +01:00
Translation updater bot 146cb2bb3b Localisation updates from https://translatewiki.net.
Change-Id: I1578e2c913f32ef29e9bb8d0f51ffcea9c73e668
2020-08-07 08:24:43 +02:00
Translation updater bot 178735396f Localisation updates from https://translatewiki.net.
Change-Id: I4f2a43c7365a9abe6b053739e089b5b9a7653f67
2020-08-06 08:29:51 +02:00
jenkins-bot 9d4a717615 Merge "Specify the responsive option rather than manually specifying viewport" 2020-08-04 20:46:54 +00:00
jenkins-bot a477102e7e Merge "Don't add the "minerva--history-page-action-enabled" class to <body> for non-Minerva skins like MonoBook etc." 2020-08-03 21:09:17 +00:00
Jack Phoenix 2060ead391 Don't add the "minerva--history-page-action-enabled" class to <body> for non-Minerva skins like MonoBook etc.
Hooks are global, hence any and all skin-specific OutputPageBodyAttributes hooks need to check first that the correct skin (or skins) is used, otherwise the class or classes get applied for *all* skins when only one skin is supposed to be targeted.

Also fixed a tiny code style issue in the same hook subscriber while at it.

Change-Id: I626b0e050c614687b31f1ffbaea92e371dee4574
2020-08-03 20:30:28 +00:00
mainframe98 5857a9f909 Specify the responsive option rather than manually specifying viewport
I6e69b482cdbc adds a viewport with the same value as defined by Minerva.

Bug: T258290
Depends-On: I6e69b482cdbc49c09adc6f7cee54f5e17b7c92c4
Change-Id: Ie8ed80f734b20a16bc1c70a94d40290909180c3b
2020-08-03 21:14:29 +02:00
Translation updater bot eab9cb47f6 Localisation updates from https://translatewiki.net.
Change-Id: I771f57444d4e6fea694a3597ddb00c397a211952
2020-08-03 08:37:09 +02:00
jenkins-bot 7b5ea29654 Merge "Run bundlesize tests on every commit" 2020-07-30 10:24:26 +00:00
libraryupgrader de68896908 build: Updating elliptic to 6.5.3
* https://npmjs.com/advisories/1547
* CVE-2020-13822

Change-Id: Ie755f6d0c3ba1f131822d2f2dbad971e8e74fe15
2020-07-29 23:13:33 +00:00
Peter Ovchyn 271fb28d99 Load mediawiki.page.ready on Minerva
Disable sortable and collapsible during mediawiki.page.ready initialisation

Add onSkinPageReadyConfig hook that overrides sortable and collapsible values.

Adds 1.74kb of JS to all page loads.

Bug: T257265
Bug: T250851
Depends-On: I0dc38e74052027f26a70d58b5f520e5830e0d55d
Change-Id: I81ff55d080c8c4a40f425ca7d0fc4fda322055dd
2020-07-29 20:57:52 +00:00
Ammar Abdulhamid 1a45b1409c Remove usage of deprecated Skin::getRevisionId()
OutputPage has similar method and they are being used
interchangeably here. Let's stick with one.

Bug: T257992
Change-Id: Ia5a0fbf114f6a1fec6fb85e01a408edae8a5badb
2020-07-29 16:09:47 +01:00