Changes

Jump to navigation Jump to search
explain
Line 1: Line 1:  
This page is for testing external image inclusion.  
 
This page is for testing external image inclusion.  
 +
 +
Here's our set-up as of 1 April:
 +
 +
<pre>
 +
# Allow the use of the <img> tag; could use this for Main Page
 +
# but there is no apparent way to limit the allowed URLs.
 +
#$wgAllowImageTag = true;
 +
 +
# Allow a whitelist of image sources, needed for Main Page
 +
# Whitelist is at http://wiki.aapg.org/MediaWiki:External_image_whitelist
 +
$wgEnableImageWhitelist = true;
 +
 +
# InstantCommons allows wiki to use images from http://commons.wikimedia.org
 +
$wgUseInstantCommons = true;
 +
</pre>
 +
 +
So we are allowing aapg.org images as 'naked' URLs (see below), but not allowing the <code><img></code> tag. What follows are various test cases. Some of them might do silly things, depending on what's in '''LocalSettings.php''' right now.
    
==From this wiki==
 
==From this wiki==
 +
Currently, these work because images on this wiki are whitelisted.
    
http://wiki.aapg.org/images/8/88/MainPage_Newfoundland-hero.jpg
 
http://wiki.aapg.org/images/8/88/MainPage_Newfoundland-hero.jpg

Navigation menu