Last modified: 2006-01-20 09:54:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T5983, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3983 - BiDi: please assure a high degree of fexibility / maintainability of the template syntax with respect to RTL
BiDi: please assure a high degree of fexibility / maintainability of the temp...
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: 2376 4357
  Show dependency treegraph
Reported: 2005-11-15 21:10 UTC by lɛʁi לערי ריינהארט
Modified: 2006-01-20 09:54 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description lɛʁi לערי ריינהארט 2005-11-15 21:10:50 UTC
original / first URL:


Sorry for this title!

What is this bug report about?:

Many of you may have tried to edit BiDi text (text where LTR and RTL characters
are mixed together). You must be very patient and exercise a lot to understand
how wiki source text looks like, about the "amaising" "WHAT YOU TYPE IS WHAT YOU
GET" etc. etc.

To keep it simple:
normal LTR syntax is like
{{tempaltename|NAMED_PARAMETER=foo|3=bar|this is the value of parameter

At the mentioned URL this syntax would look like
|this is the value of parameter 1

It does not make much sense except that
a) it might be easier to read
b) it allows line by line edits which is much easier in a BiDi environment

In the mentioned URL you will see the lines

|AR={{trad|ar|كلب|3=<span dir="ltr" ></span>}}
|BG={{trad|bg|куче|(kuče) {{n}}}}, {{trad|bg|пес|(pes) {{m}}}}
|EL={{trad-|el|σκύλος|(skýlos) {{m}}}}
|HE={{trad--|he|כלב|3=<span dir="ltr" >(kélev) {{m}}</span>}}
|HU={{trad|hu|kutya|}}, {{trad|hu|eb|}}
|JA={{trad-|ja|犬|(いぬ, inú)}}
|PT={{trad|pt|cão|{{m}}}}, {{trad-|pt|cadela|{{f}}}},
{{trad|pt|cachorro|{{m}}}}, {{trad-|pt|cachorra|{{f}}}}
|RO={{trad|ro|câine|(1990s orthography) {{m}}}}, {{trad-|ro|cîine|(1950s
orthography) {{m}}}}
|RU={{trad|ru|собака|{{f}}}}, {{trad-|ru|пёс|(pjos) {{m}}}}, {{trad|ru|псина|
(psína) {{f}}}}
|SL={{trad|sl|pes|{{m}}}}, {{trad-|sl|psica|{{f}}}}
|SR={{trad-|sr|пас|(pas) {{m}}}}
|ZH={{trad|zh|狗|(gǒu)}}; {{trad|zh|犬|(quǎn)}}

Contributors can add translations line by line. In the sample template to be
used with <inputbox> the lines for RTL languages are

|AR={{trad--|ar|ARABIC|3=<span dir="ltr" >(LATIN)</span>}}
|HE={{trad--|he|HEBREW|3=<span dir="ltr" >(LATIN)</span>}}

Please do not break this (?) not documented freature (?) when modifying template
syntax / when changing the code. Thanks in advance !!!

best regards reinhardt [[user:gangleri]]
Comment 1 Ævar Arnfjörð Bjarmason 2005-11-15 21:19:51 UTC
Comment 2 lɛʁi לערי ריינהארט 2005-12-22 15:34:20 UTC
removing direct dependency from bug 745
bug 745: RTL/bidirectional issues (tracking)

This report / request relates to the handling of new lines in a parameter list
where new lines should be "ignored".

*Actions for this request:*
similar to
bug 4356: keep ignoring new line in [[MediaWiki:Ipboptions]]

1) "Please insert a *comment* in the source code that this behaviour (using new
lines) should not be broken."
2) Please generate some "testcases".

Thanks in advance!
Comment 3 lɛʁi לערי ריינהארט 2006-01-19 17:18:20 UTC
Please read bug 2248 comment 1
Bug 2248: Wrong treating of the first line of a long template parameter

Bug 2248 identifies the source in the MediaWiki code where the note mentioned at
comment 2 should be added.

Later after generating some testcases this bug / report / request can be closed

best regards reinhardt [[user:gangleri]]
Comment 4 Brion Vibber 2006-01-19 20:21:59 UTC
It already works this way, right? Closing WORKSFORME.
Comment 5 lɛʁi לערי ריינהארט 2006-01-20 08:02:04 UTC
(In reply to comment #4)
> It already works this way, right? Closing WORKSFORME.

Yes Brion. But changing this as requested at bug 2248 would break templates like
Comment 6 lɛʁi לערי ריינהארט 2006-01-20 09:54:02 UTC
(In reply to comment #4)
> ... Closing WORKSFORME.

The 'final' request was not about changing functionality but:
1) "Please insert a *comment* in the source code that this behaviour (using new
lines) should not be broken."
2) Please generate some "test cases".

The comment and the test cases should assure that this does not break. Maybe
there is such a comment already in the right place. I would prefer to have this

best regards reinhardt [[user:gangleri]]

Note You need to log in before you can comment on or make changes to this bug.