Add a CSS class to the metadata/EXIF table row which shows the text 'Show extended...
authorRaimond Spekking <raymond@users.mediawiki.org>
Thu, 8 Sep 2011 09:16:42 +0000 (09:16 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Thu, 8 Sep 2011 09:16:42 +0000 (09:16 +0000)
resources/mediawiki.action/mediawiki.action.view.metadata.js
skins/common/commonPrint.css

index 378dd15..b791cab 100644 (file)
@@ -14,7 +14,7 @@ jQuery( document ).ready( function( $ ) {
                return;
        }
 
-       var $row = $( '<tr></tr>' );
+       var $row = $( '<tr class="mw-metadata-show-hide-extended"></tr>' );
        var $col = $( '<td colspan="2"></td>' );
 
        var $link = $( '<a></a>', {
index e4b0b47..2e1951b 100644 (file)
@@ -345,3 +345,8 @@ p {
        widows: 3;
        orphans: 3;
 }
+
+/* Metadata/EXIF rendering */ 
+tr.mw-metadata-show-hide-extended {
+       display: none;
+}