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

--- Comment #5 from Aryeh Gregor <simetrical+wikib...@gmail.com> 2010-12-07 
18:20:58 UTC ---
(In reply to comment #4)
> Styling html and body is the only way to do things that can be done in 
> Monobook
> with #globalWrapper (and Vector does not have a #globalWrapper), such as 
> making
> a page narrower:
> 
> html {
>     background: white; /* needed to prevent body from filling the canvas */
> }
> body {
>     background: #f3f3f3;
>     margin: 0 auto;
>     width: 80%;
> }

True.

> Whether rules apply to <body> or <html> does not make a difference in most
> cases.

It makes a big difference if some rules are applied to both elements, though,
which will be the case if both have the classes during a transition period.  So
I don't see any way to switch the classes without a level of disruption that
doesn't seem warranted by the benefits.

> But now I see another problem: Page names can contain non-ASCII
> characters and non-ASCII characters must not occur before the charset has been
> declared. This would mean that the charset must be declared in the HTTP header
> (right now this is not strictly necessary because no non-ASCII characters 
> occur
> before the <meta charset> element).

I think MediaWiki is careful to do this anyway, so this might not be a big
deal.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to