Commit graph

934 commits

Author SHA1 Message Date
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
WMDE-Fisch 199d9536d1 Use the "wikitext" for content in transclusions
Bug: T272482
Change-Id: Ibe68b49c25b4f0d88483c22e0e4b8462d935a45b
2021-08-17 13:06:49 +02:00
Translation updater bot 8ca81204e9 Localisation updates from https://translatewiki.net.
Change-Id: Ie94f81beac0844834160f7eb2340883fd09e0480
2021-08-17 08:19:53 +02:00
jenkins-bot 0e6c56160e Merge "Show sidebar controls only when multi-part content is present" 2021-08-16 10:54:41 +00:00
Translation updater bot 258178a04c Localisation updates from https://translatewiki.net.
Change-Id: I475fa9297b8668b343da1d2a268d3c81a703762c
2021-08-16 08:17:02 +02:00
Translation updater bot 4c969911d3 Localisation updates from https://translatewiki.net.
Change-Id: Ib53caf734409a957a7bc3027c6036cc6b7ec8003
2021-08-13 08:19:23 +02:00
Andrew Kostka a2135d524d Show sidebar controls only when multi-part content is present
Bug: T272482
Change-Id: I092438bc9c7d5569f758786ca6952beffdf37507
2021-08-11 15:00:59 +02:00
Translation updater bot 01d0dd0682 Localisation updates from https://translatewiki.net.
Change-Id: Id7f6653898a023ff041975ab27b8d0880553f7f5
2021-08-11 08:19:45 +02:00
Translation updater bot 4ea1823944 Localisation updates from https://translatewiki.net.
Change-Id: I4ea04acc730f77f6a884cba9ff96c5b968b8386c
2021-08-10 08:07:11 +02:00
Translation updater bot 5b5cb414fe Localisation updates from https://translatewiki.net.
Change-Id: I9c10f33b2607a160a0fa816fde91aa83e86189a5
2021-08-09 08:25:33 +02:00
Translation updater bot 501b42d10f Localisation updates from https://translatewiki.net.
Change-Id: I5c04b02600c9e75f6eb446d4334a87338bc1ef14
2021-08-06 08:14:11 +02:00