Commit graph

3203 commits

Author SHA1 Message Date
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
James D. Forrester 8f16d58114 extension.json: Drop RL targets definitions, no longer honoured
Bug: T328497
Change-Id: I3a1f2f7f5e2f723218e515305c6e7ec0fc09faac
2024-01-12 08:55:14 -05:00
Translation updater bot cd6b88ed23 Localisation updates from https://translatewiki.net.
Change-Id: I62662687b108c43cc4c85df705b59fd246fc8647
2024-01-10 08:33:37 +01:00
Translation updater bot 868191c022 Localisation updates from https://translatewiki.net.
Change-Id: I09832a08a68379d2d2a8650ea84c1c7cb84432a0
2024-01-09 09:00:59 +01:00
Translation updater bot 28f5bcd2f7 Localisation updates from https://translatewiki.net.
Change-Id: I07da05773e1b73204398b128ad7957d879d98872
2024-01-08 11:31:57 +01:00
Translation updater bot 27ccb5dfde Localisation updates from https://translatewiki.net.
Change-Id: I82f2720ab250d27db3cf6cd60dc0baa942f01395
2024-01-05 09:13:46 +01:00
Translation updater bot 5c12d44426 Localisation updates from https://translatewiki.net.
Change-Id: I137e5bad6866cb2ffbf656a817033878dd406579
2024-01-04 09:56:37 +01:00
Translation updater bot 2b9615a425 Localisation updates from https://translatewiki.net.
Change-Id: Idd1309c9660ecc676051f8caf8d4fb31882884d1
2024-01-02 10:17:47 +01:00
Fomafix 84ece5c258 Remove deprecated function WikiEditorHooks::editPageShowEditFormInitial
The function is hard deprecated since 874741c9a included in REL1_41 and
not used anywhere:
https://codesearch.wmcloud.org/search/?q=editPageShowEditFormInitial

Change-Id: I8ea15bcbdd7b141f2e974381f1e13ca7be656d48
2023-12-28 22:48:16 +00:00
Translation updater bot 90b142de60 Localisation updates from https://translatewiki.net.
Change-Id: I7ea130d0c00f90f2c1221d888ee6d7b8d6636cef
2023-12-28 14:50:42 +01:00
Translation updater bot 402b3b9232 Localisation updates from https://translatewiki.net.
Change-Id: I74e6e16db44797cc9e106d09d7fbcdd02b286dc8
2023-12-26 14:43:54 +01:00
Translation updater bot 548b0e2605 Localisation updates from https://translatewiki.net.
Change-Id: Ia086458c4176488a2f89cad7cc09e27b9492adf5
2023-12-22 17:47:17 +01:00
Translation updater bot 43f7cfbcb6 Localisation updates from https://translatewiki.net.
Change-Id: I4a4ddcc837d7d9c03b563b4e3e93d78c00ac38db
2023-12-21 19:46:14 +01:00
Translation updater bot 5dd069930c Localisation updates from https://translatewiki.net.
Change-Id: I81118710bad26288f125030efd3cbcd598465933
2023-12-20 14:05:48 +01:00
Translation updater bot e6803fb81d Localisation updates from https://translatewiki.net.
Change-Id: I84899505ed64dda2aade24723cbe8ac3a0ea5a70
2023-12-18 18:19:33 +01:00
Translation updater bot 1bba80b7e2 Localisation updates from https://translatewiki.net.
Change-Id: I7d37aec7755a7dd91060a44e0ee283b72d255c13
2023-12-15 09:04:19 +01:00
jenkins-bot 248cf2c0f1 Merge "Remove partial migration of EditAttemptStep instrument" 2023-12-13 09:13:09 +00:00
Translation updater bot a60e460db6 Localisation updates from https://translatewiki.net.
Change-Id: I244a1ac06c57986bffcd1d6df71108ba93a95d9a
2023-12-13 08:42:19 +01:00
Santiago Faci 394babb9fd Remove partial migration of EditAttemptStep instrument
The partial migration to Metrics Platform has been removed

Bug: T351335
Change-Id: Idb62f92795cda98870c3add99c1b52eea1daac6b
2023-12-12 18:05:03 +01:00
Translation updater bot ca958473ec Localisation updates from https://translatewiki.net.
Change-Id: I3502975cb1f989bb26cc17db30cf9e7dc1ac732c
2023-12-11 10:44:20 +01:00
Sam Wilson f1bcbe75c3 Realtime Preview: also trigger on form.reset()
If the form is reset, make sure that the preview is re-run.
There isn't actually any reset button in the normal edit
form, but Edit Recovery uses reset() to remove any
recovered data, and if RTP is open when that's done the preview
needs to be updated.

Bug: T351821
Depends-On: I1ec757d5ddd9f0db66496c6aaef70747d93a5c83
Change-Id: I30481edae4c071e8586ac1dc7d587bd550965967
2023-12-08 16:00:04 +00:00
Translation updater bot 3bf5db1857 Localisation updates from https://translatewiki.net.
Change-Id: I9e59b4d0a7a3fcb7deb35558ffdc3d33cef15c7f
2023-12-08 14:46:59 +01:00