Commit graph

2302 commits

Author SHA1 Message Date
Translation updater bot 5447a0be4a Localisation updates from https://translatewiki.net.
Change-Id: Id12e7c05b040847aa944ebd7c6ed50e320eaaecc
2022-12-05 08:34:30 +01:00
Translation updater bot 1023c3b6d7 Localisation updates from https://translatewiki.net.
Change-Id: Icac1790074d953f708f4bf10bb9277b02ae859b4
2022-12-01 08:16:51 +01:00
Translation updater bot 0f08ad71ef Localisation updates from https://translatewiki.net.
Change-Id: Ia33f7b6b76f27a30847e1491fb28e5bcf898cc50
2022-11-30 08:53:30 +01:00
Translation updater bot 3045f0d20f Localisation updates from https://translatewiki.net.
Change-Id: I833544e05f728c44fe1309260b8c9b6b91e99f9b
2022-11-29 08:59:22 +01:00
Translation updater bot 73a5daaec2 Localisation updates from https://translatewiki.net.
Change-Id: I6657f6fdc873ececb04e1208be8afce507a03188
2022-11-28 08:50:22 +01:00
Translation updater bot a21beea765 Localisation updates from https://translatewiki.net.
Change-Id: I27799f2b03cc214b95fba58d792a3a5ec3f59309
2022-11-24 08:18:20 +01:00
Translation updater bot fdac4fc38d Localisation updates from https://translatewiki.net.
Change-Id: I47a427206b28d962600d793009122eab3073b0b6
2022-11-22 08:34:41 +01:00
jenkins-bot 88ef4aca7f Merge "build: Updating dependencies" 2022-11-17 19:31:02 +00:00
Translation updater bot cc335e5e62 Localisation updates from https://translatewiki.net.
Change-Id: I1c3903be2add2e3f76cc6744ee997a76e8f2ec11
2022-11-17 08:28:01 +01:00
libraryupgrader 5d79e1a3af build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 40.0.1

npm:
* stylelint-config-wikimedia: 0.13.0 → 0.13.1

Change-Id: I7099c88e4fddd44321d0d81e7db08a41245b599b
2022-11-16 23:25:35 +00:00
Translation updater bot 5c9afd7601 Localisation updates from https://translatewiki.net.
Change-Id: I9e3af9c19cda0bb4788d9b9f32e29e0f8827bcee
2022-11-14 08:11:17 +01:00
Translation updater bot 7f2843a4a3 Localisation updates from https://translatewiki.net.
Change-Id: I0718b3a62411c5d55134a87d08ebd0bd6f574974
2022-11-11 08:42:24 +01:00
Translation updater bot bf6787139b Localisation updates from https://translatewiki.net.
Change-Id: I6d7e3a11b1e78047603e2c16d3e72d8a0973676c
2022-11-10 08:12:51 +01:00
Ed Sanders 678d95251b Add an "Edit template data" button to the TemplateData output
This button, similar to an edit-section link, will launch the editor
and immediately open the TemplateDataGenerator UI.

Bug: T316759
Depends-On: Idb5e3c51a22361e0d9916d3c31444daeff310ed2
Change-Id: Ieb575c499c16d87c28972a55662ef0bd9cb72c06
2022-11-08 13:36:38 +00:00
Translation updater bot 1a7fbd34e1 Localisation updates from https://translatewiki.net.
Change-Id: Iba07198ef83a1f77e3b08b0a08389a30c4fd3613
2022-11-08 08:21:37 +01:00
Translation updater bot ef1bd70e26 Localisation updates from https://translatewiki.net.
Change-Id: I4e47d21e04a15f8140d1290304187d273634dc40
2022-11-07 08:35:58 +01:00
Translation updater bot 549d5d51d1 Localisation updates from https://translatewiki.net.
Change-Id: I851b73953fbe5fe110a8d91f81d159a67b8186ae
2022-11-04 09:04:04 +01:00
Translation updater bot 1fa6f6c83a Localisation updates from https://translatewiki.net.
Change-Id: I5adcf45309f484c67e67dde546df646a3ea50287
2022-11-02 08:38:56 +01:00
Translation updater bot c9c2e619a9 Localisation updates from https://translatewiki.net.
Change-Id: Id942c015179711bd86e5936491b92e83f84ff835
2022-10-31 09:46:58 +01:00
Translation updater bot a100b38ea8 Localisation updates from https://translatewiki.net.
Change-Id: I25ecc5ba58296d5f4f5ca103ee689bdecb107d1e
2022-10-27 08:56:07 +02:00
Translation updater bot be08f3e5b8 Localisation updates from https://translatewiki.net.
Change-Id: Ieddd85e7848fb0a3e2157b380ca5ea1b8224afbe
2022-10-26 08:20:13 +02:00
jenkins-bot 7ceaff38da Merge "build: Updating minimatch to 3.0.8" 2022-10-24 20:53:37 +00:00
Translation updater bot 793b2c3b7c Localisation updates from https://translatewiki.net.
Change-Id: Ie2157961c9562f6209f99a82bb1ac49b0e329c7e
2022-10-24 08:23:43 +02:00
libraryupgrader 4676ab2bf4 build: Updating minimatch to 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: I940eb4789fe180a2985cec89fb6579fe9309c168
2022-10-21 20:16:24 +00:00
Translation updater bot 00f2673dd8 Localisation updates from https://translatewiki.net.
Change-Id: Ib3ddbc394df160c618cc9ca48cbe127f7eb6667e
2022-10-19 08:20:56 +02:00
Translation updater bot 29cac3d4c5 Localisation updates from https://translatewiki.net.
Change-Id: Ic3c828fa867aa473577067a26dab04ca8bf6a61e
2022-10-17 08:22:37 +02:00
Translation updater bot 310f4cc159 Localisation updates from https://translatewiki.net.
Change-Id: I72c56abd0869b1de85a7cbf026e7dda077447039
2022-10-14 08:43:07 +02:00
Translation updater bot c5aaf84bc6 Localisation updates from https://translatewiki.net.
Change-Id: I62f351c21d6f07fdcd61f2c70d8cb03468a7aed6
2022-10-13 08:09:53 +02:00
Translation updater bot ce672c125e Localisation updates from https://translatewiki.net.
Change-Id: I0e96947bd6a6e399e0e642946317d90ed0a26433
2022-10-10 10:21:23 +02:00
libraryupgrader ca32a8ced1 build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: If6ebb246effabc99b7d72a336bacee65c54b5c67
2022-10-09 15:42:03 +00:00
libraryupgrader 5037d38ac9 build: Updating grunt-banana-checker to 0.10.0
Change-Id: Iba9b753eca91a4b6d605d0a95ea85c3089e02cd7
2022-10-07 07:29:59 +00:00
Translation updater bot 21b41bfa2c Localisation updates from https://translatewiki.net.
Change-Id: Ie7e710a2e95a9e7d76d59e48c081646ff25d9d89
2022-10-05 08:25:17 +02:00
Translation updater bot 7681cd59b8 Localisation updates from https://translatewiki.net.
Change-Id: I5b24c39690bc8cf334e52d796137df45b345b25c
2022-10-04 08:30:13 +02:00
Ed Sanders 458bd2e0ca Fix typo in templatedata-desc
Bug: T319196
Change-Id: I1519d22a732566c5dd67a942c1affc0325ed78c9
2022-10-03 15:02:48 +02:00
Translation updater bot efb818d23a Localisation updates from https://translatewiki.net.
Change-Id: I77f49de4bbbba562d50504768791bff8544d58b1
2022-10-03 09:46:33 +02:00
Translation updater bot 5e776926a4 Localisation updates from https://translatewiki.net.
Change-Id: Ie33589a6c2386d6e0fd6cce0716cc2a02b4e3ad1
2022-09-30 08:54:59 +02:00
Translation updater bot 94884c9e0e Localisation updates from https://translatewiki.net.
Change-Id: Ia2fea7d5261fd905f99883d4f46eb3153e570a96
2022-09-29 08:28:17 +02:00
Translation updater bot cd2b3f14d7 Localisation updates from https://translatewiki.net.
Change-Id: Iacabc874036470a8abc36c9bdf0ddf27ae08d6d5
2022-09-28 08:22:56 +02:00
Ed Sanders fb70bf74b4 Use "Edit" for the edit button
We probably used "edit" as strictly speaking it could be "edit"
or "create", and it's hard to tell which will happen before
inspecting the content.

However "manage" is a poor alternative and not a verb we use
anywhere else. "Edit" argualby covers "create" as well, and will
be much more familiar to users.

Bug: T317468
Change-Id: Ia0b5da50fc87bd250e85faf29613a6f97ca36459
2022-09-27 16:04:17 +02:00
jenkins-bot ec1c49ca46 Merge "De-brand TemplateData" 2022-09-27 13:26:24 +00:00
jenkins-bot c4598c30d9 Merge "Fix broken comparison when editing the template description" 2022-09-27 08:16:38 +00:00
Translation updater bot 227287114a Localisation updates from https://translatewiki.net.
Change-Id: Ic1ac1ebe512784246be76f348bc6251c1bcbfc3d
2022-09-26 08:16:27 +02:00
Ed Sanders bce6519fe0 De-brand TemplateData
Following examples such as "VisuaEditor" -> "the visual editor"
and "Flow" -> "structured discussions", exposing the "brand" name
of the extension to users is no longer consider best practice.

Instead refer to it simply as "template data".

Bug: T317468
Change-Id: I969ddb013f9b51de8c222bff4e4c5104c5a0ee0f
2022-09-24 09:59:09 +00:00
thiemowmde 393abe846d Add missing dependency on mediawiki.user
The Metrics.js script needs this, but the dependency is not specified
anywhere. This "accidentially" works because it's rather common that
the module is required by some other code on the page. I just found a
combination where this is not the case (a blank MediaWiki installation
with nothing but TemplateData, not even the WikiEditor).

Change-Id: I97a7c1d227316a222d7ca54adb400aa8dd769047
2022-09-23 21:43:02 +02:00
Thiemo Kreuz 685363d947 Set focus to first input field on all panels
* This is most notably when adding a new parameter. The cursor should
  start in the input field.
* Focus the first input field when editing a parameter, whatever that
  input field is.
* Focus the big JSON editor when editing a map.

Change-Id: I5a3df626810007e83bd2300b540df75bc1b8cac4
2022-09-23 11:20:45 +02:00
Thiemo Kreuz 4790aaed4e Inline some trivial single-use variables
There is sometimes a good reason to arrange code like this, especially
when the additional variable name acts as documentation and helps
explaining what's going on. I think this is not the case here.

Change-Id: I46f4a18a4f78f4b03cf063a226de3f43ba13b1a2
2022-09-23 10:35:03 +02:00
Thiemo Kreuz 2d55ab3e68 Simplify some overly complex comparisons with undefined
The short `|| defaultValue` pattern is very common in JavaScript.
Note that in JavaScript – in contrast to PHP – empty arrays and
objects are not considered "falsy".

Change-Id: I97935c4dc2276d48d53ade3f7b4fdc28b62d89ba
2022-09-23 10:31:19 +02:00
Thiemo Kreuz 61dce0bf00 Fix copy paste mistakes and outdated code documentation
This patch intentionally doesn't touch any code to make it as easy
to review as possible.

Change-Id: I3089bd09f38b3aaa6424e7e263d514625f63f9f1
2022-09-23 10:28:12 +02:00
Thiemo Kreuz 17d6c485bb Fix broken comparison when editing the template description
This was always comparing with the English description. The effect of
this was that the comparison was always false and the value always
set, even if it didn't change, resulting in unnecessary events being
fired. So this is only about performance but not really user facing.

Change-Id: Id7a46dbac81e2595478848bbf325eece21815bec
2022-09-23 10:25:09 +02:00
Translation updater bot f79db7eddd Localisation updates from https://translatewiki.net.
Change-Id: Ic39a9ac6fa73f2f9f9ea986fdcce16cbe85be383
2022-09-22 08:47:24 +02:00