There are two settings in the preferences that seem to affect how media are viewed in MediaWiki. Both suggest to me to disable MediaViewer (and may have done that, at some point). I suggest to combine them or otherwise clarify.
One setting is in the 'appearance' tab ('enable MediaViewer'), the other is in 'gadgets' ('Redirect image links to Commons for files hosted there' - Dutch translation has a stronger suggestion).