From: Raimond Spekking Date: Thu, 8 Sep 2011 09:16:42 +0000 (+0000) Subject: Add a CSS class to the metadata/EXIF table row which shows the text 'Show extended... X-Git-Tag: 1.31.0-rc.0~27799 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=795f069269dac6dc77cb8d3f17e550da7c4dfb47;p=lhc%2Fweb%2Fwiklou.git Add a CSS class to the metadata/EXIF table row which shows the text 'Show extended details' and hide this row for printing. Useless because you cannot click on the paper :) --- diff --git a/resources/mediawiki.action/mediawiki.action.view.metadata.js b/resources/mediawiki.action/mediawiki.action.view.metadata.js index 378dd155bc..b791cabd87 100644 --- a/resources/mediawiki.action/mediawiki.action.view.metadata.js +++ b/resources/mediawiki.action/mediawiki.action.view.metadata.js @@ -14,7 +14,7 @@ jQuery( document ).ready( function( $ ) { return; } - var $row = $( '' ); + var $row = $( '' ); var $col = $( '' ); var $link = $( '', { diff --git a/skins/common/commonPrint.css b/skins/common/commonPrint.css index e4b0b47c2b..2e1951baf3 100644 --- a/skins/common/commonPrint.css +++ b/skins/common/commonPrint.css @@ -345,3 +345,8 @@ p { widows: 3; orphans: 3; } + +/* Metadata/EXIF rendering */ +tr.mw-metadata-show-hide-extended { + display: none; +}