Commit graph

3124 commits

Author SHA1 Message Date
thiemowmde eb5d3aa089 Remove non-helpful whitespace from "Headings" help panel
The help panel is rather cramped, only 125px high. Previewing the
actual margins above and below each heading is not really helpful.
It's also that no other element in the help panel does have this
whitespace.

Also remove a bit of redundancy from some selectors. Saying that
something is for the table "cells" is more than enough. Adding the
"td" doesn't make it better, just longer.

Change-Id: I11bbd5b8ceee709c3a51b20fb06d2315bb4d9316
2024-04-17 11:52:08 +00:00
Translation updater bot d88463c1d0 Localisation updates from https://translatewiki.net.
Change-Id: Ibf77d6722874f5fcfac851fbd06b223a4bacb644
2024-04-08 09:27:30 +02:00
Fomafix 9b7ec7ec48 Use "optional_services" to inject service MobileContext
This change requires a soft dependency on extension MobileFrontend
in project integration/config in file zuul/parameter_functions.py.

Depends-On: Idd55fb06cb166c00817f53287ab17984cae6a7a4
Change-Id: Ia0f6dc59cfac3d201c19bc4a62a5df9590c1ed37
2024-04-05 08:52:21 +00:00
Translation updater bot 37e032fb8c Localisation updates from https://translatewiki.net.
Change-Id: Id9cdb647512919d5915c57002861b539f98e3270
2024-04-05 09:39:16 +02:00
Translation updater bot f58fa0bd85 Localisation updates from https://translatewiki.net.
Change-Id: I0058e4eeb4d4e2e347c4bb35b934f38ad06a68e1
2024-04-04 09:39:52 +02:00
Translation updater bot c8049b24ef Localisation updates from https://translatewiki.net.
Change-Id: I693c36e0a3e1e3c6946067a7030d390cab888e95
2024-04-03 09:24:36 +02:00
Translation updater bot e1b2e08ca2 Localisation updates from https://translatewiki.net.
Change-Id: Ib60fe1d1ef44f66791bd7b751e3e1e3e28d878f4
2024-03-28 08:32:57 +01:00
Translation updater bot d79281cff7 Localisation updates from https://translatewiki.net.
Change-Id: I0bd6a8fc8aff93f829308e94f2e67861f7572e0f
2024-03-25 08:37:07 +01:00
Translation updater bot dc564457e3 Localisation updates from https://translatewiki.net.
Change-Id: Id9f99cb6a3d17d45f256042f95e04e740b29024f
2024-03-22 08:45:52 +01:00
Translation updater bot 0cbd9224bc Localisation updates from https://translatewiki.net.
Change-Id: I018706bcb48bb0fa8f509368f43c00c461cfdc66
2024-03-21 08:57:04 +01:00
Translation updater bot 9faed08169 Localisation updates from https://translatewiki.net.
Change-Id: I51396d649ee234b6da82502b9f463e6ff16c51f7
2024-03-20 08:24:54 +01:00
Translation updater bot 3a6c52fb5c Localisation updates from https://translatewiki.net.
Change-Id: I5bcfda0a6f0501532a7357b1ead135ba6214709a
2024-03-18 08:32:06 +01:00
libraryupgrader 0957603c56 build: Updating mediawiki/mediawiki-codesniffer to 43.0.0
Change-Id: I3146cf2af307156232ba25304dde152e2ecfd3be
2024-03-18 03:05:20 +00:00
jenkins-bot c040e59337 Merge "Set toolbar z-index to 7, to be above other UI elements" 2024-03-14 17:45:54 +00:00
Translation updater bot f1778cfb49 Localisation updates from https://translatewiki.net.
Change-Id: I3de4e1d195bf07fa8a5db388143e3220ac246359
2024-03-14 09:04:05 +01:00
Sam Wilson d50b6ee867 Set toolbar z-index to 7, to be above other UI elements
This is already being set in CodeMirror, where it was added in
I16598fcdbeee51e6fae88376ec81f1c8552b383d to keep the toolbar
above the CM scrollbar. It is of general use though, so should
be set in WikiEditor.

Bug: T360084
Change-Id: I85ca9727b00e884b74316bd540ddced7f87e112d
2024-03-14 09:43:16 +08:00
jenkins-bot b7a78685ef Merge "RealtimePreview: Add drop shadow to floating button" 2024-03-13 23:55:07 +00:00
jenkins-bot f31fc338ed Merge "RealtimePreview: Use LESS nesting in ResizingDragBar" 2024-03-13 23:46:00 +00:00
jenkins-bot ccd8760ac0 Merge "Fix overlap between preview button and edit switcher" 2024-03-13 23:45:58 +00:00
jenkins-bot daf81ae37a Merge "ResizingDragBar: force CodeMirror to have 100% height" 2024-03-13 23:35:36 +00:00
jenkins-bot a29a4dba26 Merge "Remove redundant closure for all modules with packageFiles" 2024-03-13 16:37:46 +00:00
Ed Sanders aab2a44fd9 RealtimePreview: Add drop shadow to floating button
In general, floating elements use a subtle dropdown
e.g. "Return to reply" button in DiscussionTools.

Change-Id: If3363557e3f85bbb3000b75e98d5130be1017e2f
2024-03-12 11:19:01 -07:00
Ed Sanders 864f39b359 RealtimePreview: Use LESS nesting in ResizingDragBar
Change-Id: I47b9840291907d764036c7917e3b2bad908ba7af
2024-03-12 11:19:01 -07:00
Ed Sanders 7837e3952c Fix overlap between preview button and edit switcher
These buttons can appear in any order depending on when
the code loads. Remove the default OOUI button negative
margin.

Replace group padding with margin now there is no negative
margin on the buttons.

Change-Id: Id2ebf7aa0b27da1d03d56f59e8a9a96f7656106d
2024-03-12 11:18:50 -07:00
Ed Sanders 008e2c5a94 Tweak monobook padding for realtimepreview-button
Change-Id: I6756a65d9b654ed2a23b168c88b7c80ded9f952f
2024-03-11 17:55:16 -07:00
Translation updater bot 5f6f9e5ef8 Localisation updates from https://translatewiki.net.
Change-Id: Ie1031562cb2bf4942cf24a78a522fac17c2a9f31
2024-03-11 08:28:27 +01:00
Translation updater bot 0c5786e4e0 Localisation updates from https://translatewiki.net.
Change-Id: I4e55b993e87f45a374bb7297713a34775edc461c
2024-03-08 08:23:55 +01:00
MusikAnimal 178a731b6e ResizingDragBar: force CodeMirror to have 100% height
The ResizingDragBar makes the editor resizable, so we need to set the
CodeMirror height to 100%. Previous attempts to fix this at
Ib49d1d9e71 and I4deeda192b suffered from race conditions based on
which modules loaded first. We can avoid this by simply putting the CSS
rule here in WikiEditor.

Bug: T357794
Follow-Up: I4deeda192bdc233101ba61739a636f8fd143c1de
Change-Id: Ia5e9767e0814eac29d58bc0d9c1023344a29dd84
2024-03-07 16:38:45 -05:00
Fomafix b799a886ca Remove redundant closure for all modules with packageFiles
Modules loaded with packageFiles are always executed in module scope
(with a closure), even in debug mode.

The behaviour of non-packageFiles debug mode is the only reason files
have closures.

https: //www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript#Closure
Change-Id: Idd7ffde7900adbca914c43a6bf7cb1b3fbf92bfa
2024-03-06 15:07:43 +00:00
Translation updater bot 68865298f4 Localisation updates from https://translatewiki.net.
Change-Id: I82bf870d11e2432b285f792abdc8466ed0ff29de
2024-03-06 08:20:29 +01:00
Translation updater bot e7afb6adb9 Localisation updates from https://translatewiki.net.
Change-Id: I5f86f20668a57338418165741033d3d6960d3906
2024-03-05 08:28:39 +01:00
Translation updater bot fb999e25b0 Localisation updates from https://translatewiki.net.
Change-Id: Ie06ff6f091b48963eba0574c858278a12c52e6a9
2024-03-04 08:24:31 +01:00
Translation updater bot eb64f076bc Localisation updates from https://translatewiki.net.
Change-Id: Iee4f79a1639b018afb1916bd80cdbd97821d1643
2024-02-29 08:36:51 +01:00
Translation updater bot 9596c85690 Localisation updates from https://translatewiki.net.
Change-Id: I8235f16090aed902099426c4428b67b179ac1816
2024-02-28 08:15:10 +01:00
Translation updater bot 15188657b5 Localisation updates from https://translatewiki.net.
Change-Id: I8feefbb5c0faae361b72eef23e2a31e4a2705a3e
2024-02-27 08:20:47 +01:00
Translation updater bot 1e37248f88 Localisation updates from https://translatewiki.net.
Change-Id: I434cda10718e298c5ebe702c42fd857cb3c62e20
2024-02-26 08:37:26 +01:00
Translation updater bot 1b6f6bf6ee Localisation updates from https://translatewiki.net.
Change-Id: Iaf4fde35714a0190a74d1b665d64fdea9fc688cd
2024-02-19 08:41:20 +01:00
libraryupgrader c10aa6a6ac build: Updating jsdoc-wmf-theme to 0.0.12
Change-Id: I96d90cdd71c4480cfe60ec9f0e638b53642ef3cb
2024-02-16 13:19:23 +00:00
Translation updater bot 1035feaa28 Localisation updates from https://translatewiki.net.
Change-Id: I4ad80239f86d16f94a272516df860e39e7c00292
2024-02-15 13:29:27 +01:00
Translation updater bot f5ae8d41a7 Localisation updates from https://translatewiki.net.
Change-Id: I86d3699b0a1756feb063d42c6e4287fc8802391a
2024-02-14 08:19:39 +01:00
libraryupgrader 5a3ee3886d build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* eslint-config-wikimedia: 0.25.1 → 0.26.0
* grunt-banana-checker: 0.11.0 → 0.11.1
* stylelint-config-wikimedia: 0.15.0 → 0.16.1
* postcss: 8.4.28 → 8.4.35
  * https://github.com/advisories/GHSA-7fh5-64p2-3v2j

Change-Id: Ifc01c8c8a402bebe3020e9cc92933db44c9fed85
2024-02-13 04:49:20 +00:00
Translation updater bot 5a63635b7d Localisation updates from https://translatewiki.net.
Change-Id: I712eb9624a99d6ea0ba935c00f515fda342278e5
2024-02-12 14:50:51 +01:00
Translation updater bot 11b5c9a6c2 Localisation updates from https://translatewiki.net.
Change-Id: I4e353de70e6d6caf0258ccc6f12bab80a199fe90
2024-02-07 08:28:03 +01:00
Translation updater bot acaa98486d Localisation updates from https://translatewiki.net.
Change-Id: Iae0177ba4e912681d640cf5ec9911c61516b0715
2024-02-05 08:50:51 +01:00
Translation updater bot f3dd2e9ff3 Localisation updates from https://translatewiki.net.
Change-Id: I13579a7049255c41ae7aadb35b80c356fd6dc5c8
2024-02-02 08:54:29 +01:00
Sam Wilson 23e4ebd244 Use flexbox for toolbar group items
Most toolbar items don't need this because they're inline-block
buttons and spans etc., but items of type 'element' can be block
elements (for example, the Realtime Preview button) and switching
them to flex items means they don't have to do anything special
to ensure their own layout.

This will make it easier to switch VisualEditor to use the
standard system of adding to the toolbar (in
Ic307f9dc7ad976862c8d8c6551ed29e6071f655f ).

Bug: T308423
Change-Id: Iff6d80628ebb5ec5685136fa02c2345eb5b49d42
2024-01-31 06:43:59 +03:00
Translation updater bot b6199794dc Localisation updates from https://translatewiki.net.
Change-Id: Ifa8de2871681837dd5b23b67f169fd36edcb0fb1
2024-01-28 16:08:23 +01:00
Reedy 5069b235fb Hooks.php: Use namespaced ConfirmEdit class
Bug: T355198
Change-Id: I938ffea8927f572508226acffefbd2dd000977f4
2024-01-17 21:49:36 +00:00
Translation updater bot 1032dd6f0a Localisation updates from https://translatewiki.net.
Change-Id: I8db688a8927fb700358db447346f918a59ac3c3c
2024-01-17 08:37:55 +01:00
Translation updater bot 909c8adf1f Localisation updates from https://translatewiki.net.
Change-Id: I9390713e1cde090ced0f22dced38bdbb0150dad7
2024-01-16 08:26:34 +01:00