Last modified: 2011-04-26 15:07:04 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 12243 - « main.css » ( and « rtl.css » ) should use the directionality « inherit? » for « non-textual entities »
« main.css » ( and « rtl.css » ) should use the directionality « inherit? » f...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: rtl css
  Show dependency treegraph
 
Reported: 2007-12-08 17:09 UTC by lɛʁi לערי ריינהארט
Modified: 2011-04-26 15:07 UTC (History)
4 users (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2007-12-08 17:09:02 UTC
Dear friends,

In order to reproduce the error it would best to log in at a LTR wiki as at [[commons:]] or at [[meta]]
and add « ?uselang=foo » behind the url, where foo is one of the languages

« [[ar:]] », « [[arc:]] », « [[dv:]] », « [[fa:]] », « [[he:]] », « [[ks:]] »,
« [[ps:]] », « [[sd:]] », « [[ug:]] », « [[ur:]] », « [[yi:]] »

While serching for « .gif > in « main.css »

I found

li#pt-login {
	background: url(user.gif) top left no-repeat;
	padding-left: 20px;
	text-transform: none;
}

also

#bodyContent a[href ^="https://"],
.link-https {
	background: url(lock_icon.gif) center right no-repeat;
	padding-right: 16px;
}
#bodyContent a[href ^="mailto:"],
.link-mailto {
	background: url(mail_icon.gif) center right no-repeat;
	padding-right: 18px;
}
#bodyContent a[href ^="news://"] {
	background: url(news_icon.png) center right no-repeat;
	padding-right: 18px;
}
#bodyContent a[href ^="ftp://"],
.link-ftp {
	background: url(file_icon.gif) center right no-repeat;
	padding-right: 18px;
}
#bodyContent a[href ^="irc://"],
.link-irc {
	background: url(discussionitem_icon.gif) center right no-repeat;
	padding-right: 18px;
}

and some others.


I was woundering about the *fixed* directionality defined there.


I remembered
https://bugzilla.mozilla.org/show_bug.cgi?id=179393#c11

----
Created an attachment (i d = 206193) [details]
  this is https://bugzilla.mozilla.org/attachment.cgi?id=206193
screen dump relating to rendering of "non-textual entities" - difference
between Firefox and IE

(In reply to comment #3)
> CSS 2 (http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-unicode-bidi) says:
> 
> |In this process, non-textual entities such as images are treated as neutral
> |characters, unless their 'unicode-bidi' property has a value other than
> |'normal', in which case they are treated as strong characters in the
> |'direction' specified for the element
----


I assume that using the directionality of the the *surrounding block* for the « .css » of the « non-textual entities » could solve a lot of problems both for the .gif's, the checkboxes used in prefreneces, in page editing and in many special pages.

This should solve (at least) the following bugs:

bug 001061 (RTL) external website icon displays in the text and makes it unreadable
bug 003956 BiDi: user icon should be displayed properly regardles of the LTR / RTL
and many others from http://bugzilla.wikimedia.org/showdependencytree.cgi?id=745

Please add the involved bug reports in the « Blocks: » filed.

Thanks in advance for all your efforts!
Best regards Reinhardt [[user:Gangleri]]

reference links:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/monobook/rtl.css?view=markup
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/monobook/rtl.css?view=markup

http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-unicode-bidi
http://www.google.de/search?hl=en&num=100&as_q=directionality&as_epq=non-textual+entities

http://www.google.de/search?as_q=&hl=en&num=10&as_sitesearch=w3.org&q=directionality+inherit
http://www.google.de/search?as_q=&hl=en&num=10&as_epq=directionality+inherit
http://www.google.de/search?as_q=&hl=en&num=10&as_epq=inherit+directionality

[[wikt:yi:user:לערי ריינהארטi/tests/bugzilla#RTL_and_BiDi_issues]]
contains an older list of RTL projects or languages that are or will using both LTR and RTL scripts


available attachments at « MediaZilla: »

http://bugzilla.wikimedia.org/attachment.cgi?id=1061
http://bugzilla.wikimedia.org/attachment.cgi?id=193
and many more
Comment 2 lɛʁi לערי ריינהארט 2007-12-08 23:26:41 UTC
(In reply to comment #0)
...
> While serching for « .gif > in « main.css »
> 
> I found

also a .png at

#bodyContent a.external,
#bodyContent a[href ^="gopher://"] {
	background: url(external.png) center right no-repeat;
	padding-right: 13px;
}
Comment 3 Jan Paul Posma 2011-04-26 15:07:04 UTC
This has been fixed when CSSJanus was introduced.

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


Navigation
Links