Commit graph

70 commits

Author SHA1 Message Date
Translation updater bot 4955e504df Localisation updates from https://translatewiki.net.
Change-Id: I43005ade394f1adcf365be1f8befde73ded8491f
2023-04-25 07:34:36 +02:00
Translation updater bot 1038ab99f6 Localisation updates from https://translatewiki.net.
Change-Id: I51ca6cd3cbc09b7192295ff8dbde33a175c52bec
2022-06-16 09:25:47 +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
Thiemo Kreuz 7573a7dbad Remove all unused "loading" code, messages and animations
The CSS was already unused when the extension was created in 2010.
A comment that still mentioned the CSS class was removed via
I0798864 in 2022.

The message is unused since I9fb7e66, that was in 2021.

Change-Id: I25cd31efc4ee61ff3f857c280b5cd18c3ae4bd00
2022-04-21 15:29:15 +02:00
Sam Wilson 4c760f8634 Realtime Preview: display manual-reload bar when previews are slow
After three slow preview requests, switch to showing a bar at the
top of the preview area that contains a manual 'reload' button.

The manual bar will be hidden when an error message is show, but
re-shown again after the error is dismissed. Closing and
re-opening the preview pane doesn't reset the manual mode.

Bug: T304568
Change-Id: Ia72bd1ceab68fdaed5de53137bd8ac5961db4714
2022-04-20 13:01:14 +08:00
Sam Wilson 94d4912103 Realtime Preview: add hover button for reloading
Add a 'reload' button to the right-side preview pane (that shows
on hover, and stays in the same place when the preview is
scrolled), and also an accesskey to trigger the preview. If the
preview is not open when the accesskey is pressed, it'll be
opened.

Bug: T303532
Change-Id: Ifa77ad7cf6d2ed6a8b955f9a324986d1c6f9a993
2022-04-14 08:08:58 +08:00
Translation updater bot 7341a30e1a Localisation updates from https://translatewiki.net.
Change-Id: Ieb2e00cc8420089eaa511699f0f9785072c1a73e
2022-04-08 08:28:39 +02:00
MusikAnimal b8bdd64ee5 Realtime Preview: add as a Beta Feature
For MW installations where BetaFeatures is not available, Realtime
Preview is enabled solely with the $wgWikiEditorRealtimePreview
configuration setting.

Bug: T304596
Change-Id: I880022883bf526a2aef237f4a75e790b0f9bd4e5
2022-04-06 13:45:44 -04:00
Sam Wilson 6175e2c519 Add nicer realtime preview error messages
Add a new ErrorLayout to display error messages along with an
image.

Bug: T303383
Change-Id: I1ec27a212b5ab67d3e805c0d7756432850de89ea
2022-03-24 14:56:19 +08:00
Sam Wilson 411be83bc3 Add toggle button and two-pane layout for realtime preview
* Toolbar button to toggle a two-pane layout on and off.
* Resizable bar for the width of the two panes.
* Resizable bar for the edit box height, even when realtime preview is off.
* Only enabled when $wgWikiEditorRealtimePreview = true.
* Fires JS hooks when enabled, resized, and disabled.

Bug: T293347
Change-Id: Id09d44519249c0b7f5c33d48d524b7c92a5a9106
2022-03-13 07:28:01 +08:00
Sam Wilson 2aa9e1d298 Remove unused messages and commented-out code
It looks like `wikieditor-loading` was already commented out in 2010:
9d278e8dee%5E!/#F114
and I couldn't find any usage of `wikieditor-toolbar-loading`.

Change-Id: I07988643ca502dcbd7c3208fb803a84003947d5e
2022-03-02 02:40:05 +00:00
Translation updater bot 05eabda0f7 Localisation updates from https://translatewiki.net.
Change-Id: I4ab02239aec3dd1ee6dd4149aa79e22f2e5629a8
2022-02-08 08:29:11 +01:00
Ed Sanders b4f144057e Tag WikiEditor edits with a hidden tag
Bug: T249038
Change-Id: Ia4267bc430ba0f12cce496ebf6f8c1773ae355a6
2021-12-07 23:30:27 +00:00
Sam Wilson 79a0d3040e Disable link-insert button if target is empty
Set the opening state of the insertion button (in the insert-link
dialog) to disabled, and also disable it whenever the target field
is empty. This makes it unneccessary to show an alert when trying
to insert a blank target so that code is removed.

Bug: T293167
Change-Id: I3541f438fad9b7e0bf23ead2f2e164e84565d254
2021-11-26 12:45:48 +08:00
Translation updater bot 2e99579930 Localisation updates from https://translatewiki.net.
Change-Id: I5b068748310886e4fae1044170b77542ef6ec290
2021-11-17 08:31:11 +01:00
Translation updater bot 819297f7d8 Localisation updates from https://translatewiki.net.
Change-Id: I192be2b12cdf34d6a6f243ec048d25d63f54affe
2021-11-02 08:07:44 +01:00
Translation updater bot d7ad7dbec0 Localisation updates from https://translatewiki.net.
Change-Id: I0a5cc18d2f9cea7df5589a1ab6833ab928dd85f1
2021-03-01 08:54:12 +01:00
Translation updater bot 2aca3fbac9 Localisation updates from https://translatewiki.net.
Change-Id: I5ad70a3b23a2e072f4dda33b37eabff7a9f7938d
2021-01-25 08:55:15 +01:00
Ammar Abdulhamid ab287ade14 Allow specifying alt-text in File dialog
* Also add expandable help message to explain the alt text field

Bug: T260006
Change-Id: If16ff742d7a8dee4917884e73e9c95bf76350773
2021-01-22 21:37:17 +01:00
Translation updater bot 3206a13f5f Localisation updates from https://translatewiki.net.
Change-Id: I50a0d86574ba7e1857a35e4158730aa3db80d0aa
2020-11-02 08:54:21 +01:00
Translation updater bot f0926862aa Localisation updates from https://translatewiki.net.
Change-Id: I778ee3493acd7311672550f3c0c06529d8e700e8
2020-08-17 08:45:07 +02:00
jenkins-bot 38cc6f1f3f Merge "Add caption when inserting table" 2020-06-17 11:55:00 +00:00
Translation updater bot 299b0bc39a Localisation updates from https://translatewiki.net.
Change-Id: I91eb4067f4f054770a8d43407fba6b35d23937ce
2020-06-16 08:36:00 +02:00
pcoombe a822d1c197 Add caption when inserting table
Data tables should always include a caption for accessibility reasons.
So add a placeholder caption when using the "insert table" button.

Bug: T252350
Change-Id: I6773e2274007946de516ae34e841f66ad20ebc0c
2020-05-11 11:09:23 +01:00
Translation updater bot 399e7ef303 Localisation updates from https://translatewiki.net.
Change-Id: I18d2a6a58ca1bc94e53ccadb17680fbacbf22b82
2020-04-07 08:53:03 +02:00
Translation updater bot a644d7d4ba Localisation updates from https://translatewiki.net.
Change-Id: Icdc12f5152d4e76ba6a989ddda8f3d043582e8b6
2019-10-21 10:01:17 +02:00
Translation updater bot 774d3422f3 Localisation updates from https://translatewiki.net.
Change-Id: I47fb3443efb355d00a7d6146174cb201b9daeedd
2019-07-12 08:45:06 +02:00
Translation updater bot f7b26e9d65 Localisation updates from https://translatewiki.net.
Change-Id: I4430aad74b1c28cc3df66019507d0632038ba27d
2019-05-20 22:31:35 +02:00
Derk-Jan Hartman f501cdc9c6 Search: Add option to search whole words
Bug: T24478
Change-Id: Idb47ac392b0f8b1425053c6916db8f25c11c9762
2019-05-15 22:03:54 +02:00
Translation updater bot eb71e7c026 Localisation updates from https://translatewiki.net.
Change-Id: I021981afc29ddb971e289fd170482b2465415fc0
2018-11-08 22:18:18 +01:00
Translation updater bot 2715bb64a7 Localisation updates from https://translatewiki.net.
Change-Id: I26e5719493381e4bc531e8f513d1f26b09c26c25
2018-11-07 22:22:38 +01:00
James D. Forrester 169d38fa75 Re-label preference now that the 2006 wikitext editor doesn't exist
Add the secondary label in a 'help' note to make it easier to identify
the different editors.

Bug: T32795
Change-Id: I6d17359166f58811ba99893ce4a4500a87deb827
2018-10-25 14:33:31 -07:00
Translation updater bot 985e37e272 Localisation updates from https://translatewiki.net.
Change-Id: I420b8f686fb55555721236c1056b40363a3e4cfc
2018-02-13 22:25:56 +01:00
Translation updater bot fac2641067 Localisation updates from https://translatewiki.net.
Change-Id: Idc290091893ab529935991be48ec326a7e47d99f
2018-01-14 22:17:19 +01:00
James D. Forrester be36244c70 Radically simplify this extension now there's only one config option
On or off. Pick your apples.

Change-Id: I7677f0b597c33f236192aea1aaa347a36216fbb7
2018-01-02 21:25:16 +00:00
James D. Forrester 77cea2697c Drop the never-finished "Labs" publish and preview features
These features were ideas in the Usability Initiative but were never
finished to the level that they would be deployed on Wikimedia wikis
and have been marked as "going to be removed" for years. Now is time
to act on that promise.

Change-Id: Ia1eb91d2dfb1979518d97badc1477146b4606f7c
2018-01-02 21:00:44 +00:00
Translation updater bot 12a1732d9d Localisation updates from https://translatewiki.net.
Change-Id: Iad295b3ef5bc997b7f619053a750ffea92221d01
2017-12-10 22:33:31 +01:00
Translation updater bot 8fb7db4a91 Localisation updates from https://translatewiki.net.
Change-Id: Ie00bf00ee13bba080e3b2e71908126760726b825
2017-06-25 23:22:53 +02:00
Ed Sanders 781504057a Make toolbar and dialog part of the core module
Bug: T163793
Change-Id: Ia6d02b51d4e04f148d836827640ff132366c4bee
2017-05-03 11:54:23 -07:00
Translation updater bot 15911f95ef Localisation updates from https://translatewiki.net.
Change-Id: I4ecd0b887f557ba3df1d3e6a04790c10a171cef7
2015-12-30 21:47:09 +01:00
Derk-Jan Hartman 95ab425166 Remove non-working {{#special:mypage}} from help
Bug: T44107
Change-Id: Iff987eddfb1fbe6a6ce1c88795b9dc1fd5b47f9e
2015-12-25 20:28:43 +00:00
Translation updater bot 9d48756847 Localisation updates from https://translatewiki.net.
Change-Id: Iaaf5cca69584925f848e95dfc21282d0c468050b
2015-10-25 22:09:24 +01:00
Prateek Saxena 5ea5952cd1 Use mw.Upload.Dialog to upload and insert file
Bug: T115748
Change-Id: I2427cd959f0d9b6872866e120e7bd0e7e298ec27
2015-10-23 16:54:24 +00:00
Translation updater bot aafca692a6 Localisation updates from https://translatewiki.net.
Change-Id: I50d74f796afb76e2a7311871f0bbec906c8b083d
2015-08-17 21:15:04 +02:00
This, that and the other 52d3e279a1 Replace hidesig module with a more robust implementation
Per T42972, the current hidesig implementation is broken, and only
hides the signature button in namespace 0 regardless of the value of
$wgContentNamespaces.

Seeing as the old implementation of hidesig was broken, I don't really
think backward compatibility with old configurations is a useful
concern here. In particular, hiding of the signature button is no longer
able to be configured in Special:Preferences (why such a trivial pref was
ever able to be exposed to users, I don't know).

Bug: T59727
Change-Id: I596fd435bc9be8c37da43177c1bea90ebff0b2fe
2015-08-05 13:59:00 +10:00
Translation updater bot a6d0b4e395 Localisation updates from https://translatewiki.net.
Change-Id: Ia9975e7879104610ec80c7118ce10cd626eaa394
2015-07-22 22:18:54 +02:00
Schnark 27353c44b7 WikiEditor: Improve help section
* Internal links: Show simple example first
* References: Show use of unnamed references
* Discussion: Use --~~~~ for consistency with what the toolbar button inserts

Bug: T26128
Change-Id: I08de0ad416727447eccad914c2ade3a93e5a8ae2
2015-07-20 07:42:35 +00:00
Translation updater bot 69ee5e18af Localisation updates from https://translatewiki.net.
Change-Id: I6c008413b9288d6ae2cad8f2032a970f21ff3564
2015-06-21 20:07:48 +02:00
Translation updater bot 3b9d915db5 Localisation updates from https://translatewiki.net.
Change-Id: I5a490224b231dcc8287f5ef3b72d960fef1e3e25
2015-04-15 23:44:17 +02:00
Translation updater bot 6d93515751 Localisation updates from https://translatewiki.net.
Change-Id: I314e555cd099e2768163fad088ef9c1ca283c659
2015-04-12 21:59:11 +02:00