This is a bug/design issuse with TemplateData.
To use TemplateData in RTL wikis, the syntax mix English and Arabic/Hebrew (etc).
Editing mixed languages with different direction is hard and should be avoided as much as possible because of BiDi issues. (in some cases, such as Lua modules it isn't possible to completely avoid it).
Example :
<templatedata>
{
"description": "תבנית כלשהי.", "params": { "שם": { "label": "שם", "type": "string/wiki-user-name", "required": true, "description": "שם של משתמש", "aliases": ["1"] } }, "sets": [ { "label": "Date", "params": ["שנה", "חודש", "יום"] } ]
}
</templatedata>
It is very hard to edit such syntax as above. (<templatedata> is OK since it is in different line - but the JSON isn't [if we don't want to define special indentation convention due to direction issues])
The syntax for the JSON keywords (description, params, label etc) should be either translatable or should have some neutral direction alternative to defines it (JSON by itself is directionless - [{}:,] doesn't have direction information).
See also:
- bug 50169 - implementing this feature may reduce the severity of this bug (this solution will force template editors in RTL wiki to use visual editor at least for templatedata definitions).
- bug 50370 - translation of interface items
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=50370