מוסטער רעדן:style/ril

תוכן הדף אינו נתמך בשפות אחרות.
פֿון װיקיװערטערבוך
meta:BiDi workgroup
mozilla:402155  ·  landfill:3304


special:Prefixindex/template:style

‎→ bugzilla:012225 · "influencing the BiDi algorithm to clearly distinguish between the signature and the date and time"‎

purpose of this template[ענדערן]

This template allows proper embeding of RTL and / or BiDi text in an LTR environment. The directionaly of whole content of the « ril » parameter will behave as LTR.‎

restrictions:

  • It is neither supposed that « unbalanced » <span> or <div> structures nor paragraphs ( &ltp> ) are used as content of « ril ». This will break the rendering.

changes:

Please note that the content of
template:style/ril T and template:style/lir T
has changed / might change in the future.
‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 00:48, 21 אין דעצעמבער 2007 (UTC)

issues:

bugzilla:012225 · "influencing the BiDi algorithm to clearly distinguish between the signature and the date and time"‎
Bugzilla@Mozilla – Bug 406406 – "remedy against BiDi interference caused by the (arbitrary) content of various fields"

comments at other projects:

special:Prefixindex/template:style
m:wikt:yi:template talk:style/ril
m:commons:template talk:style/ril
test:user:I18n/Opera/BIDi_bug_001&uselang=en#GlobalWrapper

summmary:

: from [[m:wikt:yi:template:style/ril]] allows proper embeding of RTL and / or BiDi text in an LTR environment
generates:

from m:wikt:yi:template:style/ril allows proper embeding of RTL and / or BiDi text in an LTR environment

preliminary[ענדערן]

My signature contains UTF-8 coded General Punctuation characters and is optimised for a RTL environment. It generates:‎

'''LTR:'''&lrm;<br />
~~~~<br />
'''RTL:'''&lrm;<br />
<div dir="rtl" >
~~~~<br />
</div>

generates:
LTR:
‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 23:27, 11 אין דעצעמבער 2007 (UTC)
RTL:

‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 23:27, 11 אין דעצעמבער 2007 (UTC)

notes:

The block generated by my signature "~~~" behaves as a single RTL character.
However the block generated by my signature "~~~~" does not ( see bugzilla:012225 ) and the representation in the browser depends on the directionality of the characters before and after "~~~~".

example[ענדערן]

LTR environment using template:style/ril[ענדערן]

# <!-- {{anchor|anchor=bugzilla_012225}}-->[[bugzilla:012225]]<br />
# ~~~~<br />
# {{style/ril|ril=~~~}} {{style/ril|ril=~~~~~}} '''+'''<br />
# a ~~~~ z<br />
# a {{style/ril|ril=~~~}} {{style/ril|ril=~~~~~}} z '''+'''<br />
# &#x5EA; ~~~~ &#x5D0;<br />
# &#x5EA; {{style/ril|ril=~~~}} {{style/ril|ril=~~~~~}} &#x5D0;<br />
  1. bugzilla:012225
  2. ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 23:27, 11 אין דעצעמבער 2007 (UTC)
  3. ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬‎ ‎23:27, 11 אין דעצעמבער 2007 (UTC)+
  4. a ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 23:27, 11 אין דעצעמבער 2007 (UTC) z
  5. a ‎‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬‎ ‎23:27, 11 אין דעצעמבער 2007 (UTC)‎ z +
  6. ת ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 23:27, 11 אין דעצעמבער 2007 (UTC) א
  7. ת ‎‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬‎ ‎23:27, 11 אין דעצעמבער 2007 (UTC)‎ א

RTL environment using template:style/ril[ענדערן]

# <!-- {{anchor|anchor=bugzilla_012225}}-->[[bugzilla:012225]]<br />
# ~~~~<br />
# {{style/ril|ril=~~~}} {{style/ril|ril=~~~~~}}<br />
# a ~~~~ z<br />
# a {{style/ril|ril=~~~}} {{style/ril|ril=~~~~~}} z<br />
# &#x5EA; ~~~~ &#x5D0;<br />
# &#x5EA; {{style/ril|ril=~~~}} {{style/ril|ril=~~~~~}} &#x5D0;<br />

generates:

  1. bugzilla:012225
  2. ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 23:27, 11 אין דעצעמבער 2007 (UTC)
  3. ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬‎ ‎23:27, 11 אין דעצעמבער 2007 (UTC)
  4. a ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 23:27, 11 אין דעצעמבער 2007 (UTC) z
  5. a ‎‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬‎ ‎23:27, 11 אין דעצעמבער 2007 (UTC)‎ z
  6. ת ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 23:27, 11 אין דעצעמבער 2007 (UTC) א
  7. ת ‎‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬‎ ‎23:27, 11 אין דעצעמבער 2007 (UTC)‎ א

RTL environment using template:style/lir[ענדערן]

# <!-- {{anchor|anchor=bugzilla_012225}}-->[[bugzilla:012225]]<br />
# ~~~~<br />
# {{style/lir|lir=~~~}} {{style/lir|lir=~~~~~}}<br />
# a ~~~~ z<br />
# a {{style/lir|lir=~~~}} {{style/lir|lir=~~~~~}} z<br />
# &#x5EA; ~~~~ &#x5D0;<br />
# &#x5EA; {{style/lir|lir=~~~}} {{style/lir|lir=~~~~~}} &#x5D0;<br />

generates:

  1. bugzilla:012225
  2. ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 23:27, 11 אין דעצעמבער 2007 (UTC)
  3. ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬‏ ‏23:27, 11 אין דעצעמבער 2007 (UTC)
  4. a ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 23:27, 11 אין דעצעמבער 2007 (UTC) z
  5. a ‏‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬‏ ‏23:27, 11 אין דעצעמבער 2007 (UTC)‏ z
  6. ת ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 23:27, 11 אין דעצעמבער 2007 (UTC) א
  7. ת ‏‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬‏ ‏23:27, 11 אין דעצעמבער 2007 (UTC)‏ א

comments[ענדערן]

from pastebin.com[ענדערן]

http://yi.wiktionary.org/wiki/template_talk:style/ril?uselang=en#top


&#8235;·&#8207;[[user:&#1500;&#1506;&#1512;&#1497; &#1512;&#1497;&#1497;&#1504;&#1492;&#1488;&#1512;&#1496;|&#1500;&#1506;&#1512;&#1497; &#1512;&#1497;&#1497;&#1504;&#1492;&#1488;&#1512;&#1496;]]&#8207;·&#8207;[[user talk:&#1500;&#1506;&#1512;&#1497; &#1512;&#1497;&#1497;&#1504;&#1492;&#1488;&#1512;&#1496;|T]]&#8207;·&#8207;[[m:user:&#1500;&#1506;&#1512;&#1497; &#1512;&#1497;&#1497;&#1504;&#1492;&#1488;&#1512;&#1496;|m]]&#8207;:&#8207;[{{SUBST:fullurl:m:user talk:&#1500;&#1506;&#1512;&#1497; &#1512;&#1497;&#1497;&#1504;&#1492;&#1488;&#1512;&#1496;|action=history}} Th]&#8207;·&#8207;[[m:user talk:&#1500;&#1506;&#1512;&#1497; &#1512;&#1497;&#1497;&#1504;&#1492;&#1488;&#1512;&#1496;|T]]&#8207;·&#8207;[[m:special:Emailuser/&#1500;&#1506;&#1512;&#1497; &#1512;&#1497;&#1497;&#1504;&#1492;&#1488;&#1512;&#1496;|email me]]&#8207;·&#8207;&#8236;

generates:
http://yi.wiktionary.org/wiki/template_talk:style/ril?uselang=en#top


‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬

related issues[ענדערן]

  1. Bugzilla@Mozilla – Bug 406406 · remedy against BiDi interference caused by the (arbitrary) content of various fields

...