Commit graph

1144 commits

Author SHA1 Message Date
jenkins-bot 9ec8a68891 Merge "Link to a list of keyboard shortcuts from the template help dialog" 2022-01-21 18:28:30 +00:00
Andrew Kostka eaa438abcb Link to a list of keyboard shortcuts from the template help dialog
Bug: T299487
Change-Id: Ieef99eeb9c43817981e2ae5b5340a58c2aca4920
2022-01-21 17:24:34 +01:00
WMDE-Fisch cede096333 Update accept button in confirmation dialog
The only places where this dialog is used now will have the same
button labels and format. We want to use "normal" destructive here
so no additional "primary" styling.

It seems that the focus on the action will only be applied
automatically when it is primary. So extra code is needed.

Bug: T299647
Change-Id: Ib5250b79e85d27ea197b83c6380863d0749e5d89
2022-01-21 15:32:58 +00:00
Andrew Kostka d4fff29148 Update the context menu title for multipart templates
Bug: T299495
Change-Id: I082a4e925c15ba5966a575127046e33f2fc3f62a
2022-01-21 11:51:31 +01:00
Translation updater bot ea10515f4d Localisation updates from https://translatewiki.net.
Change-Id: I26dadd1bce150d09933d1ce52966d84ee1b36482
2022-01-21 08:14:38 +01:00
jenkins-bot 835464802a Merge "Disable edit button while loading template dialog" 2022-01-20 13:50:51 +00:00
Translation updater bot 1e399587e2 Localisation updates from https://translatewiki.net.
Change-Id: I04c6ad88c97b24ff40bbd7ac42b5303ce3ce24c7
2022-01-20 09:18:21 +01:00
Translation updater bot bf3c77f909 Localisation updates from https://translatewiki.net.
Change-Id: Id9e71e3776f034588593661e71c28db1c134bf2c
2022-01-19 08:24:36 +01:00
Thiemo Kreuz 33a2f21589 Disable edit button while loading template dialog
Bug: T297773
Change-Id: I51fc0af4c3b29fd0801fc06a1dc07ad3fd7f1da3
2022-01-18 12:29:27 +00:00
Translation updater bot 16257eb72a Localisation updates from https://translatewiki.net.
Change-Id: Iff81b77eeea259df00c0a4b541b70ca2b1d9782b
2022-01-18 08:11:32 +01:00
Translation updater bot 0ec4a5a291 Localisation updates from https://translatewiki.net.
Change-Id: I4cad34e72516a7e42081bcbee54ce6f280827368
2022-01-17 08:13:23 +01:00
jenkins-bot 2819958a8a Merge "Add button to sidebar to hide/show unused fields" 2022-01-14 11:35:19 +00:00
WMDE-Fisch 20435b319c Add button to sidebar to hide/show unused fields
Bug: T298259
Change-Id: I8e5091b97dfb19eba981b2a919b82b6f14823990
2022-01-14 11:09:04 +00:00
Translation updater bot 4e27b5c540 Localisation updates from https://translatewiki.net.
Change-Id: I7ee1d5b5a211cb2310b84abf89d9084846963d73
2022-01-14 08:16:57 +01:00
Adam Wight 7264e2ee42 Change confirmation-reject text for consistency
Use the same language as the core `mw-widgets-abandonedit-keep`
message.

Bug: T297792
Change-Id: I64f72bbd3a7656b0b677856f0bbd3cb4b342a614
2022-01-13 10:59:21 +01:00
Translation updater bot 0c84e59fef Localisation updates from https://translatewiki.net.
Change-Id: If31984657362a4461155816a90ad16e91fb599e2
2022-01-13 08:27:35 +01:00
Adam Wight 587ba4c662 Confirm before closing template dialog
Reuse the back button confirmation dialog for the close button.  The
condition is slightly different: need confirmation if there are any
manually-entered values for any parameter AND the user has edited
the template in this session.

The "reset" action was synthetic, only used internally and not
connected to buttons or menus.  Canonically, action='' is the close
action for OOUI.

Bug: T297792
Change-Id: I4ff644c7ab24ed9ba1a4c27d762563c5d6771cfc
2022-01-12 10:47:21 +01:00
Translation updater bot 328763526e Localisation updates from https://translatewiki.net.
Change-Id: Idf59385ca3e56b7144b3314d7ecfee927a9cc12b
2022-01-12 08:25:52 +01:00
Adam Wight cbe2fd634f Replace confirmation overlay with a popup dialog
Currently, the insert template dialog includes a back button in the
upper corner.  Confirmation of abandoning unsaved changes was
accomplished in an overlay panel.  This patch rewrites as a dialog
and updates the on-screen text.

Bug: T297792
Change-Id: Ifa2ff97c9284609ee2a784f455789c56a762ba50
2022-01-11 18:37:29 +01:00
Translation updater bot f9bf7d36fa Localisation updates from https://translatewiki.net.
Change-Id: Iec7d3662ebff654a024c55f8cbc4806068c70dd6
2022-01-10 08:11:59 +01:00
Translation updater bot a422bc28a4 Localisation updates from https://translatewiki.net.
Change-Id: I1e0bd111f2038088c893314f1e9af1bf53832f4b
2022-01-07 08:25:40 +01:00
Translation updater bot 0521c5e540 Localisation updates from https://translatewiki.net.
Change-Id: I69bb987b0aa7ddb2677f93eb75b22e36c81ce7a3
2022-01-06 08:32:20 +01:00
Translation updater bot 77e6242d85 Localisation updates from https://translatewiki.net.
Change-Id: I7091f85c6babfd867d1d94c2fb4278bd2e652296
2022-01-05 08:16:37 +01:00
Translation updater bot 1139a77734 Localisation updates from https://translatewiki.net.
Change-Id: I4d2420846da93f2a8923b9dc5bd3914c71df3bd5
2022-01-03 08:11:54 +01:00
Translation updater bot e2373154d3 Localisation updates from https://translatewiki.net.
Change-Id: I83f3d9c3d4fd3f1395448854c1eeca1914679e43
2021-12-31 09:42:29 +01:00
Translation updater bot 053b3a2b70 Localisation updates from https://translatewiki.net.
Change-Id: I6f8f1f0d1fa9d9fbf5dbb71d8002a1577b43d8df
2021-12-30 09:38:19 +01:00
Translation updater bot 1bf508e2ca Localisation updates from https://translatewiki.net.
Change-Id: Iab9a565ab972b74d2f06fa3c9da1f51e82c679de
2021-12-27 09:31:19 +01:00
Translation updater bot 63dfd2492a Localisation updates from https://translatewiki.net.
Change-Id: Ic393105b2217dda422df819c1c4f276c5225e2fb
2021-12-23 08:38:43 +01:00
Translation updater bot 435d3727dc Localisation updates from https://translatewiki.net.
Change-Id: I524c34f4a3df5ccfd8bfdece8684caabfa12adc5
2021-12-22 08:34:41 +01:00
Translation updater bot 736d061f21 Localisation updates from https://translatewiki.net.
Change-Id: I1490bdeb7bd3ad7d09581e2bbb970efa9c70bf1a
2021-12-20 08:21:53 +01:00
Translation updater bot 59fd579cf5 Localisation updates from https://translatewiki.net.
Change-Id: I2c644c5bd450835b4f9fe15c649a273add58e394
2021-12-16 08:30:26 +01:00
Translation updater bot ff22ddd7a8 Localisation updates from https://translatewiki.net.
Change-Id: I667211639003995eb1cbb237799b9a245ee01dcf
2021-12-15 08:09:49 +01:00
Translation updater bot ac056c1b4d Localisation updates from https://translatewiki.net.
Change-Id: I382b6cb38c267a710e456a07917bebe913fa63a1
2021-12-14 08:43:15 +01:00
jenkins-bot 6bfd3ab7c0 Merge "Add link to undocumented parameter help" 2021-12-13 13:56:52 +00:00
Translation updater bot 9d1ddd9ec0 Localisation updates from https://translatewiki.net.
Change-Id: Ia11cb19d881dc081e2d1ba092043c0f689329e77
2021-12-13 08:22:26 +01:00
Translation updater bot 1199b4fe6f Localisation updates from https://translatewiki.net.
Change-Id: I862505b8377c53d797b4fdea2f44bc6e3aea2513
2021-12-10 08:25:18 +01:00
Translation updater bot 74e3ae45ff Localisation updates from https://translatewiki.net.
Change-Id: If3b2b87cfb360a4d2e2fdb55be27e0a5820cdd37
2021-12-09 08:23:13 +01:00
Translation updater bot 7b2934a952 Localisation updates from https://translatewiki.net.
Change-Id: I5888be33123bb8eb1947da43c6f0428aa87d171b
2021-12-08 08:13:02 +01:00
WMDE-Fisch 742aee7f9d Add link to undocumented parameter help
Bug: T284985
Change-Id: Ie5a61beed39aa3572c2a5e82dbc3711fdcd35ba8
2021-12-07 15:12:20 +01:00
Translation updater bot 1417565551 Localisation updates from https://translatewiki.net.
Change-Id: I0a8ba9b30ff6671d0e8d8b24492c74605edbf8c3
2021-12-07 08:12:38 +01:00
jenkins-bot 0978f3fe3d Merge "Remove suggested values message for custom inputs" 2021-12-06 10:49:44 +00:00
Translation updater bot 955f360c52 Localisation updates from https://translatewiki.net.
Change-Id: I77a284fff376a37fdda6b839197b3612e745dc64
2021-12-06 08:20:32 +01:00
Svantje Lilienthal a2afdee49f Remove suggested values message for custom inputs
Bug: T296915
Change-Id: Iecd90b02ea5bebceda1e87ddddb43fdb71b91d9e
2021-12-03 15:28:04 +00:00
Translation updater bot 761b287a1c Localisation updates from https://translatewiki.net.
Change-Id: I4bbe442516a4d7293561fd53ffe4ad01c17f6005
2021-12-03 08:43:16 +01:00
Translation updater bot 196824195a Localisation updates from https://translatewiki.net.
Change-Id: Iaeaf739433db99ad359d684864c10c68c08422e5
2021-12-02 08:42:20 +01:00
jenkins-bot efcc1a6742 Merge "Add links to documentation in help messages" 2021-12-01 10:52:51 +00:00
WMDE-Fisch 07f105fd76 Add links to documentation in help messages
This also updates all links to include [[Special:MyLanguage]].

Bug: T284985
Change-Id: Id5fb43c87a9458fd00524508f063fb1e7fc558a0
2021-12-01 10:02:00 +00:00
Translation updater bot 8d81bbedec Localisation updates from https://translatewiki.net.
Change-Id: Id95806eefd327d57bb6d4b21c90738875c33232a
2021-12-01 08:15:46 +01:00
Translation updater bot 752c01cd81 Localisation updates from https://translatewiki.net.
Change-Id: I18a2c6b0fa76d063534c2aeea425c910e161c797
2021-11-30 08:22:34 +01:00
Translation updater bot 6322ff5b50 Localisation updates from https://translatewiki.net.
Change-Id: I7cc4ac000065c700763c43b53abe0b2c06a75a12
2021-11-29 08:12:49 +01:00
WMDE-Fisch f65eac3d66 Add placeholder for finding a template
Bug: T296465
Change-Id: I07c6e601111073b1269a3ab6c552f83e12196156
2021-11-26 16:30:19 +01:00
Translation updater bot 78fe33919e Localisation updates from https://translatewiki.net.
Change-Id: Ieed9d34f2c493c5f7b0ec0b8fc954716c00d5465
2021-11-26 08:23:58 +01:00
Translation updater bot ad2920b072 Localisation updates from https://translatewiki.net.
Change-Id: Ifc1087ccc97a7b5632d61df91a1a910bd5f2d132
2021-11-25 09:02:51 +01:00
Translation updater bot 44bd38b61f Localisation updates from https://translatewiki.net.
Change-Id: I1c4b854d627cfaaf1d70374cda19f2aae32ad914
2021-11-24 08:22:44 +01:00
Translation updater bot 5622406793 Localisation updates from https://translatewiki.net.
Change-Id: Ia65d81f9b805ca1ddc7eb206067c9429d5e61ca1
2021-11-23 08:27:12 +01:00
Translation updater bot 53f7b65342 Localisation updates from https://translatewiki.net.
Change-Id: Iba2243880e1f049d6fb404a6a50e3f576039661d
2021-11-22 09:04:01 +01:00
Translation updater bot 3bdba1bb14 Localisation updates from https://translatewiki.net.
Change-Id: I5722df09f612b7127a192f615aa45f06d1062b39
2021-11-19 08:28:55 +01:00
Translation updater bot 6a05c9ab00 Localisation updates from https://translatewiki.net.
Change-Id: Ie5f928f439804767d853edb99df82c4112f14be5
2021-11-18 08:42:40 +01:00
Translation updater bot 4abe4e4c71 Localisation updates from https://translatewiki.net.
Change-Id: I5b068748310886e4fae1044170b77542ef6ec290
2021-11-17 08:31:11 +01:00
Translation updater bot a5fa21f1f1 Localisation updates from https://translatewiki.net.
Change-Id: Ic52a39e3672ecd4138516beb669c08fbb2af0eb4
2021-11-16 08:16:36 +01:00
WMDE-Fisch 26cab3125d Only use aria description on multipart transclusions
Moving responsibility to the part widget to check if we're in a
single transclusion.

Bug: T295353
Change-Id: I61b7891c04eb729647e2600318a97987fd88cb90
2021-11-15 12:22:12 +01:00
Translation updater bot 7aa8ddc71d Localisation updates from https://translatewiki.net.
Change-Id: Ib80ef6784ba065d78d996e4759840cf716c65118
2021-11-15 08:13:10 +01:00
Translation updater bot fba26d7305 Localisation updates from https://translatewiki.net.
Change-Id: I601d8229d21592c214e74e3af75f121c43f50615
2021-11-12 08:29:57 +01:00
Translation updater bot d57b3ad10d Localisation updates from https://translatewiki.net.
Change-Id: I689a7432ef84b9801092c48d551b1172df1e3699
2021-11-11 10:03:12 +01:00
jenkins-bot 4cafe5105e Merge "Implement floating help dialog for templates" 2021-11-10 17:05:14 +00:00
Andrew Kostka 72641151e4 Implement floating help dialog for templates
Bug: T294839
Change-Id: Id224b61bd0cd57f5e970ab62db2d82dab1db9252
2021-11-09 15:28:23 +01:00
Translation updater bot 8c1715713a Localisation updates from https://translatewiki.net.
Change-Id: Ifc15cbbc0439b407a8443fb1744c15ce7e7dc032
2021-11-09 07:30:03 +01:00
Translation updater bot e9fd33f444 Localisation updates from https://translatewiki.net.
Change-Id: I1d2821d70762568cb906d26371dfe5193cf03def
2021-11-08 08:17:42 +01:00
Translation updater bot 4dddd70b5b Localisation updates from https://translatewiki.net.
Change-Id: I53a393fb92ce99ebcbd64375257d7a826d141503
2021-11-05 08:17:40 +01:00
Translation updater bot 4877344048 Localisation updates from https://translatewiki.net.
Change-Id: I8f173862ffc847c3883d756461c6f71afa3b1333
2021-11-04 10:08:28 +01:00
Translation updater bot 98c19c4a23 Localisation updates from https://translatewiki.net.
Change-Id: I8d58d90d344aca367b249764250f277d71bab7cb
2021-11-03 08:21:33 +01:00
Translation updater bot 803641b05e Localisation updates from https://translatewiki.net.
Change-Id: I621e00525cf65ab1013c7fbe423dd1f6cccc46af
2021-11-02 08:07:43 +01:00
jenkins-bot f223046fc8 Merge "Introducing a mixin for ARIA descriptions on parameter selection" 2021-11-01 15:56:51 +00:00
WMDE-Fisch f9fda0594f Introducing a mixin for ARIA descriptions on parameter selection
Allows setting aria labels and descriptions on elements in a
convinient way. I did not use the the .mixin. convention here for
because there's already another mixin in that folder that's also
not having .mixin. as part of its name. And then there's also no
no need to open up that extra namespace here.

If we move this upstream at some point this can be changed though.

Bug: T291284
Change-Id: I1b3d40400d539f851f13719e16ced200968a7f92
2021-11-01 13:20:00 +01:00
Translation updater bot be30ca5ffd Localisation updates from https://translatewiki.net.
Change-Id: I59581127d4b7b586ab6a25b8e38a1a5ca96c844b
2021-11-01 09:34:52 +01:00
jenkins-bot f780c75b1f Merge "Add ARIA descriptions to sidebar widgets" 2021-10-29 10:37:55 +00:00
WMDE-Fisch dab5b5daae Add ARIA descriptions to sidebar widgets
When changing the source in the described-by attributes the screen
reader will read the text of the new source when the status changes.

Just changing the text within the elements holding the descriptions
does not work.

Bug: T291284
Change-Id: I31cc3061cf6c1f699babe41e99e0711f0eb03646
2021-10-29 12:07:53 +02:00
Translation updater bot 1a05bc2a73 Localisation updates from https://translatewiki.net.
Change-Id: I6c506371e0d864b1f4f14ef91edc0bf46fa6b38c
2021-10-29 08:22:35 +02:00
Translation updater bot a915e046ef Localisation updates from https://translatewiki.net.
Change-Id: I18814b8ee9f48df72e1751257733e9fbc69e4f6e
2021-10-28 08:29:20 +02:00
Translation updater bot 939548c812 Localisation updates from https://translatewiki.net.
Change-Id: I9f2cedaadf0eb460114132bae18a364dcd711864
2021-10-27 08:22:58 +02:00
Translation updater bot 5014a7b4a9 Localisation updates from https://translatewiki.net.
Change-Id: Ia338b091f70850b49143b728c1484495042f99c4
2021-10-26 08:18:20 +02:00
Translation updater bot e4e9dafd3e Localisation updates from https://translatewiki.net.
Change-Id: I3c6e661b03b20e8469624284f28bff0d4c220d9a
2021-10-25 08:52:56 +02:00
jenkins-bot 4de710ca71 Merge "Add a11y label to sidebar parameter selection" 2021-10-22 11:51:44 +00:00
jenkins-bot 9a0d34aeae Merge "Add title to sidebar search" 2021-10-22 11:34:04 +00:00
WMDE-Fisch 6e7332193b Add title to sidebar search
Also to improve screen reader a11y.

Bug: T291284
Change-Id: Ib56d3ee542cb880edd7788ff524a72436e102627
2021-10-22 12:34:57 +02:00
WMDE-Fisch 79f1270593 Add a11y label to sidebar parameter selection
Bug: T291284
Change-Id: I581800d2c92c06c3585ac48be0242860f476022b
2021-10-22 12:31:24 +02:00
Translation updater bot 9b6f7891d5 Localisation updates from https://translatewiki.net.
Change-Id: I83bcf0c42a2de2c2d7313d68ce86c1fb44a97246
2021-10-22 08:15:35 +02:00
Isabelle Hurbain-Palatin 3a3437007a Handle annotation tags as nodes rather than metaitems.
Preserve the place of annotation meta tags; adds information for the
users about annotation and, if necessary, annotation range extension.
The messages and individual handling of annotations for the annotation
range can be defined by the extensions: see I0b58a418 for an example
of how that can look like.

The structure of this patch closely follows the one from I104e7abbd
(handling of <noinclude> et al.).

Bug: T261181
Change-Id: I39029e4a63d22b37107edec066006557bcff34bf
2021-10-21 10:39:04 +02:00
Translation updater bot 0a8b462b0f Localisation updates from https://translatewiki.net.
Change-Id: I6d86764d2ccf7359d9fbc0246a0e12cb0659500c
2021-10-21 08:22:55 +02:00
Translation updater bot a0cfdf7cde Localisation updates from https://translatewiki.net.
Change-Id: I67ef6fff8b227267b3553de27840eb0262bc8928
2021-10-20 08:38:09 +02:00
Translation updater bot 47fa7bc308 Localisation updates from https://translatewiki.net.
Change-Id: I6dcd90a920473f3811d302b21571aca72cbb2fdc
2021-10-18 15:21:43 +02:00
Translation updater bot 5e4ec274ea Localisation updates from https://translatewiki.net.
Change-Id: I87bbd0cb29e16e0094aad0b3319482ba39a82acb
2021-10-08 09:21:43 +02:00
Translation updater bot 9e850f2b39 Localisation updates from https://translatewiki.net.
Change-Id: I2905ec022dcb4e53f2a511ac44b7f3793a2c0838
2021-10-07 09:03:40 +02:00
Translation updater bot 9b2cb48380 Localisation updates from https://translatewiki.net.
Change-Id: Ib5232e700e95b83fe727c9a9a8db79b26c30d649
2021-10-06 09:29:03 +02:00
Translation updater bot 0c7f3fccc7 Localisation updates from https://translatewiki.net.
Change-Id: Ic50b4590a9e6a284ea320137c9adc067150b36e2
2021-10-05 08:30:13 +02:00
Translation updater bot 420d1de2a1 Localisation updates from https://translatewiki.net.
Change-Id: Ib05912cc224c4374115531da0806efe4a53ca261
2021-10-04 08:56:42 +02:00
Translation updater bot 6c63ce59b0 Localisation updates from https://translatewiki.net.
Change-Id: I7a88a498cb4cdda97af276dd67d4128da556b9b6
2021-10-01 09:30:29 +02:00
Translation updater bot df70f0d06d Localisation updates from https://translatewiki.net.
Change-Id: I50e0d79e8dca3c584fc9af62ea38d5d319c8fdaa
2021-09-30 08:58:05 +02:00
Translation updater bot 6c34da2922 Localisation updates from https://translatewiki.net.
Change-Id: Ie02fa2bcaade00ac363b22c7a98ae10f02d24dff
2021-09-29 09:02:25 +02:00
Thiemo Kreuz bebecdc812 Refine wording of "template name with subst/syntax" message
As discussed in T290140. This should be the final bit to close
T290140.

Bug: T290140
Change-Id: I337e4a8806e05db534874f1514e6429b93588133
2021-09-28 10:33:18 +02:00
Translation updater bot f8c0e5944d Localisation updates from https://translatewiki.net.
Change-Id: I08ae057b0b659cfad45e62b20b37dcda770e3a7e
2021-09-28 08:19:23 +02:00
Translation updater bot 99835a98bc Localisation updates from https://translatewiki.net.
Change-Id: I30d9b9e53f81b63e091a99b7dc6c36e03c962371
2021-09-27 08:35:55 +02:00
Translation updater bot 54a576e6d3 Localisation updates from https://translatewiki.net.
Change-Id: I51c6f76b6e1971a6ce0ac993ec9004748f82c2b3
2021-09-24 08:26:34 +02:00
Translation updater bot 74eedd61dd Localisation updates from https://translatewiki.net.
Change-Id: I2d1d4eed6572bb3aa19b54e071ae8322e486329a
2021-09-23 12:28:11 +02:00
jenkins-bot 34156b8cef Merge "Consolidate messages about missing/bad templates" 2021-09-22 09:15:53 +00:00
Thiemo Kreuz 224cc9ab12 Consolidate messages about missing/bad templates
This is mostly re-arranging existing code. Actual changes made:
* Remove the message that claims a template can't exist. We can't
  really know this.
* Instead show the message about "modifiers" in cases where curly
  braces and other wikitext syntax is involved.

Bug: T290140
Change-Id: I713d7f54cad2510f9a02c113600980cba8c3e58b
2021-09-22 10:12:16 +02:00
Translation updater bot 6e299325f4 Localisation updates from https://translatewiki.net.
Change-Id: I4ed7b08c64cde3b12303ef1996f66bcbdf732ee2
2021-09-22 08:11:15 +02:00
Translation updater bot 8b05105981 Localisation updates from https://translatewiki.net.
Change-Id: I0ee0b80d0afc75033db114df53a17454e7a77089
2021-09-21 08:09:35 +02:00
jenkins-bot 58c28c13fd Merge "Improve messaging for when a template is not found" 2021-09-20 13:14:58 +00:00
Translation updater bot ecf3b9b388 Localisation updates from https://translatewiki.net.
Change-Id: Ieb257e045e7d996f595b9ff9b808fabdd7e754e0
2021-09-20 08:19:50 +02:00
Andrew Kostka 7165efd491 Improve messaging for when a template is not found
Bug: T290140
Change-Id: Ie43c7e2bd72ed92a8a336f6d87a54e6d51cc3f17
2021-09-17 13:39:11 +02:00
Translation updater bot 3b917f0c16 Localisation updates from https://translatewiki.net.
Change-Id: I174d9ae52da1a7c4d6c5cc9a1a052dc57db9e6f2
2021-09-17 08:45:59 +02:00
Translation updater bot 6416dd275f Localisation updates from https://translatewiki.net.
Change-Id: I8f61526fb6c0c119e6bedbcb9c958065d421e0fd
2021-09-16 08:12:04 +02:00
Translation updater bot 6f24dbcc59 Localisation updates from https://translatewiki.net.
Change-Id: Ic2aafe4e21fbd6e16d2944e464e55ed3e91c663f
2021-09-15 08:15:00 +02:00
Translation updater bot b583b7eac7 Localisation updates from https://translatewiki.net.
Change-Id: If68a82a32ad555486f66557263dd92772123f471
2021-09-14 08:33:27 +02:00
Andrew Kostka a38338259d Improve input validation for the add parameter page
This patch improves the error handling for when a user tries to add
a parameter which is either an alias of a existing parameter, the
primary name of a existing aliased parameter, or a name/alias of an
existing parameter which is shown with an override label.

The error message was modified to always refer to the conflicting
parameter using the same name that is has in the sidebar.

Example: A parameter named "Parameter B" is already present in the
sidebar under its alias "B". When a user tries to add "Parameter B",
the new error message will inform the user that the parameter they
are trying to add already exists as "B".

Bug: T285869
Change-Id: I762b72b6cf14eb8ff5fcef63b4dcb70e297050de
2021-09-13 16:58:11 +02:00
Translation updater bot 273cfbdd61 Localisation updates from https://translatewiki.net.
Change-Id: Ic670bf1485047ea92ea9f5e6df6d70bb9d16f1bf
2021-09-13 08:30:34 +02:00
jenkins-bot 843aa24efd Merge "Don't allow users to add parameters that contain forbidden chars" 2021-09-10 10:14:53 +00:00
jenkins-bot 022db20850 Merge "Add input validation to the add parameter page" 2021-09-10 10:14:50 +00:00
Translation updater bot aa0a3fb081 Localisation updates from https://translatewiki.net.
Change-Id: I1e19d2e91bec9bcb5c37ae459e0d5f401aff50a3
2021-09-10 08:16:09 +02:00
Andrew Kostka 4c0666fd19 Don't allow users to add parameters that contain forbidden chars
Bug: T285869
Change-Id: I1011949c2724939f3cec1e1a2ae1c821c33eff84
2021-09-09 11:43:49 +02:00
Andrew Kostka 075ca72fe8 Add input validation to the add parameter page
Bug: T285869
Change-Id: Iebb982e95aa19bd61fcda915981d505cc243c4b2
2021-09-09 11:42:53 +02:00
Translation updater bot 783f8d4ae1 Localisation updates from https://translatewiki.net.
Change-Id: Ic6382832675094993d986cda98ce45dec3144072
2021-09-09 08:18:17 +02:00
Translation updater bot 52d900f8d6 Localisation updates from https://translatewiki.net.
Change-Id: I06ef08a0b9720ff035fbf22b7df7854d1a59132f
2021-09-08 08:10:46 +02:00
Translation updater bot f54d7615f3 Localisation updates from https://translatewiki.net.
Change-Id: I72dedecc01f69adc096f7e1e22fb921d0cac891f
2021-09-07 08:11:21 +02:00
Translation updater bot fec6c43353 Localisation updates from https://translatewiki.net.
Change-Id: I231e9fba493e3b9fcc356bc0aa11d16c0e2f76b1
2021-09-06 08:21:29 +02:00
Translation updater bot 760d8a3a86 Localisation updates from https://translatewiki.net.
Change-Id: I0602d1862e2210a62c9ff854a7bdd7399650f455
2021-09-03 08:15:29 +02:00
jenkins-bot 25da8cb9d7 Merge "Update template dialog help messages" 2021-09-02 13:20:31 +00:00
Adam Wight d8dcc89fa0 Update template dialog help messages
* New help text for the case where TemplateData is present, whether
  or not it includes a description.
* Remove help text when TemplateData is missing.

Bug: T288465
Change-Id: I0668ccae8eeb5ffffc626e3b7d24c1d7ed99bbed
2021-09-02 14:24:35 +02:00
jenkins-bot 52fe00975e Merge "Add notes and warning for missing parameter documentation" 2021-09-02 11:49:59 +00:00
Translation updater bot fa0792e002 Localisation updates from https://translatewiki.net.
Change-Id: I1b12838127487dc724384dfb32e80561ecb32ea5
2021-09-02 08:26:58 +02:00
WMDE-Fisch 1673f9f8bf Add notes and warning for missing parameter documentation
Bug: T276574
Change-Id: Iba0dd661ccdfd6cbb13aef7e8ace25995ecf0cf8
2021-09-01 17:29:25 +02:00
Translation updater bot d11abb1ea8 Localisation updates from https://translatewiki.net.
Change-Id: I44fe1e2cd47dc1eb75fe439812260a83f62e3557
2021-09-01 08:16:53 +02:00
WMDE-Fisch 14d3e8144c Text improvements for unkown parameter input
- Change description text according to ticket
- Make sure link to template page opens in new tab
- Add missing placeholder text

Bug: T272487
Change-Id: Ie8189e9cb9db5908e8fc5fc8bf7ff20df5595094
2021-08-31 14:57:24 +02:00
Translation updater bot ebb94a47ea Localisation updates from https://translatewiki.net.
Change-Id: Idf0e23e945a37fd33d4f7aa45dcda415dca0a3c9
2021-08-31 08:16:17 +02:00
WMDE-Fisch bfe8acff14 Add missing qqq parameters
Also using sentences here.

Change-Id: Ibdcc6dab54f1567e732cb306a3f2eb4dd0db797d
2021-08-30 09:50:40 +02:00
Translation updater bot 24797739da Localisation updates from https://translatewiki.net.
Change-Id: Id17d7e50f91bf8213ac6ab15e60c4dae5ca19a84
2021-08-30 08:20:51 +02:00
Translation updater bot 8ed7547778 Localisation updates from https://translatewiki.net.
Change-Id: I639a6aabe702b8a7ae8233de45d5307d332d856e
2021-08-27 08:44:20 +02:00
Thiemo Kreuz c8536f1a71 Remove unnecessary title parsing from template related code
There are 2 situations:

1. Either the template name is used in a [[…]] link. In this case
we must provide the namespace. MWTemplateModel.getTitle() does
this. However, it's not a mw.Title object and therefor not really
guaranteed to be a valid title. This is fine. The worst thing
that can happen is that the link points to an error message.
But this should be entirely unreachable anyway.

2. Some messages want to display the name of the template.
Ideally without the namespace. That's what
MWTemplateSpecModel.getLabel() is for. Again this is not
guaranteed to be a valid mw.Title. But it doesn't need to. It's
only used as a label.

Change-Id: I03d0481201620a2f5c444ee32b656bcaade98aac
2021-08-26 15:58:15 +02:00
jenkins-bot 6c33cc4a35 Merge "Add message on multipart content" 2021-08-26 07:34:15 +00:00
jenkins-bot 5be007ee9a Merge "Minor cleanups to new add parameter input widget" 2021-08-26 07:26:53 +00:00
jenkins-bot 4741abe803 Merge "Added new input page for undocumented parameters" 2021-08-26 07:26:41 +00:00
Translation updater bot 04cd63520e Localisation updates from https://translatewiki.net.
Change-Id: I86a3c063e5b69dcaef780d57a9bb2445d32a7904
2021-08-26 08:37:10 +02:00
WMDE-Fisch 67988452ab Add message on multipart content
Bug: T276574
Change-Id: Iff5c2fd4071dd03ca62c395cce4041dacb1c7ea6
2021-08-25 10:47:16 +02:00
Thiemo Kreuz 3bca0f30c9 Minor cleanups to new add parameter input widget
Most of what I did in patchset 1 is now squashed into the
original patch Ic5dcd36.

Bug: T272487
Change-Id: I5cfd500da4c496a31ec5a28fedee4a079acc6123
2021-08-24 10:22:55 +02:00
Svantje Lilienthal 5c9fbca085 Added new input page for undocumented parameters
Bug: T272487
Change-Id: Ic5dcd36c9f647f9b52b98e5a520a1df1960a5b48
2021-08-24 10:18:43 +02:00
Translation updater bot d37304abce Localisation updates from https://translatewiki.net.
Change-Id: I7c59aa591a706da2e4bd3f56fba066edde31c2fa
2021-08-23 09:04:36 +02:00
Translation updater bot c24b91ce5c Localisation updates from https://translatewiki.net.
Change-Id: Idb2f71dea2a96b8a27a01a5a253365aab898802f
2021-08-20 08:24:42 +02:00
Translation updater bot 8e21ecb83f Localisation updates from https://translatewiki.net.
Change-Id: I2462d03013068d9d14cedf14cfe60c98861656ac
2021-08-19 08:14:04 +02:00
Translation updater bot dec1742eb7 Localisation updates from https://translatewiki.net.
Change-Id: I9fffa63490ce96efeadbf073c3aa10beb54a9a1d
2021-08-18 08:13:56 +02:00