Board Thread:Support Requests - Getting Technical/@comment-176.253.30.21-20150324090736

When I link to my images using an image template or not, I link to ..../mediawiki/index.php/File:image-name.jpg

whereas, all Template examples, eg. Template:Auto_images,  link to ...../Template:Auto_images#/media/File:image-name.jpg

How do I customize my wiki to link directly to the "Original file" at .... /mediawiki/images/image-name.jpg or at ..../Template:Auto_images#/media/File:image-name.jpg

as done in the Template examples ? 