https://bugzilla.wikimedia.org/show_bug.cgi?id=50436
Web browser: ---
Bug ID: 50436
Summary: TemplateData should be direction neutral
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: TemplateData
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l