MediaWiki

Difference between revisions of "External image whitelist"

From MusicTechWiki

 
(No difference)

Latest revision as of 18:35, 7 September 2021

#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

^https://.*?\.amazonaws\.com/
#Allow dl.musictechwiki.com
^http://dl\.musictechwiki\.com/Public/Images/
#Allow MusicTechWiki
^https://www\.musictechwiki\.com/
#Allow MusicTech dev
^https://dev\.musictechwiki\.com/
#Allow Github Images
^https://user-images\.githubusercontent\.com
#Put all regex fragments above this line. Leave this line exactly as it is