Difference between revisions of "MediaWiki:External image whitelist"

From AquaPedia Case Study Database
Jump to: navigation, search
(edited to allow images from sources we like.)
 
Line 10: Line 10:
 
http://upload\.wikimedia\.org/
 
http://upload\.wikimedia\.org/
 
#allow images from our whitelist dumping ground
 
#allow images from our whitelist dumping ground
http://aquapedia\.waterdiplomacy.\org\whitelist/
+
http://aquapedia\.waterdiplomacy.\org\whitelist/*?
  
 
#Put all regex fragments above this line. Leave this line exactly as it is</pre>
 
#Put all regex fragments above this line. Leave this line exactly as it is</pre>

Revision as of 10:57, 6 August 2012

#Leave this line exactly as it is
#Put regular expression fragments (just the part that goes between the //) below
#These will be matched with the URLs of external (hotlinked) images
#Those that match will be displayed as images, otherwise only a link to the image will be shown
#Lines beginning with # are treated as comments
#This is case-insensitive


#allow images from wikimedia commons
http://upload\.wikimedia\.org/
#allow images from our whitelist dumping ground
http://aquapedia\.waterdiplomacy.\org\whitelist/*?

#Put all regex fragments above this line. Leave this line exactly as it is