Commit graph

3416 commits

Author SHA1 Message Date
Umherirrender 7346ac5494 tests: Replace assertEmpty with assertSame
assertSame avoids use of loose comparisons and
allows to check the expected type

Change-Id: Icd903f3b4397896380e2a087d0e8029920d7be92
2022-11-24 22:51:26 +01:00
Željko Filipin b9a92ef717 selenium: Enable one skipped test, delete one failing test
'Broken redirects' was disabled in 69a100cb45
'should be creatable' was disabled in 5e0dd88af0

'should be creatable' is failing so it is deleted.
'Broken redirects' is passing so it is enabled.

To be sure that the passing test is not flaky, the CI has ran it 100
times, it never failed.

Bug: T280652
Change-Id: I34a863dcbd126c2da8a98624e6ba1fa916eac0cf
2022-11-24 12:31:34 +00:00
Translation updater bot ef8bd6dc22 Localisation updates from https://translatewiki.net.
Change-Id: I3c34720a06a8d4dc57607a05cc4458a2f548615f
2022-11-24 08:20:19 +01:00
Translation updater bot 26da24b0fe Localisation updates from https://translatewiki.net.
Change-Id: I291472f8d87b27239e4d6e456d6f63d476e8ee0e
2022-11-23 08:35:31 +01:00
jenkins-bot c966853dca Merge "Remove styles for dd that cause content to be cut off" 2022-11-23 01:41:01 +00:00
Bartosz Dziewoński 4648848cbf Remove styles for dd that cause content to be cut off
They reference T160946, but in that task it was explained that the
problem was caused by faulty wikitext (T160946#3230740), so I don't
know why they were added.

Bug: T323640
Change-Id: I73d654d1f9127e22365d94909681c1c5f5f39597
2022-11-22 20:32:56 +01:00
Translation updater bot 6b62e8839a Localisation updates from https://translatewiki.net.
Change-Id: Ib1a018102cef4be894ed78e03b60bf2bef10ccb3
2022-11-22 08:36:22 +01:00
jenkins-bot e914576438 Merge "Disable auto-capitalization hint on search field of wikis with $wgCapitalLinks = false" 2022-11-21 13:24:21 +00:00
jenkins-bot aef8e35b3f Merge " HookRunner - Change PreferencesGetLayoutHook params" 2022-11-21 13:17:44 +00:00
Translation updater bot 723b1e5b28 Localisation updates from https://translatewiki.net.
Change-Id: Ife32ba07f1757c5f4a242fb6d6adb5b1ae844171
2022-11-21 08:19:22 +01:00
suecarmol b4e78eace4 HookRunner - Change PreferencesGetLayoutHook params
Changed the PreferencesGetLayoutHook parameters so thatit no longer passes a Skin variable. Now, the hook willpass an additional string variable with the skin name  and an associative array with extra skin properties the hook might need.

Bug: T322781
Change-Id: I200aec586dbe8613e9a9c762db8d9bcbdc69a35b
2022-11-18 20:17:47 -06:00
Jon Robson 7187ce5594 Move skinStyle from Echo to Minerva
Bug: T257143
Change-Id: I1999185d19e171900f2da5acbd39125013d3582c
2022-11-19 00:24:08 +00:00
Translation updater bot fa4f424abf Localisation updates from https://translatewiki.net.
Change-Id: If3e41523d3995d62ea6991f708cffa590e8bf9a9
2022-11-17 08:29:39 +01:00
Jon Robson 9ea73b920e Disable auto-capitalization hint on search field of wikis with $wgCapitalLinks = false
Pass the value of autocapitalize to the SearchOverlay in MobileFrontend

Depends-On: I98ea142b2b39d699bb144eb528b12a5a4dcd0667
Bug: T251664
Change-Id: I082233fd5ac0a5d6d88794ef7cf4b1b13f43c708
2022-11-16 16:58:15 -08:00
Translation updater bot 9efaa2a594 Localisation updates from https://translatewiki.net.
Change-Id: I306ef86dbfea76458771e914c25cc9fafa4f8ed0
2022-11-16 08:30:57 +01:00
jenkins-bot dff20426d2 Merge "hacks: Stop hiding .fmbox and .tmbox" 2022-11-15 18:34:48 +00:00
Moh'd Khier Abualruz 9c94cb9b52 Special contribute Selenium Test
Fix Beta tests on Minerva, to accept both cases of enabled and disabled contribute special page.

Change-Id: Ic538655d63347a432029e7d637e9251662d560aa
2022-11-15 09:49:31 +01:00
Translation updater bot 25fb38adfc Localisation updates from https://translatewiki.net.
Change-Id: I5db69c5ef68c7fc682d46477fd326e492898d1d8
2022-11-14 08:13:06 +01:00
Bartosz Dziewoński 4c60fd328d hacks: Stop hiding .fmbox and .tmbox
Both of these elements are already hidden by default in the normal
view (.fmbox is used for some edit notices, which aren't shown in the
editor; .tmbox is used in the lede of talk pages, which is hidden by
the talk page interface), and these styles make it more difficult to
display them when they are desirable.

Bug: T257394
Change-Id: Ifb0316256bdec5008acc48544ddd3e2bf71b6d41
2022-11-11 00:09:00 +01:00
Translation updater bot c82bbdf332 Localisation updates from https://translatewiki.net.
Change-Id: I625ea7d8a10b976fa74b1d95e8b8891925f18041
2022-11-10 08:14:06 +01:00
Translation updater bot 0a87ab3cec Localisation updates from https://translatewiki.net.
Change-Id: I13afd885318031bc6fec44ef19075545890cd8d8
2022-11-09 09:01:30 +01:00
jenkins-bot 15eaff1a5a Merge "MinervaPagePermissions: Don't assume that indirectly editable contents don't have an edit action" 2022-11-08 13:55:59 +00:00
Translation updater bot 65457be99d Localisation updates from https://translatewiki.net.
Change-Id: I2113b0a6a6eb9f3e5245897d25974bab2d5a56ea
2022-11-08 08:22:58 +01:00
Translation updater bot b1863ceda1 Localisation updates from https://translatewiki.net.
Change-Id: Iad17b6ddfd9f6183d67f660e9de9e6f0c1d6d307
2022-11-07 08:38:50 +01:00
Reedy 8d23e02358 Group: Fix string interpolation
Bug: T314096
Change-Id: Ie61a2b703585d9f1bb3d0b0018f043a5a62c77d5
2022-11-04 14:45:21 -06:00
Translation updater bot 22a2d44c9b Localisation updates from https://translatewiki.net.
Change-Id: I3fb1cef01c89b53ab430613baec31892dfe36310
2022-11-04 10:19:59 +01:00
Translation updater bot ff5b92b18a Localisation updates from https://translatewiki.net.
Change-Id: I4e29af2d5faaea9c8e5cf70f76006efcbef242e7
2022-11-04 09:07:12 +01:00
Translation updater bot ff8accb013 Localisation updates from https://translatewiki.net.
Change-Id: Ib96bd9b394e7886c60baee170358fbd4d2aaf17c
2022-11-03 08:27:13 +01:00
jenkins-bot 27965530c3 Merge "Media border option applies to the media element, not the wrapper" 2022-11-02 23:02:22 +00:00
Jon Robson 5be882421d Disable new flushing rules on mobile
Don't have capacity to deal with this yet.

Follow up to  I9aba71ac4fff0d285676946acef8309b741ed1ad

Bug: T321504
Change-Id: I85ece1fa28d2c1c5967995ef7622684d73d3c23f
2022-11-02 12:28:49 -07:00
Arlo Breault b1d39a5425 Media border option applies to the media element, not the wrapper
Reported in,
https://it.wikipedia.org/w/index.php?title=Wikipedia%3ABar%2FDiscussioni%2FAggiornamento_del_parser_per_le_immagini%3A_vogliamo_testarlo%3F&type=revision&diff=130240855&oldid=130214646

The default styling in core looks like,

.mw-image-border {
	> a:first-child,
	> span:first-child {
		> *:first-child:not( .mw-broken-media ) {
			border: @border-thumbborder-screen;
		}
	}
}

The simplification here recognizes that the border option doesn't apply
to thumbs, so descendent selectors can be dispensed with, there's no
nesting in figcaptions to worry about.  That's important because
lazy-loading adds a noscript before the img tag, which would make the
selectors with first-child not apply anyways.

An img tag is used instead of the universal selector.  That seems like a
safe assumption for now and can be revisited with T314097 / T318433

Bug: T318300
Change-Id: I25f45ee794300d2ba2a38a0ab6e3741a6b1a18f2
2022-11-02 12:34:00 -04:00
Translation updater bot 98022a5c4f Localisation updates from https://translatewiki.net.
Change-Id: I88a5538e09b30de7100e6cf26ead74a469524ad1
2022-11-01 08:59:19 +01:00
Translation updater bot d4ccc757e8 Localisation updates from https://translatewiki.net.
Change-Id: I29429e57485ddad13af82563c2de19473cd16be8
2022-10-31 09:49:00 +01:00
jenkins-bot 2545c6b2d0 Merge "Add styling for Special:Preferences icons" 2022-10-28 16:59:28 +00:00
suecarmol 822bf0f0c3 Add styling for Special:Preferences icons
Added styles for Special:Preferences' mobile layout icons.

Bug: T317419
Depends-On: I6d5730d47e7595b1705787995fe5db2fe734d7f5
Change-Id: I40a1783a24a2d643026132038a71a027d69f178f
2022-10-28 11:39:20 -05:00
Translation updater bot 6dac350cf5 Localisation updates from https://translatewiki.net.
Change-Id: Ib6b27462428657f7954363a45b00bc79ff70a80c
2022-10-28 08:42:12 +02:00
Matthias Mullie a0555ee377 Break up words to prevent thumbnails from being squished
Bug: T321362
Change-Id: I9d649873145738808fa5a8456df4272c14e42d6a
2022-10-27 12:02:16 +02:00
Translation updater bot 5f7918c14f Localisation updates from https://translatewiki.net.
Change-Id: Id461e0ee2d5591244ced623125e64bb0128f2c82
2022-10-27 08:58:20 +02:00
Translation updater bot 0ef3ae5301 Localisation updates from https://translatewiki.net.
Change-Id: I5a2c4865974a1e6e5487da28ed01274652f94bd4
2022-10-26 08:22:11 +02:00
jenkins-bot 0eb111360f Merge "Override padding-left for Special:Search results" 2022-10-25 18:31:23 +00:00
jenkins-bot 77db2094eb Merge "Disable "page issues" feature when DiscussionTools is handling talk page" 2022-10-25 17:51:55 +00:00
jenkins-bot 7f3cba5df4 Merge "SkinMinerva.php: Improving naming and documentation of talk page overlay checks" 2022-10-25 17:15:33 +00:00
Ed Sanders f876accf9a Disable "page issues" feature when DiscussionTools is handling talk page
Bug: T312309
Change-Id: I9c3035c9dbe7545a05efb2286dffe0145d3557b4
2022-10-25 16:36:15 +01:00
Matthias Mullie 4c19038074 Override padding-left for Special:Search results
Bug: T321563
Change-Id: I5fe7c85e459fbab058cb54a3aec8503c8e7ce203
2022-10-25 16:14:46 +02:00
Translation updater bot 4c34240a9d Localisation updates from https://translatewiki.net.
Change-Id: I92e0aa3d396b21fd9b6dad2801427a4b83600479
2022-10-25 08:26:31 +02:00
Translation updater bot 698879e681 Localisation updates from https://translatewiki.net.
Change-Id: I02836face797281ba34f99048279967ec4452d0f
2022-10-24 08:25:57 +02:00
Ed Sanders c5976996d9 SkinMinerva.php: Improving naming and documentation of talk page overlay checks
Change-Id: Ie8bd5f591523f6eb0e1ef24cc2f61cc626fc478a
2022-10-24 00:00:42 +01:00
jenkins-bot 6d9be806a8 Merge "Fix a11y logged in test case on beta" 2022-10-21 17:52:16 +00:00
bwang 43d32233d1 Fix a11y logged in test case on beta
Change-Id: I2baa60a512522525163758b454d8826e5f0fa63d
2022-10-21 17:35:40 +00:00
Translation updater bot 17368240d1 Localisation updates from https://translatewiki.net.
Change-Id: I78239c5c9471bc6dd46525fd6881fed4d0e7e835
2022-10-21 08:47:45 +02:00