Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On a MediaWiki wiki, we've set $wgAllowExternalImages which enables us to display inline images from another source without uploading it to the wiki (we just specify the URL).

However, this only works for http images. I'd like to display an https image (from our company intranet, to which the users of wiki also have access).

Is there any way to do this?

share|improve this question

1 Answer 1

mediawiki's includes/Parser.php appears to contain the code for handling this. the version i have at hand defines EXT_IMAGE_REGEX to check image urls, and this appears to allow both http and https urls... maybe you are using some ancient version that does not include https there?

(there is also an AllowExternalImagesFrom setting to allow images from specific domains only, but that will not override EXT_IMAGE_REGEX)

share|improve this answer
    
No, I was using the latest version but thanks for checking. So you think it should work as is? –  Wikis Dec 22 '10 at 9:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.