From 6e6d23ad20a261088884667f59cf9fe3bf4bd310 Mon Sep 17 00:00:00 2001 From: Huji Date: Wed, 13 Feb 2008 09:10:36 +0000 Subject: [PATCH] (bug 12972) Add page break rules to the "print" style-sheet --- RELEASE-NOTES | 1 + includes/DefaultSettings.php | 2 +- skins/common/commonPrint.css | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 99025bc4c8..7e0a04668b 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -392,6 +392,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 11567) Fix error checking for PEAR::Mail. UserMailer::send() now returns true-or-WikiError, which seems to be the calling convention expected by half its callers already +* (bug 12972) Add page break rules to the "print" style-sheet == Parser changes in 1.12 == diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 1fa5c7584f..6edcc3aa7e 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1325,7 +1325,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '114'; +$wgStyleVersion = '115'; # Server-side caching: diff --git a/skins/common/commonPrint.css b/skins/common/commonPrint.css index a7d49e3643..734e50490c 100644 --- a/skins/common/commonPrint.css +++ b/skins/common/commonPrint.css @@ -132,6 +132,7 @@ ul { h1, h2, h3, h4, h5, h6 { font-weight: bold; + page-break-before: always; } p, .documentDescription { -- 2.20.1