https://bugzilla.wikimedia.org/show_bug.cgi?id=8





--- Comment #20 from Aryeh Gregor <[email protected]>  2009-11-29 
16:58:34 UTC ---
As of r59550, it's possible to change the background color on a per-<math>
basis using \pagecolor and \definecolor.

(In reply to comment #18)
> Could it not be possible to have per skin settings like
> [[MediaWiki:Math-foreground/Monobook]] and
> [[MediaWiki:Math-background/Monobook]]? That should solve the black-on-black
> problem stated in comment #1.

The problem with transparent math backgrounds is IE6 at this point. 
Black-on-black styles isn't a problem, since the style can just do .tex {
background: white } to get the same display as now (in non-IE6 browsers).  But
alpha transparency doesn't work on IE6, and it's not acceptable to degrade
display of all math articles for 15% of our users, for the sake of a tiny
number of users viewing equations outside of mainspace, or otherwise on
non-white backgrounds.

If someone can come up with a PNG transparency fix for IE6 that doesn't degrade
performance or otherwise cause problems, even on pages with hundreds of
equations, then we can use that.  Otherwise, we won't (IMO) output transparent
backgrounds by default until IE6 falls to, say, <1% market share.

But if someone wants to submit a patch that allows configuration of default
math background color in LocalSettings.php, possibly including an
off-by-default option to make it transparent, that would be fine, which is why
this bug is still open.  I'm willing to review it if it's reasonably short (I
shouldn't think it would be more than 20 lines).


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to