Revert 30902: it was (as the style rule clearly said) putting a page break before...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 13 Feb 2008 17:58:54 +0000 (17:58 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 13 Feb 2008 17:58:54 +0000 (17:58 +0000)
We could add page-break-after: avoid;, but I don't think this is necessary or useful unless someone can demonstrate that it actually changes some browser's behavior.  Most browsers don't support the avoid value of page-break-*, and I strongly suspect that those that do already have this rule for h* in their default stylesheets, per the CSS 2.1 suggested default HTML 4 stylesheet: <http://www.w3.org/TR/CSS21/sample.html>

RELEASE-NOTES
includes/DefaultSettings.php
skins/common/commonPrint.css

index bf01598..f5ac33b 100644 (file)
@@ -392,7 +392,6 @@ 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
 * (bug 12846) IE rtl.css issue in RTL wikis special:Preferences when selecting an
   LTR user language
 
index 6edcc3a..e8e58be 100644 (file)
@@ -1325,7 +1325,7 @@ $wgCacheEpoch = '20030516000000';
  * to ensure that client-side caches don't keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '115';
+$wgStyleVersion = '116';
 
 
 # Server-side caching:
index 734e504..b0aad3d 100644 (file)
@@ -129,10 +129,8 @@ ul {
     border-top: 1px solid black;
 }
 
-h1, h2, h3, h4, h5, h6
-{
+h1, h2, h3, h4, h5, h6 {
        font-weight: bold;
-       page-break-before: always;
 }
 
 p, .documentDescription {