User:Tietew/RTL problem

Bug#3016 sample – purge

notations

edit

underlined is article name. green is contributor name.

unicode-bidi:normal (default)

edit
  • (diff) (hist) . . كار دست خود دادن; 03:42 . . thecontributor (Talk)
  • (diff) (hist) . . كار دست خود دادن; 03:42 . . 127.0.0.1 (Talk)
  • (diff) (hist) . . Wiktionary:Parsian:كار دست خود دادن; 03:42 . . thecontributor (Talk)
  • (diff) (hist) . . Englisharticle; 03:42 . . صورت مسئله (Talk)
  • (diff) (hist) . . كار دست خود دادن; 03:42 . . صورت مسئله (Talk)
  • (diff) (hist) . . User talk:صورت مسئله; 03:42 . . صورت مسئله (Talk)

unicode-bidi:embed

edit
  • (diff) (hist) . . كار دست خود دادن; 03:42 . . thecontributor (Talk)
  • (diff) (hist) . . كار دست خود دادن; 03:42 . . 127.0.0.1 (Talk)
  • (diff) (hist) . . Wiktionary:Parsian:كار دست خود دادن; 03:42 . . thecontributor (Talk)
  • (diff) (hist) . . Englisharticle; 03:42 . . صورت مسئله (Talk)
  • (diff) (hist) . . كار دست خود دادن; 03:42 . . صورت مسئله (Talk)
  • (diff) (hist) . . User talk:صورت مسئله; 03:42 . . صورت مسئله (Talk)

another solution

edit

templates

edit

user:Gangleri/tests/BiDi/list 02/view edit
→→ user:Gangleri/tests/BiDi/list 02/list edit
→→→ user:Gangleri/tests/BiDi/list 02/template edit

<div dir="ltr" >
{{User:Gangleri/tests/BiDi/list 02/list
|DIRCONT={{DIR}}
|DIRMARKCONT={{DIRMARK}}
|DIRGUI={{DIR}}
|DIRMARKGUI={{DIRMARK}}
}}
</div>

generates:

<div dir="rtl" style="text-align:right;margin:0 2em 0 0">
{{User:Gangleri/tests/BiDi/list 02/list
|DIRCONT=rtl
|DIRMARKCONT=&rlm;
|DIRGUI=rtl
|DIRMARKGUI=&rlm;
}}
</div>

generates: