--- Comment #5 from Aryeh Gregor <> 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%;
> }


> 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

Configure bugmail:
------- 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

Reply via email to