Commit graph

3188 commits

Author SHA1 Message Date
Translation updater bot 0cf42882c4 Localisation updates from https://translatewiki.net.
Change-Id: Ib2d5961d80d7db363aec0b449718c98f740419bb
2024-05-03 09:29:55 +02:00
jenkins-bot 9219ba7cba Merge "Use PHP type hints where possible" 2024-04-30 18:04:49 +00:00
Fomafix 5ab1e7c67a Update namespace of class RequestContext
Change-Id: I093c54a13aad9c17c4a915c23071ea5d9893571b
2024-04-26 14:46:23 +00:00
Fomafix 6a45353ca2 Use PHP type hints where possible
Also remove the `return true` on onRecentChange_save because this is
optional.

Change-Id: Ic1104ae901384f3e6699269b761c05a99d2334b3
2024-04-25 05:56:02 +00:00
Translation updater bot 994d7c7830 Localisation updates from https://translatewiki.net.
Change-Id: I983011fa87a42fb9a8fa598819498ff33399ada1
2024-04-24 09:19:22 +02:00
Translation updater bot f5a9dbc217 Localisation updates from https://translatewiki.net.
Change-Id: I6acdeb11b67ebdfa62b68e9429ff03af4e62d2c5
2024-04-23 09:29:16 +02:00
Translation updater bot 0f6f05eef7 Localisation updates from https://translatewiki.net.
Change-Id: I642c425bb14d39da3695636c99678cfabdf03dde
2024-04-22 09:30:17 +02:00
libraryupgrader 15d85a37db build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: I93cd056771246ee4956b6843b0dbabacf75bbfd6
2024-04-20 01:49:20 +00:00
Translation updater bot cfa0aaa125 Localisation updates from https://translatewiki.net.
Change-Id: If01b308d94d5aa4eec9d920eececd10afda669fa
2024-04-19 09:48:06 +02:00
jenkins-bot a1a2d23d54 Merge "Remove non-helpful whitespace from "Headings" help panel" 2024-04-18 06:51:19 +00:00
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 a42ef71f13 Localisation updates from https://translatewiki.net.
Change-Id: I4f10037426a07fd883e03afa3de8c948828012ea
2024-04-17 09:29:04 +02:00
Translation updater bot f55b094d94 Localisation updates from https://translatewiki.net.
Change-Id: I71ebb96ec9144ad53c06ae09a0164fde5ab356c2
2024-04-16 09:29:15 +02:00
Translation updater bot c5554b1a2e Localisation updates from https://translatewiki.net.
Change-Id: I4d7335905bdb4f156f511499eec651d78948ebd3
2024-04-15 09:29:08 +02:00
Translation updater bot 2cfcbda487 Localisation updates from https://translatewiki.net.
Change-Id: I2451c76484ffc78c18db40cba499ec4ce24c3d63
2024-04-11 09:22:23 +02: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