Commit graph

3031 commits

Author SHA1 Message Date
Translation updater bot fc9471710f Localisation updates from https://translatewiki.net.
Change-Id: I9f1be118a458f3652635b1331cded1a00a76e8a8
2021-07-28 08:22:17 +02:00
Translation updater bot 12d9df1ad7 Localisation updates from https://translatewiki.net.
Change-Id: Ib7637f18f021522d7910896258f2a11ee9dbfeb0
2021-07-26 08:14:38 +02:00
libraryupgrader 218151025e build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* svgo: 2.3.0 → 2.3.1
  * https://npmjs.com/advisories/1754 (CVE-2021-33587)
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* ws: 7.4.5 → 7.5.3
  * https://npmjs.com/advisories/1748 (CVE-2021-32640)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)
* normalize-url: 4.5.0 → 4.5.1
  * https://npmjs.com/advisories/1755 (CVE-2021-33502)
* prismjs: 1.23.0 → 1.24.1
  * https://npmjs.com/advisories/1762 (CVE-2021-32723)

Change-Id: Idfecb28ef49b193ba78b3f7b1335d4d5cb2862cd
2021-07-23 18:37:41 +00:00
Translation updater bot 6aaf49a3ee Localisation updates from https://translatewiki.net.
Change-Id: I5c8729bf16664d65612205d16b3c216d6a728660
2021-07-22 08:14:43 +02:00
jenkins-bot 7791635c0f Merge "minerva-header class is now in cached HTML, remove old header class" 2021-07-21 23:54:23 +00:00
Translation updater bot 5196b787c1 Localisation updates from https://translatewiki.net.
Change-Id: If3a325570e96cc6bf600d98574b8ab39880f2873
2021-07-21 08:06:51 +02:00
jdlrobson 9fa0f3a64d Use MediaWiki UI version 2 from core in Minerva
Depends-on: Ibc136a17662ae839f90babb21e0f7e8f27b7a7d5
Bug: T191021
Change-Id: Ifdc3a3273aa93129177a11814651ec811c20f49c
2021-07-20 11:59:23 -07:00
jdlrobson ca18ad75d3 minerva-header class is now in cached HTML, remove old header class
This completes the migration from header to minerva-header

Bug: T172626
Change-Id: Ibb86359e683e08d86091f855e3813a99e0ad2cee
2021-07-20 18:36:39 +00:00
Translation updater bot 0d9f6cb13c Localisation updates from https://translatewiki.net.
Change-Id: I6b01992752a1ba1975cadf8968f3fae666699cb0
2021-07-20 08:22:26 +02:00
jenkins-bot 50608c6b8e Merge "Prepare for existing bundlesize change" 2021-07-19 22:37:50 +00:00
jdlrobson 9dab685ac9 Restore header class for cached HTML
Follow up to 27525d0bf

During task sign off Nick raised the concern that new HTML
can be served with cached CSS for up to 5 minutes after a deploy.
We decided to restore the class for one deploy cycle.

Bug: T172626
Change-Id: Ie5a2e45f31a468bbe425a27236ad1255950807a1
2021-07-19 13:47:55 -07:00
Translation updater bot 146a7d60b1 Localisation updates from https://translatewiki.net.
Change-Id: I7e5018e8ed9b3f2625b1e3e64a393ea51c51c59a
2021-07-19 08:18:19 +02:00
jenkins-bot ad7057d560 Merge "Fix style conflict with content using class="header"" 2021-07-16 21:19:07 +00:00
ExE Boss 27525d0bff Fix style conflict with content using class="header"
Content using `header` as a CSS class was affected by skin styles
in Minerva being insufficiently specific to the skin‑specific elements.

This changes Minerva to use `class="minerva‑header"`, thus avoiding
the conflict and matching what Vector does.

Bug: T172626
Change-Id: Id8fbe61b2d1d4a89ec11ddfdf7837be797b3bd20
2021-07-16 20:39:24 +00:00
jdlrobson f1c3ab3d29 Prepare for existing bundlesize change
This module is provided by core and about to increase.

Bug: T191021
Change-Id: I64e1f10c8e2fb844ecafe886a6acb29deea67dee
2021-07-16 12:39:58 -07:00
Translation updater bot 653c41168e Localisation updates from https://translatewiki.net.
Change-Id: Ib5f487f18a94d30192141da6ebec27ddb6b769de
2021-07-15 08:13:43 +02:00
Translation updater bot 71daeb6b15 Localisation updates from https://translatewiki.net.
Change-Id: Ie2c6a1c268458d0240f73c2660ca303aeb722f07
2021-07-14 08:03:57 +02:00
jenkins-bot bdc23e1c5d Merge "Remove SkinMinervaDefaultModules hook" 2021-07-13 19:32:05 +00:00
Translation updater bot 5b03c298d6 Localisation updates from https://translatewiki.net.
Change-Id: I0e9d6458fd6148f85eb0b776ccad2ef5ac3fa998
2021-07-13 08:13:02 +02:00
Translation updater bot be8cc42479 Localisation updates from https://translatewiki.net.
Change-Id: I4befa06b358ebf4c04d829e85c2642f2f6e0cfa8
2021-07-12 08:08:16 +02:00
Translation updater bot 548267f5d8 Localisation updates from https://translatewiki.net.
Change-Id: Ic4374b1d6d485bb42c2fa19a0b373d9ee0215318
2021-07-09 08:08:01 +02:00
Translation updater bot 970c4389a1 Localisation updates from https://translatewiki.net.
Change-Id: I10a10fb843ede4eb2afc6f757c49301e7d7eea52
2021-07-07 08:08:56 +02:00
Translation updater bot 84fd7908b0 Localisation updates from https://translatewiki.net.
Change-Id: Ib3107b10031bc68da586779a22e09155dccda804
2021-07-06 08:39:59 +02:00
DannyS712 55206bd705 Remove SkinMinervaDefaultModules hook
Deprecated in core version 1.36

Bug: T266882
Change-Id: I99bd07dab4f27e2c119b80c1ca3383134740050d
2021-07-05 15:55:21 +00:00
Translation updater bot cd396770a8 Localisation updates from https://translatewiki.net.
Change-Id: I548eb15f01916e69fa3884f6b8e526bb1a789f1c
2021-07-05 08:08:42 +02:00
Translation updater bot ce41233929 Localisation updates from https://translatewiki.net.
Change-Id: I870e10db1691e47fc2807f96a067e2a72be8e1ff
2021-07-02 08:32:37 +02:00
Edward Tadros 69a100cb45 selenium: Fix failing Jenkins job selenium-daily-beta-Minerva
"Page should be creatable" test is fixed by increasing timeout.
"Wikitext Editor Makes actual saves Broken redirects" is skipped.
The skipped test will be replaced with a new test.

Bug: T269051
Change-Id: I72c43b361bd8e63e500656f164412d37856805c1
2021-07-01 07:50:46 -07:00
Translation updater bot 3f398ba001 Localisation updates from https://translatewiki.net.
Change-Id: I3482cfda1cec0c738c18c91c6579ffe490e71f65
2021-07-01 08:11:07 +02:00
Derick A 4009065cea
Menu: Add "unprotect" action when current user is an admin
Accidentally via T231291, a regression was introduced such that,
in AMC mode, when a page is protected to be edited only by admins,
a corresponding unprotect action is not avaiable to reverse the
protect action.

This patch fixes that regression. Have tested locally and it works
as expected.

Bug: T285567
Change-Id: Ie20ca5d9c43fa54dff5d699eb59679585283bdb5
2021-06-30 20:51:57 +01:00
Translation updater bot a0a13d38ec Localisation updates from https://translatewiki.net.
Change-Id: I0bcae0aa7904b677a88e4f5ce38bf8b2988a3f7b
2021-06-30 08:27:22 +02:00
Translation updater bot 1a8e506684 Localisation updates from https://translatewiki.net.
Change-Id: Ide552d44280a5724b33581920bcd4c5f0c26587b
2021-06-29 08:14:49 +02:00
jdlrobson 4f2f1bb349 Drop duplicate styles in Minerva
These styles are also applied inside MobileFrontend as they should apply
to all skins, not just Minerva.

Several styles for desktop Minerva are amended with a comment.

Bug: T253370
Change-Id: Ib23024d192f331ef76007dbd9ef54596cc1adb0c
2021-06-28 12:26:12 -07:00
Translation updater bot c9da6fa8a8 Localisation updates from https://translatewiki.net.
Change-Id: I44f778770a21d3ff8357aac22143ca3498dd664e
2021-06-28 09:25:07 +02:00
Translation updater bot b81a707e98 Localisation updates from https://translatewiki.net.
Change-Id: I3fb4d2cb7f76991a97b8437310e8afbfbd38200c
2021-06-24 08:28:23 +02:00
jenkins-bot fb18094a40 Merge "Move skins.minerva.content.styles into skins.minerva.base.styles" 2021-06-22 18:44:03 +00:00
Translation updater bot f862b74435 Localisation updates from https://translatewiki.net.
Change-Id: Iee289f35c35c648e4e542053cb8e2828c9f27056
2021-06-22 08:11:22 +02:00
jdlrobson c764cc62d4 Category feature not ready for logged in users
When removing the category overlay this for AMC
as part of Id8c7493a525844b43c1628a1f4f09ae716ece2ba
the feature was enabled for logged in users unintentionally.

Bug: T246049
Change-Id: I1be90b22afa1f6ad5094131485b38253d422cb11
2021-06-21 13:57:12 -07:00
jenkins-bot 002d106239 Merge "Address some FIXMEs in styles" 2021-06-21 20:17:05 +00:00
jdlrobson 18ad3fa457 Address some FIXMEs in styles
A comment says that the line of code can be removed after cached
HTML is not a problem. This code for ui.less was added in April 2019, so is
not a problem. The code for footer.less was added in April 2020 so is also
not a problem.

Another comment says external link unsetting can be removed after
a ticket has been resolved, which has been resolved and I can confirm
is no longer needed.

The header > div a rule only matches the link wrapping the logo
inside the branding-box. It no longer matches the hamburger or notifications
icon  which make use of nav elements, and to make matters worse
interferes with the goal in T282473

Bug: T285261
Change-Id: Ie7777b4b53355cf0dc48d6447f63299156254b6c
2021-06-21 17:56:48 +00:00
Timo Tijhof 0d61c78f73 Move skins.minerva.content.styles into skins.minerva.base.styles
This could be made even simpler by not using a LESS varialbe for
hacks.less, but loading it conditionally through the moduel def.
But, as a first step we can merge the two as-is.

Given that the subject and target are always referenced together
in page views, there is no need to keep an alias around. However,
I'm keeping it anyway so as to not produce any
`/* {"skins.foo":"missing"} */` appendix to the stylesheet response
for these cached URLs.

Bug: T266361
Change-Id: I8578faab8ca32bd49be90711cbd5e182763b8065
2021-06-21 17:50:37 +00:00
Translation updater bot 715e739f05 Localisation updates from https://translatewiki.net.
Change-Id: I09af2933d95642fa2960c064c9daa1ad99fbba5c
2021-06-18 08:21:57 +02:00
Translation updater bot c6d1fe1209 Localisation updates from https://translatewiki.net.
Change-Id: I47810a71831073d28d41e3e9cbddfc27d89a21e8
2021-06-17 08:21:30 +02:00
Translation updater bot f499f92c34 Localisation updates from https://translatewiki.net.
Change-Id: I88df8357d244be6bbb24703e9b0fc10c67b7cd01
2021-06-15 08:34:23 +02:00
Translation updater bot 988cbbf93a Localisation updates from https://translatewiki.net.
Change-Id: I056b74b2d3523f52739acbcadf881115f0ff7049
2021-06-14 08:41:17 +02:00
Translation updater bot eb25bf75ee Localisation updates from https://translatewiki.net.
Change-Id: Ifa2205e11d2cf68a6212fc118deeec6a7874c9bf
2021-06-11 08:35:51 +02:00
Clare Ming cc2fd8d66f Remove SearchLogger
Remove the searchLogger as part of the bigger cleanup to remove MobileWebSearch schema in MobileFrontend

Bug: T282167
Change-Id: I13db335859adc93d92acf3228bf381fc4c81898d
2021-06-10 15:50:57 -06:00
jenkins-bot f21558f313 Merge "Add hook that allows suppression of the talk page overlay" 2021-06-10 20:35:20 +00:00
David Lynch 5fb7c116b7 Add hook that allows suppression of the talk page overlay
The hook lets us hand off the decision of whether to suppress this to
DiscussionTools, which has a slightly complex set of feature-tests to do
before deciding. It seems better to leave this disabled only when DT
will actually be stepping in.

Bug: T280051
Change-Id: If6b70fb6d801ac04fa3b70c153a2136d2e302f28
2021-06-10 11:35:26 -05:00
Translation updater bot 19bb8f68c5 Localisation updates from https://translatewiki.net.
Change-Id: Ic6ecca6696e1d2fecd7a99b2fb8e9a1e44645f4d
2021-06-10 08:36:05 +02:00
Translation updater bot a68bc984d8 Localisation updates from https://translatewiki.net.
Change-Id: I7ccf50ae173ead5a72be18adef3e9b02782e0158
2021-06-09 08:30:06 +02:00