Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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.