Last modified: 2014-09-24 00:06:12 UTC
Created attachment 6869 [details] patch against r59937 The current image pages are very inflexible, this patch divides it up into several rough sections each of which can be toggled by the contents of a global array $wgImagePageSections. This allows for almost completely customisable image page output using existing hooks.
Created attachment 6880 [details] patch against 60039 This is a more robust configuration arrangement.
If customizing file pages is to be done, a global configuration variable is not the way to go about it. I would much rather see something like Tim did with the sidebar, where certain words (SEARCH, TOOLBOX) are given values for moving/hiding sections. Something similar could be useful here.
Conrad, thanks for the patch. I'm adding "reviewed" per the review Chad gave in comment 2.
Does https://www.mediawiki.org/wiki/Extension:MultimediaViewer solve your problem?
Conrad: Could you answer comment 4, please?
Not really, when I was working on this it was for audio files: http://www.hymnswithoutwords.com/hymns/File:Meditation_on_the_Angels.mp3