But why was inserting multi-line templates a problem? It seems to me that the fact that DiscussionTools inserts
: too liberally is what was the main issue in that task, not the fact that you could insert templates via visual mode. Ideally, DiscussionTool should leverage Parsoid (since it uses it) or some other programming magic to stop inserting sequences of
: in parameters and closing brackets, since that was what breaking the code in the first place.
For example, this (adapted from one of their place) is perfectly functioning wikitext right now, without multi-line comments:
| pas_grille_principale = 10
| nb_abscisses = 10
| y_max = 11
| S01V01 = 2200
| lb_x1 = 1
| nb_series = 1
:::::::::[[Category:Page utilisant une frise chronologique]] [[Utilisateur:Lofhi|Lo<i>fhi</i>]] ([[Discussion Utilisateur:Lofhi|me contacter]]) 26 mai 2020 à 18:31 (CEST)
Seems wrong that the chosen route for this was ‘disable multi-line template insertion’ instead of ‘fix how DiscussionTools handles multi-line template invocations’. There are perfectly reasonable use cases where one would want to use wikitext like that, IMO.