* (bug 13860) Fix "Justify paragraphs" option for Modern skin
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 29 Apr 2008 20:48:17 +0000 (20:48 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 29 Apr 2008 20:48:17 +0000 (20:48 +0000)
Adds the appropriate id for Modern skin to the set of justify CSS thingies.
This isn't totally satisfactory; the various skins should be refactored to unify this stuff better, but it'll do for now.

RELEASE-NOTES
includes/Skin.php

index 858a2e1..2c6256e 100644 (file)
@@ -222,6 +222,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Added 'application/x-dia-diagram' MediaWiki's known MIME types
 * (bug 13866) skins/common/shared.css - invalid attribute fixing
 * Hide edit section links on Special:Undelete
+* (bug 13860) Fix "Justify paragraphs" option for Modern skin
+
 
 === API changes in 1.13 ===
 
index b60709c..854d6ca 100644 (file)
@@ -516,7 +516,7 @@ a.stub:after, #quickbar a.stub:after {
 END;
                }
                if( $wgUser->getOption( 'justify' ) ) {
-                       $s .= "#article, #bodyContent { text-align: justify; }\n";
+                       $s .= "#article, #bodyContent, #mw_content { text-align: justify; }\n";
                }
                if( !$wgUser->getOption( 'showtoc' ) ) {
                        $s .= "#toc { display: none; }\n";