Last modified: 2012-08-16 13:30:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12225 - influencing the BiDi algorithm to clearly distinguish between the signature and the date and time
influencing the BiDi algorithm to clearly distinguish between the signature a...
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Amir E. Aharoni
http://commons.wikimedia.org/wiki/Tem...
:
Depends on:
Blocks: 28708
  Show dependency treegraph
 
Reported: 2007-12-07 02:52 UTC by lɛʁi לערי ריינהארט
Modified: 2012-08-16 13:30 UTC (History)
6 users (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2007-12-07 02:52:30 UTC
Dear friends,

wiki syntax allows three constructs

« ~~~ » a shortcut for the signature
« ~~~~~ » a shortcut for the date

and

« ~~~~ » a shortcut for signature and date

One would expect that the rendering of « ~~~~ » would be

in a LTR wiki: 

at the left « ~~~ » folowed by « ~~~~~ » at the right

in a RTL wiki

at the right « ~~~ » folowed by « ~~~~~ » at the left

This is mostly *not* the case because

a) of the arbitraty content od the signatures,
b) of the fact that the characters « o » to « 9 » , « . » , « : » are regarded by the bidirectional algorithm as « neutral » regarding their directionality;
c) in some wikis not all month names are translated / have the same directionality as the content language;


bug fix request:

please embed all relevant parts of the date in blocks as specified at

1) https://bugzilla.mozilla.org/show_bug.cgi?id=406406
   BugZilla Mozilla b u g 406406 – remedy against BiDi interference caused by the (arbitrary) content of various fields
2) [[commons:template:style/ril]]
   see also [[commons:template talk:style/ril#explanations]] = the url of this bug


note:
Originaly I planed to name the summary of this bug report « safe embedding of signatures in wiki pages » .

The implementation should take care about the *embedding* of the result / the code generated by « ~~~~ » in the wiki pages. Normaly it is supposed that the contributors contribute in the content language.

This means that in a RTL wiki « ~~~~ » should have RTL directionality while in a LTR wiki « ~~~~ » should have LTR directionality. It might confuse contributors writing in languages with another directionality but this would be an exception. If these contributors are able to contribute there they should be aware about directionality issues.

Please do not hesitate to contact me if there are any questions.

Best regards Reinhardt [[user:gangleri]]
Comment 1 lɛʁi לערי ריינהארט 2007-12-07 12:39:15 UTC
an example is available at [[commons:user:לערי ריינהארט#bugzilla_012225]]
Comment 2 lɛʁi לערי ריינהארט 2007-12-07 12:41:31 UTC
re: comment #c1

> an example is available at [[commons:user:לערי
> ריינהארט#bugzilla_012225]]

an example is available at
[[commons:user:לערי ריינהארט#bugzilla_012225]]
Comment 3 lɛʁi לערי ריינהארט 2007-12-11 23:44:13 UTC
see the behaviour and worarounds at
[[wik:yi:template talk:style/ril]]
Comment 4 lɛʁi לערי ריינהארט 2007-12-25 17:42:19 UTC
(In reply to comment #3)
> see the behaviour and worarounds at
> [[wik:yi:template talk:style/ril]]

should read [[wikt:yi:template talk:style/ril]]


Comment 5 Mark A. Hershberger 2011-05-14 13:35:13 UTC
fixed now
Comment 6 lɛʁi לערי ריינהארט 2012-05-13 05:07:06 UTC
Hi! Sorry for reopening this.
Please see http://en.wikipedia.org/?curid=1003506#bugzilla:012225

My signature was always interfearing with the digis ( being of directionality nutral).

I repeat what is written at the url from above:

~~~~ should be equivalent in a LTR wiki to:
<span dir="ltr" /><span dir="ltr">~~~<span /><span dir="ltr" /> <span dir="ltr">~~~~~<span />

the technique is similar as described at bug 36803

Best regards Reinhardt
Comment 7 lɛʁi לערי ריינהארט 2012-05-13 05:09:14 UTC
reposting without escaping "<" and ">"

~~~~ should be equivalent in a LTR wiki to:
<span dir="ltr" /><span dir="ltr">~~~<span /><span dir="ltr" /> <span dir="ltr">~~~~~<span />

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


Navigation
Links