From 8765cf27503440d4183583ac8a804fe154be3b5c Mon Sep 17 00:00:00 2001 From: Tom Hutchison Date: Sun, 12 Mar 2017 15:35:35 -0400 Subject: [PATCH] Making massive improvements for print-css and hide-for-print. Will now print from regular page without having to go to printable version link. --- Pivot.skin.php | 20 ++++++++++---------- assets/stylesheets/pivot-print.css | 10 ++++++++++ assets/stylesheets/pivot.css | 6 ++---- 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/Pivot.skin.php b/Pivot.skin.php index 200c333..f246a5d 100644 --- a/Pivot.skin.php +++ b/Pivot.skin.php @@ -62,7 +62,7 @@ class pivotTemplate extends BaseTemplate { public function execute() { global $wgUser; global $wgPivotFeatures; - //wfSuppressWarnings(); + wfSuppressWarnings(); $this->html('headelement'); switch ($wgPivotFeatures['usePivotTabs']) { case true: @@ -94,7 +94,7 @@ class pivotTemplate extends BaseTemplate {
"; ?> -