Only show 'Show extended details' for file metadata having extra rows
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 6 Dec 2013 21:36:26 +0000 (22:36 +0100)
committerBrian Wolff <bawolff+wn@gmail.com>
Sat, 14 Dec 2013 04:23:42 +0000 (04:23 +0000)
commita85fc78386e85a0b8df6d4fcc66ed4bb783cc0d7
tree1e81215c4dc7b5a6e9b4da704d6328d9df6847a5
parent3d9c112853e06d8b5b12b993119f831ef9e286d2
Only show 'Show extended details' for file metadata having extra rows

When a file only has default visible metadata, there is no need
to allow extending the optional metadata, because there are none.

Also added comments in ImagePage.php and shared.css because this
system is scattered all over and each piece seems disconnected
(the shared.css block was incorrectly documented as only being
used to initially hide rows, wheareas in practice that never
happens and instead the collapsed state is toggled on click).

Change-Id: I595fed425135c1e8dd341258633217428bcb4154
includes/ImagePage.php
resources/mediawiki.action/mediawiki.action.view.metadata.js
skins/common/shared.css