Commit graph

817 commits

Author SHA1 Message Date
jenkins-bot bc0f405317 Merge "NWE: Always paste rich text as plain, and show context item to convert" 2021-06-03 18:15:59 +00:00
Translation updater bot 10c84cbf34 Localisation updates from https://translatewiki.net.
Change-Id: I969f946dcaa771f76cdd829618797c8b329e1772
2021-06-02 14:36:10 +02:00
Adam Wight d4eee82701 Update template dialog titles: Insert/Edit
Toggle depending on whether the transclusion existed or is new.

Bug: T276568
Change-Id: Ib9b76cac7cd57245e8db2ef10879069a86a6269e
2021-06-02 12:36:38 +02:00
jenkins-bot 7fe5b6a433 Merge "Template dialog button title toggles between Insert/Edit" 2021-06-02 10:34:53 +00:00
Adam Wight c49478de60 Template dialog button title toggles between Insert/Edit
Depends on whether this is a new or existing template transclusion.

Split from Ib9b76cac7cd57245e8db2ef10879069a86a6269e

Bug: T276568
Change-Id: I4d22e32fef067b640e9a9389deffaace736c3405
2021-06-02 12:00:15 +02:00
jenkins-bot fa94c27a8d Merge "Change header titles in the template dialog" 2021-06-02 09:05:04 +00:00
WMDE-Fisch 58cf1b0344 Change header titles in the template dialog
Bug: T276568
Change-Id: I5da40032c5b83d04ae92e86372c445d7a28d0444
2021-06-02 08:48:07 +00:00
Translation updater bot 42b9c3b21d Localisation updates from https://translatewiki.net.
Change-Id: I85ea58c251fb06e30033d44dd5a68b1e9c3dcce4
2021-06-01 08:36:49 +02:00
Translation updater bot f3757befa7 Localisation updates from https://translatewiki.net.
Change-Id: I54df46dce949f7b87de42e6b565e966db5468dd4
2021-05-31 08:33:30 +02:00
Translation updater bot 4501463edc Localisation updates from https://translatewiki.net.
Change-Id: I200dc14379a07bbe6eadd7b961270f209df4b5e9
2021-05-28 09:08:30 +02:00
Translation updater bot a0d6ce660a Localisation updates from https://translatewiki.net.
Change-Id: Id40992cdf67131ae02a30f15ac1c50c437f5f017
2021-05-27 14:07:41 +02:00
Translation updater bot 0354c656b7 Localisation updates from https://translatewiki.net.
Change-Id: Ie31b51461b4b5d2949da3a0c351086ca78d4db63
2021-05-27 12:06:35 +02:00
WMDE-Fisch f9c685c6f0 Improve wording around transclusion cancel
Bug: T272355
Change-Id: Id0a622eabdf44965ac6b7648152993777692a4f7
2021-05-26 08:02:11 +00:00
Translation updater bot e2c4fcf4c9 Localisation updates from https://translatewiki.net.
Change-Id: I26fd7fdf1d943838aa9457b377ba3a062b931731
2021-05-26 09:06:09 +02:00
Translation updater bot 76d961f9ce Localisation updates from https://translatewiki.net.
Change-Id: I60a830547b7fd96d356a5b43fa85d89c52b02d4a
2021-05-25 08:54:40 +02:00
Translation updater bot 31e883c07f Localisation updates from https://translatewiki.net.
Change-Id: I0648c6030d181236092d9e7306da820fe3c03bc5
2021-05-24 09:56:01 +02:00
Translation updater bot 873f8203fc Localisation updates from https://translatewiki.net.
Change-Id: Ief871354eb9dd8c7c40cf093c7948dde70bf2288
2021-05-21 12:10:43 +02:00
jenkins-bot 4f0c564fbc Merge "Remove empty translations that cause CI errors" 2021-05-21 09:23:01 +00:00
Thiemo Kreuz (WMDE) dab0f32cef Remove empty translations that cause CI errors
This reverts parts of commit
b72459409c.

Reason for revert: A user emptied several translations,
causing CI errors. The bogus edits are already reverted on
translatewiki.net.

Change-Id: I6600cb901953f99d363e14d2f41978ce9a447658
2021-05-21 11:03:48 +02:00
Translation updater bot 1811893632 Localisation updates from https://translatewiki.net.
Change-Id: Ib05124e2d7e1d387b94227db2e75cd0af7933610
2021-05-21 08:34:55 +02:00
Translation updater bot b72459409c Localisation updates from https://translatewiki.net.
Change-Id: I33b268a7bc43a75eb77455b1d82ae1b83fc6d69b
2021-05-20 09:11:55 +02:00
Translation updater bot ded166fdfd Localisation updates from https://translatewiki.net.
Change-Id: Ib0bf518f5134037f485566f0da86844cc70e94d5
2021-05-19 08:44:42 +02:00
Translation updater bot 04e468e5d3 Localisation updates from https://translatewiki.net.
Change-Id: I1772bfc3d8a05789bf5126180a7a8bd81960c321
2021-05-18 08:48:10 +02:00
Andrew Kostka b2aa35a90a Show a warning before resetting the transclusion dialog
Bug: T272355
Change-Id: Id97190a149ed7642eda82300eeee623e0debf528
2021-05-17 13:27:37 +02:00
Translation updater bot 9ff35ae7c9 Localisation updates from https://translatewiki.net.
Change-Id: I70a074440574e9d28c2b1b2722e7d11a3b91fb37
2021-05-17 08:44:17 +02:00
Translation updater bot c35c2bb022 Localisation updates from https://translatewiki.net.
Change-Id: I23d807cbf884e0c72acfdd28b757bb1e50615920
2021-05-14 08:45:57 +02:00
Ed Sanders ea9ea1d17f NWE: Always paste rich text as plain, and show context item to convert
Bug: T282789
Change-Id: I1bc32c9e16140190baef9bcb08d49b4b21896883
2021-05-13 15:56:19 +01:00
Translation updater bot c34f64ba04 Localisation updates from https://translatewiki.net.
Change-Id: I4b8eb213599997af1cfe70ff0c3a2398363f4ec3
2021-05-12 09:23:45 +02:00
Translation updater bot 03c277e96a Localisation updates from https://translatewiki.net.
Change-Id: I0e8507be3cf38c993020e5ea05144b6a53eeba33
2021-05-11 09:08:30 +02:00
WMDE-Fisch 3b38ecf690 Use sentence case for template search label
Bug: T277028
Change-Id: I4be6ab078053a50d33a6d67f7b5702d4051d4ef1
2021-05-10 17:34:39 +02:00
Adam Wight f89301bedf Optional verbose template search
Renames "Add a template" to "Template Search" in most cases and
provides inline help for the workflow.

Bug: T277028
Change-Id: I3fee87cb89b5044e785596e71ef3f1a18f2694ce
2021-05-10 12:45:12 +00:00
Andrew Kostka c1d36072ea Add collapsible descriptions to the transclusion dialog
Bug: T273426
Change-Id: I793a66f5c5877451b70058e9388dd86b3fcaadd7
2021-05-10 11:18:17 +00:00
Translation updater bot 752cc487e2 Localisation updates from https://translatewiki.net.
Change-Id: Ie07dc3f2354dadbb464c60706a11c8339c1653e4
2021-05-10 08:54:22 +02:00
Translation updater bot 39dea795d9 Localisation updates from https://translatewiki.net.
Change-Id: I59dd6fb5c903595e0995998bd0e290c6ac14ca83
2021-05-07 08:43:59 +02:00
jenkins-bot 5d1e79630f Merge "Introduce VisualEditorApiVisualEditorPostSaveHook" 2021-05-06 17:57:38 +00:00
Translation updater bot 856ed66544 Localisation updates from https://translatewiki.net.
Change-Id: Id188839d03f008d4e10da82af1e6ba973cc51c2e
2021-05-06 08:55:21 +02:00
Translation updater bot 06df721657 Localisation updates from https://translatewiki.net.
Change-Id: I836cf1089d1f9cccff43885b78f4afb02830b1a7
2021-05-05 08:39:34 +02:00
Translation updater bot 613bc9d4fb Localisation updates from https://translatewiki.net.
Change-Id: Id9101c7eb9a10e9753550bca1b774b5345c15c1b
2021-05-04 08:53:27 +02:00
Translation updater bot ee2f55d14d Localisation updates from https://translatewiki.net.
Change-Id: I63d01d86369e3e3bd292df0114bc1a6bf7e3b35f
2021-05-03 08:38:34 +02:00
Kosta Harlan f035ce51f1 Introduce VisualEditorApiVisualEditorPostSaveHook
What:

Add hook that runs after a save attempt is made in ApiVisualEditorEdit.
The hook receives the same data available in ApiVisualEditorEdit, and
implementations of the hook can modify the API response.

Also introduce templated
parameters (https://www.mediawiki.org/wiki/API:Templated_parameters) in
the API parameters; this allows plugins to pass arbitrary data along
with their request using e.g. plugins=linkrecommendation&data-linkrecommendation=foo

Add ServiceWiring files, a PHP namespace, and a HookRunner class to
support the above changes.

Why:

VE plugins may wish to send additional data when saving an edit and take
action based on that data on the server-side. See for example the
AddLink plugin in I7a052f8e which sends annotation data, and then uses
the new hook to perform a database operation.

Change-Id: I392691475fbdcec766acbd832600e82efcb5bfe8
2021-04-30 20:50:01 +02:00
Translation updater bot b9d9c8564d Localisation updates from https://translatewiki.net.
Change-Id: Ic3837bc7681d0a8f2256accac18301ec6df9037e
2021-04-29 08:55:03 +02:00
Translation updater bot d54b3ccb77 Localisation updates from https://translatewiki.net.
Change-Id: Id6902000bebb90d023ca6cb473dda817134922da
2021-04-28 16:43:23 +02:00
Translation updater bot c00ab89290 Localisation updates from https://translatewiki.net.
Change-Id: I51e9f87c36f0af58d209be0114ea47e844d7afdd
2021-04-28 08:49:54 +02:00
Translation updater bot 2300a77001 Localisation updates from https://translatewiki.net.
Change-Id: Ied8256afbb54cfdd85dbf5ba82b7d577e493f6cc
2021-04-27 08:39:10 +02:00
Translation updater bot 51cedeb9de Localisation updates from https://translatewiki.net.
Change-Id: Ibed58b3fe62a6329f7ea50e864902ad84ecae376
2021-04-26 08:58:24 +02:00
Translation updater bot 788b168073 Localisation updates from https://translatewiki.net.
Change-Id: Icefa5c0035c1f39e9c63d54f15dce401e317d323
2021-04-23 08:37:42 +02:00
Translation updater bot 41153a73b1 Localisation updates from https://translatewiki.net.
Change-Id: Ic5281dff4b47a56c93bb406e2499372565d287bb
2021-04-22 09:32:36 +02:00
Translation updater bot 8a1b127cae Localisation updates from https://translatewiki.net.
Change-Id: Ia0d5f37678266c4204469b01ba23ea6a000fd5e7
2021-04-21 08:53:33 +02:00
WMDE-Fisch 2920c68adf Use verbose label for the example
Bug: T273425
Change-Id: Ia56aa35f98f31859e48781848b7481ebd5e2bd1c
2021-04-20 10:34:52 +00:00
Translation updater bot 6ccda1d394 Localisation updates from https://translatewiki.net.
Change-Id: I03dcffff87e1086b007baeca2d4ae59b793236c1
2021-04-20 08:48:51 +02:00