/** * Exif metadata display for MediaWiki file uploads * * Add an expand/collapse link and collapse by default if set to * (with JS disabled, user will see all items) */ ( function ( mw, $ ) { $( function () { var $row, $col, $link, showText = mw.msg( 'metadata-expand' ), hideText = mw.msg( 'metadata-collapse' ), $table = $( '#mw_metadata' ), $tbody = $table.find( 'tbody' ); if ( !$tbody.length ) { return; } $row = $( '
' ); $col = $( '