Communicate template exists in the target wiki but mapping could not be completed (original) (raw)
(2) The matched template exists in Catalan - Template:Infobox settlement, but when translating from English-> Catalan, 'Tokyo', the 'Template unavailable' message is displayed. Is it a plain bug for this specific case or, in this case, mapping was not possible despite that the template is present in the target language?
My guess is that the issues of T204937 are getting in the way here. T204937 was supposed to remove the template only when the template in the target language was not found, but currently removes the template also when there is not info to map the parameters, which is wrong and is in the process of fixing. @santhosh may correct me or expand on this.
@Pginer-WMF - please review the following cases (outside of this task scope) if they require some follow ups:
(3) There are cases when only required parameter in source template is mapped, so a user sees only a partially adopted template without any warning
Source and target templates may have a different structure, and there is no way to know if all the parameters in the source are expected to be transferred in the target. For example, a source template may have two parameters (e.g., "name" and "surname"), and the target template just one (e.g., "full name").
For this ticket we are focusing on the cases where there is a high certainty that there is a problem: the target template has mandatory parameters that have not been filled in, or is completely empty. Both provide undesirable results that make the content look broken. Other cases just lead to incomplete information, that the user can expand. We can consider better supporting those cases too in the future (being careful of not increasing false positives), but those would be out of the scope of the current ticket.