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

--- Comment #41 from Robin Pepermans (SPQRobin) <[email protected]> 
2011-06-15 17:09:48 UTC ---
Nikerabbit introduced $wgBetterDirectionality in r69185 (this was not yet
mentioned here but is in fact very useful for working to resolve this bug).
When that variable is set to true, the bodyContent contains a div with a lang
and dir attribute depending on the site content language.

When r81622 is combined with the changes made under $wgBetterDirectionality
(see following code), the main issue mentioned in comment 40 is resolved.

In ResourceLoaderContext.php:
if( $wgBetterDirectionality ) {
    $this->direction = Language::factory( $this->language )->getDir();
} else {
    $this->direction = $wgContLang->getDir();
}

I would commit it, but I thought I'd first post it here.

If this is done, there are only some relatively smaller bugs left (as far as I
can see) that can be fixed under $wgBetterDirectionality. When most bugs are
fixed, it can eventually be set to true by default.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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