Sam Wilson
296ffc58f8
Realtime Preview: don't show error message and manual-mode bar at the same time
...
Hide the manual widget when showing an error.
Bug: T307240
Change-Id: I26150c190a9d3816e35ba369536e6d0ac11e4b1a
2022-07-22 13:15:46 +08:00
MusikAnimal
8ae9eff956
Realtime Preview: make ResizingDragBar's max width match the CSS
...
Bug: T313376
Change-Id: I8fadf2f9f997ff889a8582d5f24babd96fb8fcb9
2022-07-21 12:31:57 -04:00
MusikAnimal
9f3d4f0fd9
Realtime Preview: hide onboarding popup when screen is too narrow
...
Bug: T313377
Change-Id: Ied9385fbbbda9857042ae38eb97be072edbc5e09
2022-07-21 00:29:40 -04:00
Sam Wilson
9ff5caacbd
Realtime Preview: better construction of OnboardingPopup
...
* Call the parent constructor.
* Add CSS class to the widget's existing $element, rather than
creating a new one. Doesn't really change anything, just looks
neater.
Change-Id: I67a72b5e2ef0912c7c7f7a44c87b31c08e1f7fcb
2022-07-21 11:20:57 +08:00
jenkins-bot
b49fe580d0
Merge "Realtime Preview: fix display when toggling content in manual mode"
2022-07-20 06:19:46 +00:00
hmonroy
2b43b3cb0d
Realtime Preview: fix display when toggling content in manual mode
...
Preserve content when links that toggle content are clicked in manual
mode.
Bug: T306877
Change-Id: I8b494e84feb4ecdb4b346f78f911f6ae9ba8dce3
2022-07-19 13:42:37 -07:00
MusikAnimal
96b3b46861
Realtime Preview: preserve caret position when opening/closing RTP
...
Bug: T311684
Change-Id: I377fb3a122cda360e016716e3beb9c34983b8e10
2022-07-19 15:00:25 -04:00
Translation updater bot
8a6a40292f
Localisation updates from https://translatewiki.net .
...
Change-Id: I715b9fb9b03c898a95d2ff329dc7f4aeb2529502
2022-07-18 08:16:05 +02:00
Translation updater bot
8340ba03c7
Localisation updates from https://translatewiki.net .
...
Change-Id: I244decbe1796492a7ec251b6b3aab1db8afa05f9
2022-07-13 08:18:24 +02:00
Sam Wilson
3ac3629c8d
Realtime Preview: add mediawiki.storage module dependency
...
It is used by the onboarding pulsating dot and popup.
Follow-Up: I7f4dd0858349b0e7c4f4bedea5c7a62a51c6fa3a
Change-Id: Ic61559793fcac47f6b6246872212f70fcf870cbf
2022-07-11 05:51:51 +00:00
jenkins-bot
fb8dfd0e31
Merge "Realtime Preview: only add window-resize handler if toolbar button is used"
2022-07-11 04:00:49 +00:00
MusikAnimal
7f329a7453
Realtime Preview: don't hide diff view on refresh
...
Bug: T307046
Change-Id: I77379a323b7532595685494de10b89be65e49954
2022-07-07 19:53:24 +00:00
Sam Wilson
cff0089326
Realtime Preview: only add window-resize handler if toolbar button is used
...
Move the resize handler from the RealtimePreview constructor to the
getToolbarButton() method, to prevent it being used when the button
is not used (e.g. if the gadget is misconfigured).
Bug: T309330
Change-Id: I7abc335112648605404785528b37a81d946e900e
2022-07-07 13:21:23 +08:00
Translation updater bot
12661580d4
Localisation updates from https://translatewiki.net .
...
Change-Id: I2a242e050c3acbd5671634a8f18008822daabf5b
2022-07-06 10:18:51 +02:00
Translation updater bot
79d88eb744
Localisation updates from https://translatewiki.net .
...
Change-Id: I4c66ef05e3b5629afa6b7d5ac010335354f18e7d
2022-07-04 08:23:09 +02:00
Sam Wilson
b815fa6bd1
Realtime Preview: prevent lose of textarea selection when toggling
...
Save the current caret position in the textarea before enabling
or disabling Realtime Preview, and restore it afterwards.
Bug: T311496
Change-Id: Ib906e96e4e8b94b4e1fd82f6201005394c8a27c5
2022-06-28 20:15:54 +08:00
jenkins-bot
0ca47fea6f
Merge "RealtimePreview: Don't update when wikitext is unmodified"
2022-06-27 14:42:39 +00:00
Ed Sanders
bb21ea052c
Use 100ms opacity transition for revealing "Reload" button on hover
...
We usually use a 100ms transition when revelaing/hiding elements.
Change-Id: I114febf126d1ea6c2a461356ce497cd4614de7c0
2022-06-27 14:03:11 +01:00
Ed Sanders
7f768f748a
RealtimePreview: Don't update when wikitext is unmodified
...
Bug: T311406
Change-Id: I29afb5b7740ec26f3ba9c435729d9df0df46bf8b
2022-06-27 13:58:27 +01:00
Translation updater bot
06035ab6b9
Localisation updates from https://translatewiki.net .
...
Change-Id: I18e3adacec441e1678e5214e9ba9fd42aecbeddd
2022-06-27 08:18:54 +02:00
Translation updater bot
9fd5505a6b
Localisation updates from https://translatewiki.net .
...
Change-Id: I7f88caacf0417640c815f3e446b2a6e7ca03344b
2022-06-20 08:18:11 +02:00
Sam Wilson
623e6e7a46
Realtime Preview: remove the scroll linking between source and preview
...
It doesn't work well when there are infoboxes etc. and the actual
scroll behaviour is jerky and not very pleasing.
Bug: T294977
Change-Id: I8fbba61ddd902c16b3c63b41fc361afb5d1c1a1b
2022-06-17 11:09:04 +08:00
jenkins-bot
07402fc0a6
Merge "Log if an edit attempt began from the sticky header"
2022-06-16 18:01:23 +00:00
Translation updater bot
1038ab99f6
Localisation updates from https://translatewiki.net .
...
Change-Id: I51ca6cd3cbc09b7192295ff8dbde33a175c52bec
2022-06-16 09:25:47 +02:00
David Lynch
fd0841a899
Log if an edit attempt began from the sticky header
...
Bug: T298634
Depends-On: I871494b6e783018b1433f294e09b0d53dded6c3d
Change-Id: I07d3c91a63e78f091a1046ca49830e141f6ef8d4
2022-06-15 02:54:03 -05:00
Translation updater bot
1770eeaa5d
Localisation updates from https://translatewiki.net .
...
Change-Id: I9f6224bd80038404e7f446e11a51d85cb02cbdca
2022-06-15 08:42:40 +02:00
Translation updater bot
0bba508498
Localisation updates from https://translatewiki.net .
...
Change-Id: I6416da3bbbcb9b97129b244d29c4da125f106be3
2022-06-14 08:49:27 +02:00
Translation updater bot
6b1698d408
Localisation updates from https://translatewiki.net .
...
Change-Id: I97bd6717443110c90787d9cdcce2b282d2a12d08
2022-06-13 08:29:24 +02:00
jenkins-bot
82e7d45aa5
Merge "Realtime preview: match scroll positions between textarea and preview"
2022-06-10 19:42:50 +00:00
jenkins-bot
9f0a13b3b0
Merge "URI-decode external link page names when turning them into local links"
2022-06-10 13:35:01 +00:00
Sam Wilson
9a5e7dd919
Realtime preview: allow loading as a gadget
...
* Prevent the realtimepreview module loading on anything
other than wikitext pages (as is already done PHP-side
but that is bypassed when loaded as a gadget).
* Give the #wpTextbox1 a class so we don't always style it.
Bug: T307039
Bug: T308176
Bug: T309330
Change-Id: I26111a61c8cf37520b3619faf09d76445973edd3
2022-06-09 17:27:24 +08:00
Sam Wilson
e575822c73
Realtime preview: match scroll positions between textarea and preview
...
When either the textarea or the preview pane is scrolled, match the
other to the same vertical scroll percentage.
Bug: T294977
Change-Id: Ieda15868162caf06ef9099065ba55cfd8d8bfd0f
2022-06-09 12:57:54 +08:00
Translation updater bot
bdc97feba3
Localisation updates from https://translatewiki.net .
...
Change-Id: I63b9ba8685a9600976f87a964452b35146fac6aa
2022-06-08 08:28:24 +02:00
Translation updater bot
0e16ebf47b
Localisation updates from https://translatewiki.net .
...
Change-Id: I0c2b04c689f28b9b2a12ddd6c55f64f15fd02d30
2022-06-07 10:01:55 +02:00
Translation updater bot
1ee04337c9
Localisation updates from https://translatewiki.net .
...
Change-Id: I4aa6d0d721213a6ecc8237f99454c148338ab4fc
2022-06-06 09:27:09 +02:00
Translation updater bot
d33cd27b0a
Localisation updates from https://translatewiki.net .
...
Change-Id: I9b9c1e603df57c6fe848661648554ae42629f465
2022-06-02 08:15:52 +02:00
Sam Wilson
4fc6cb53b8
Realtime preview: keep original scroll position when enabling/disabling
...
Because the DOM and layout changes reset the scroll position of the
editing text area, it must be manually saved before enabling/disabling
and reset afterwards.
Bug: T294977
Change-Id: I7722213e682401d29b6b53d672a487da042be6a9
2022-06-01 10:41:54 +00:00
jenkins-bot
111185fb56
Merge "Realtime Preview onboarding popup"
2022-06-01 10:39:20 +00:00
Translation updater bot
ef783c3f4c
Localisation updates from https://translatewiki.net .
...
Change-Id: I37f74a3123ce6a0c461a5826bc160758cb02777a
2022-06-01 08:21:23 +02:00
Sam Wilson
4ff946aea4
Realtime Preview onboarding popup
...
Add a pulsating blue dot to the Realtime Preview toolbar button
that displays an onboarding popup when clicked and disappears
forever when dismissed.
Bug: T294589
Change-Id: I7f4dd0858349b0e7c4f4bedea5c7a62a51c6fa3a
2022-06-01 14:11:49 +08:00
Translation updater bot
24ddf194a8
Localisation updates from https://translatewiki.net .
...
Change-Id: Iff62e0662b784b49df7164230c53b82f3bc972f9
2022-05-30 09:24:36 +02:00
libraryupgrader
bcd481e215
build: Updating grunt to 1.5.3
...
Change-Id: Id32cc655547a44328466e14a86c79dada78ffe48
2022-05-27 04:15:59 +00:00
Translation updater bot
86619d9b09
Localisation updates from https://translatewiki.net .
...
Change-Id: I686d73badb30ed2f27e3c6276e6e1d619ecad106
2022-05-26 08:52:22 +02:00
jenkins-bot
b62c5cf06a
Merge "Use new ResourceLoader namespace"
2022-05-25 02:16:51 +00:00
Tim Starling
6b2cca3b2b
Use new ResourceLoader namespace
...
Extensions using Phan need to be updated simultaneously with core due
to T308443.
Bug: T308718
Depends-On: Id08a220e1d6085e2b33f3f6c9d0e3935a4204659
Change-Id: I289b8cb5e74b5d87e26bfe6b779a22eaaa1071ee
2022-05-24 22:59:49 +00:00
Translation updater bot
395a056291
Localisation updates from https://translatewiki.net .
...
Change-Id: I21b2f832be97bf8de954ea331fd240155d1bf930
2022-05-23 08:17:54 +02:00
libraryupgrader
a05273e3c2
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2
npm:
* grunt: 1.4.1 → 1.5.2
* stylelint-config-wikimedia: 0.12.2 → 0.13.0
* async: 3.2.0 → 3.2.3
* https://github.com/advisories/GHSA-fwr7-v2mv-hh25
Additional changes:
* Set `name` in package.json.
Change-Id: Ife7f40d1f7d18c3ce66003aa50ac347d62441346
2022-05-21 17:46:08 +00:00
jenkins-bot
54019ffc38
Merge "Update schema logging of bucket for new DiscussionTools A/B test"
2022-05-20 22:28:18 +00:00
Translation updater bot
3769bb9e07
Localisation updates from https://translatewiki.net .
...
Change-Id: I18b4b711e85167905032bf38e51435515503ed9d
2022-05-20 08:37:42 +02:00
David Lynch
ce2ecf084f
Update schema logging of bucket for new DiscussionTools A/B test
...
Bug: T304030
Depends-On: I5e57bb9b7958576f3a04373748331a86f4626fb5
Change-Id: I084d26c95d5be78eddb4edd1b42aa52eef909356
2022-05-19 09:50:04 -05:00