Commit graph

3801 commits

Author SHA1 Message Date
jenkins-bot 35ba0447b0 Merge "eslint: Enable no-use-before-define" 2023-11-17 16:55:41 +00:00
Ed Sanders 67f955eb20 eslint: Enable no-use-before-define
Change-Id: Id26b6017e06f436e9200638766bb8073fce8f03f
2023-11-17 16:06:59 +00:00
jenkins-bot b639cb01d5 Merge "Always show search form on Special:Search" 2023-11-17 15:57:05 +00:00
Translation updater bot ba2ac9425b Localisation updates from https://translatewiki.net.
Change-Id: I29ed4c8fcd2d4b5fa682ef564ef740feae18171e
2023-11-17 08:55:46 +01:00
Ed Sanders 88595174e6 Remove unused user-button styles
This class was removed in I55c18cf72.

Change-Id: I59069d97cdcc827d279edc76560f8c33fa2f71f2
2023-11-16 10:42:26 +00:00
Translation updater bot 09eb839a6b Localisation updates from https://translatewiki.net.
Change-Id: I053ceb376519c6342d787189893a88ef48bea829
2023-11-15 15:45:38 +01:00
jenkins-bot 9151f16c72 Merge "Remove eslint disable in MobileFrontend" 2023-11-15 00:06:44 +00:00
Jon Robson f78a77c825 Remove eslint disable in MobileFrontend
This method already throws a deprecation warning in production
so there is no need to guard against it here.

Bug: T348807
Change-Id: Iab346822e80dd716c001497c0587b163a49a3265
2023-11-14 10:24:17 -08:00
Translation updater bot 9f9ca79c50 Localisation updates from https://translatewiki.net.
Change-Id: Ia1402f4b0bfdc1196e1ea2aa3c1754f0e3f8c642
2023-11-14 09:16:45 +01:00
Jdlrobson 34f3a5a61b Merge "Drop mw.mobileFrontend references" 2023-11-13 17:50:51 +00:00
Translation updater bot c346115024 Localisation updates from https://translatewiki.net.
Change-Id: Iabed11d078272e5ad1ad738c44d642ba7628e8c0
2023-11-13 08:44:57 +01:00
Jdlrobson ca28efc9c7 Drop mw.mobileFrontend references
This restores the previously reverted patchset
If5b76245bf60bfa9cf977cdbf37ee0d6bb65f9d9

Changes since original:
* Added Depends-On to MobileFrontend
* Uses OOUI classes for page issues rather than es6 classes - ES6
classes do not support modifications to class prior to running
super so MobileFrontend's View class is not compatible without
significant refactors.

Depends-On: I24ad75adf8519102ca356d64d99d765ab69180cc
Bug: T348807
Change-Id: I4ff82af0251254c846f2caee330af5af738f6029
2023-11-10 01:30:52 +00:00
Translation updater bot b31b40a500 Localisation updates from https://translatewiki.net.
Change-Id: I95c2f70b754a333e10b7f427ec9951ec5186bb2d
2023-11-09 10:43:22 +01:00
Jon Robson 3dada0a92f Restore content below diff
Mobile page doesn't traditionally show the full revision under
the diff. If we want to continue to do this it would be better
to find a solution on the server then resort to this CSS hack.

Bug: T350454
Bug: T350650
Change-Id: Ic26c577ca4bcf8793f8678e30d91b0315da4df99
2023-11-08 18:54:31 +00:00
Translation updater bot 6faee29e4e Localisation updates from https://translatewiki.net.
Change-Id: Ibfdaf84a622a2fc0dd24a8d350b78b71c0366afc
2023-11-08 13:09:28 +01:00
Jon Robson ff8af8a620 Last modified bar should not be double height
Bug: T350515
Change-Id: I5044e38a2aa1582916339a0a85baed133e9c493c
2023-11-07 21:30:52 +00:00
jenkins-bot 90bc2178d6 Merge "Omit the last modified bar in the HTML rather than hiding it via CSS" 2023-11-06 20:31:53 +00:00
Jon Robson 99b32fb309 Omit the last modified bar in the HTML rather than hiding it via CSS
The mediawiki.diff.styles can be loaded on pages other than the diff
page itself, so it is better to move this logic into SkinMinerva and
avoid outputting it for diff pages full stop.

Note this module is loaded on Special:MobileDiff and desktop
Minerva history page (without redirect) so we need to cater
for both cases.

Bug: T350515
Change-Id: If2d908b7cbe257184e0c899f78a04d4d5935ea8c
2023-11-06 19:48:25 +00:00
Translation updater bot 49249a43b6 Localisation updates from https://translatewiki.net.
Change-Id: I3d5b3fddbf88bd91fae4ef65cd871b115a541fba
2023-11-06 09:01:02 +01:00
jenkins-bot 78a21f8f3b Merge "Revert "Drop mw.mobileFrontend references"" 2023-11-03 19:45:41 +00:00
Jdlrobson 2ee3e27406 Revert "Drop mw.mobileFrontend references"
This reverts commit 19ea6328b0.

Reason for revert: Breaks page issues and image overlay. I
will break this up into smaller less risky patches.

Change-Id: If5b76245bf60bfa9cf977cdbf37ee0d6bb65f9d9
2023-11-03 19:26:16 +00:00
Jon Robson f2243e7820 Fixes: Duplicate diff navigation links on mobile
Bug: T350440
Change-Id: I21cda31e137ac28990e693b83099b3328905089e
2023-11-03 17:08:32 +00:00
jenkins-bot 6af218d9ee Merge "styles: Replace deprecated color token" 2023-11-02 15:51:17 +00:00
Translation updater bot e0cedd248c Localisation updates from https://translatewiki.net.
Change-Id: I88dd520bb04bb738c4afddd5ff8a8d852c42349d
2023-11-02 10:01:36 +01:00
Volker E 9a54250830 styles: Replace deprecated color token
All other occurrences in this stylesheet already use the new token.
Seems like this one was missed.

Bug: T331403
Change-Id: I1d385275bd2b679d130eb3180ef2fc63a0f37a6b
2023-11-01 23:52:29 -07:00
Jon Robson 691d263144 Account for load basic button
When the editor is loading a loading overlay is shown and its not
possible to escape it via the back button. Make sure that the test
waits for this to disappear before continuing.

Bug: T348539
Change-Id: Ib53f9129d2cc89c23142c447e25d727592521ae0
2023-11-01 20:38:14 +00:00
jenkins-bot d73e1f5cf6 Merge "Drop mw.mobileFrontend references" 2023-11-01 15:45:31 +00:00
Translation updater bot 1e73dde94a Localisation updates from https://translatewiki.net.
Change-Id: Ic073da859b011e05ce4801031e832c08e4b4789b
2023-11-01 09:10:17 +01:00
Jon Robson 19ea6328b0 Drop mw.mobileFrontend references
Bug: T348807
Change-Id: Ib71b43005e5788d0e29917a165281faa84926414
2023-10-31 21:54:26 +00:00
jenkins-bot 12a54347be Merge "Don't turn text in .mw-editTools toolbar gray" 2023-10-31 13:56:56 +00:00
jenkins-bot af27a8fe7f Merge "Fixes read only mode." 2023-10-31 13:35:14 +00:00
Translation updater bot 9f16e2e21a Localisation updates from https://translatewiki.net.
Change-Id: I232acf7915ab3c027d182bc54a0298fb700ed3b7
2023-10-31 09:11:02 +01:00
Jon Robson e7ed36164f Increase specificity of some selectors
These elements were not hiding correctly.
Follow up to I5a4a2588da3d701be87690038c2c9b2bc1aa0365

Change-Id: I1798fa223d52625b9b16c98561f4b1cab39c5303
2023-10-31 05:02:02 +00:00
Jon Robson 5170e69d3c Fixes read only mode.
When $wgReadOnly = true; in LocalSettings.php the edit icons
appear locked and when clicked should show a warning.

This also addresses deprecation warnings in the code and
tidies up the ES6 code.

Note to reviewer: Please use git diff HEAD^ -w
when reviewing this diff. Mostly whitespace changes.

Change-Id: I3fa83cc1dc4da62260fd0ef50ac14805c3e1282b
2023-10-31 00:41:29 +00:00
Jon Robson db8e3b09af Document messages and add hours and minute units
Follow up to I5a4a2588da3d701be87690038c2c9b2bc1aa0365

Change-Id: I6ea2b98bd3d03e586cc58307d3f2f0f1119059e3
2023-10-30 23:37:12 +00:00
Translation updater bot 23259829af Localisation updates from https://translatewiki.net.
Change-Id: I77835f48ca322b99e95afa8d796934d7f23a222b
2023-10-30 18:01:27 +01:00
jenkins-bot 3a4b1f1082 Merge "Style the desktop diff and history page of Minerva to look like mobile pages" 2023-10-30 14:53:32 +00:00
thiemowmde 758333a972 Don't turn text in .mw-editTools toolbar gray
Please see T338261#9291438 for a longer explanation. The .mw-editTools
section is a multi-purpose field that can hold a lot of different
things, most notably a special characters toolbar. It's confusing if
the toolbar looks like it's disabled.

Bug: T338261
Change-Id: I6ad58dbdcc754c832e03184c2e69a7803c333c07
2023-10-30 15:23:50 +01:00
Translation updater bot 6255dbab1d Localisation updates from https://translatewiki.net.
Change-Id: I8ee94aec9eb940164ec664e0459e0b1be6526554
2023-10-30 13:53:49 +01:00
jenkins-bot 58a77bc10d Merge "Diffs: Explicitly set font size to 100%" 2023-10-28 11:16:09 +00:00
Ed Sanders 8369a0e859 Diffs: Explicitly set font size to 100%
This should result in no-change, but prevents a regression after I65b6a778d.

Change-Id: I0085124a8590ede25d818033b669aff18afc19d6
2023-10-26 17:38:36 +01:00
WMDE-Fisch 354e00a3b5 Always show search form on Special:Search
At least for wikis that have AdvancedSearch installed it does not
seem to make sense to hide the interface. It should be usefull in
any case. Also there's a huge gap that should be avoided I guess.

I'm not to sure for cases where AdvancedSearch is not installed.
There this patch will lead to a situation where there are two
search fields visible. The one at the top and the one in the main
content. - Although the latter has the advantage to show the
current search term.

IMO this is overall still an improvement and further streamlining
could be done in a follow up ( like hiding the header search field
generally on the Special:Search page ).

Bug: T308845
Change-Id: I477825e9d738e9934f6c6845a1ff8962f12987a9
2023-10-26 13:10:25 +02:00
Volker E 1dbd976eb9 styles: Bring headings line-height value in line with Codex
The line-height value for headings in MinervaNeue was 1.3,
while in Codex and Vector it changed to 1.375.
This patch brings the value in MinervaNeue in line with Codex and
the corresponding change in Vector a while ago.
This also makes future typographic changes more easily handlable.

Bug: T331403
Change-Id: I4320035708d6005388428dfbc90da2ef613841b5
2023-10-24 21:54:51 -07:00
jenkins-bot d0ae24d7dd Merge "Stop using mediawiki.ui mixin for history page" 2023-10-24 21:24:35 +00:00
Jon Robson b0aa45822c Stop using mediawiki.ui mixin for history page
Additional change:
* Remove unused import on mediawiki.special.changeslist module
* Increase touch area of undo link for mobile devices

Bug: T345768
Change-Id: I8ded245cf15ca58f91ca1b71beffd91da02cfd92
2023-10-24 18:58:46 +00:00
Translation updater bot 197e6b8cfa Localisation updates from https://translatewiki.net.
Change-Id: I55b969fabde628498e3b63a1ae2cfbf8b2233a2f
2023-10-24 09:40:55 +02:00
jenkins-bot 16eed12b1a Merge "Generate section edit links via SkinMustache" 2023-10-24 01:12:49 +00:00
Jon Robson 0c8caebfc6 Generate section edit links via SkinMustache
Bug: T346944
Depends-On: Ief6a6ee03ada8207fc5c60ea438412fa2d529022
Change-Id: I9f768706c0a0f14f14ee4b3812288218bef36018
2023-10-23 23:17:43 +00:00
jenkins-bot 47d023c767 Merge "Do not use data-mw=interface when watchstar is used as a CTA" 2023-10-23 21:14:54 +00:00
Translation updater bot 02480ed6df Localisation updates from https://translatewiki.net.
Change-Id: I66c9f1108b4badb1aa28bff7630a9eade6da887d
2023-10-23 09:53:39 +02:00