User:Subfader/

My solution without patching includes/ImagePage.php:

I use my old Media template, so I won't need to change all the pages, but most important: It's a combination of all 3 functions:
 * Link to desc page of file
 * Play the file
 * Give a download link to the file including Alternate Title

Therefor InlineMP3.php uses the direct link code again on line 92.

Possible code:

This insert code uses the following template which includes  then:

is an extension to display either unclickable images or to display images that link somewhere else instead of the desc page of the image.

So the fix is to link use to have the "page with the insert code" listed on the desc page of file Foo. But the generated link is hidden by display:none but the markup is working in the "background" as MediaWiki requires it to.

Note: This may be a secruity issue for you since $wgSpamRegex disables using display:none.

= Usage Help =