From 620527ad0e43bea03c267600fa60e1b37565951c Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 29 Apr 2008 20:48:17 +0000 Subject: [PATCH] * (bug 13860) Fix "Justify paragraphs" option for Modern skin 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 | 2 ++ includes/Skin.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 858a2e1077..2c6256e093 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/includes/Skin.php b/includes/Skin.php index b60709cef3..854d6ca49a 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -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"; -- 2.20.1