MediaWiki:External image whitelist: Difference between revisions

From questden
Jump to navigationJump to search
(Trying some magic.)
 
m (TEMPORARILY allow my domain to test something for Fanart template)
Line 8: Line 8:
# Permit hotlinking images from our own domain
# Permit hotlinking images from our own domain
^http://tgchan\.org/
^http://tgchan\.org/
# TEMPORARY
^http://www\.lionsphil\.co\.uk/


#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 17:33, 6 September 2011

#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

# Permit hotlinking images from our own domain
^http://tgchan\.org/
# TEMPORARY
^http://www\.lionsphil\.co\.uk/

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