Commit graph

2598 commits

Author SHA1 Message Date
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
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
Translation updater bot b5a3fa1452 Localisation updates from https://translatewiki.net.
Change-Id: I3d7167ea017aa030978270a059e884a44a5b0887
2020-07-29 08:37:50 +02:00
jdlrobson 7408d87465 Run bundlesize tests on every commit
It was added in 7340485014
but for some reason never enabled.

This was supposed to be protecting us from performance regressions
by monitoring the size of modules in the repo. It appears to be
broken both locally and on Jenkins when run on the due to some changes
in Phabricator.

Since then we've added bundle size tests to Vector using a different
more foolproof method. I think that method is more preferable as it
also provides coverage for JS and icons so the
associated script is copied over and used in Minerva
and activated on all commits.

Bug: T259080
Change-Id: I9ba2dcc060ec09d91814c947d5be3f71b055a66e
2020-07-28 23:43:38 +00:00
jdlrobson 065b6e52b2 QA: Restore nested reference test
References clicks should now apply to the `sup` element not `a`
as the `a` element can contain spans.

Depends-On: I0d5bb398e99465ade357743dd3ff34ae551243c5
Bug: T258096
Change-Id: I5d8cae5f465a86282796b3fdc6bc658f6c836432
2020-07-28 21:53:19 +00:00
Edward Tadros 6f1fb87414 Selenium: Skip nested reference test.
BUG: T258096
Change-Id: Ie16eb622384a48ad2b060a720ea3e8e6abfb1fa2
2020-07-28 13:55:36 -07:00
Ed Sanders 13449aed52 Remove styles moved over to Echo
Bug: T258936
Depends-On: I72bedc3c3d633e8898c93d5e7d570b8ee7b6a1ff
Change-Id: Ic9b03bab0db39ccbed5b05c89577be18bb17c8de
2020-07-28 09:49:33 +00:00
Ed Sanders 58b9721e9c Remove -affixed selector
'affixed' no longer appears anywhere else in Minerva or Echo.

Change-Id: I540beddd7bfee12d699e3596130c65bcf041d036
2020-07-28 09:49:26 +00:00