From 96e97dc84278da9ff48a85afdeb70ab328197d86 Mon Sep 17 00:00:00 2001 From: River Tarnell Date: Fri, 1 Jul 2005 11:05:14 +0000 Subject: [PATCH] * (bug 2609) Fix text justification preference with MonoBook skin. --- RELEASE-NOTES | 1 + includes/Skin.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 4685702491..21d4b73fd8 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -437,6 +437,7 @@ Various bugfixes, small features, and a few experimental things: * (bug 2630) Indicate no-longer-valid cached entries in BrokenRedirects list * (bug 2644, 2645) "cur" diff links in page history, watchlist and recentchanges should specify current ID explicitly. +* (bug 2609) Fix text justification preferenced with MonoBook skin. === Caveats === diff --git a/includes/Skin.php b/includes/Skin.php index a2f4ad826d..140e6ade87 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -286,7 +286,7 @@ a.stub:after, #quickbar a.stub:after { END; } if( $wgUser->getOption( 'justify' ) ) { - $s .= "#article { text-align: justify; }\n"; + $s .= "#article, #bodyContent { text-align: justify; }\n"; } if( !$wgUser->getOption( 'showtoc' ) ) { $s .= "#toc { display: none; }\n"; -- 2.20.1