MediaWiki:External image whitelist: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Allowed images from openfarmtech.org, commons and Photobucket)
 
(Added blockchain.info hostname)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:


# This is case-insensitive
# This is case-insensitive
openfarmtech\.org/
opensourceecology\.org/


# Images from commons
# Images from commons
Line 13: Line 13:
# Photobucket
# Photobucket
.*?\.photobucket\.com/
.*?\.photobucket\.com/
# Youtube thumbnails
# See [[Template:YoutubePopup]]
# See http://stackoverflow.com/questions/2068344/how-to-get-thumbnail-of-youtube-video-link-using-youtube-api
img\.youtube\.com/
# Bitcoin
blockchain\.info/


#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>

Latest revision as of 18:58, 9 January 2013

#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
opensourceecology\.org/

# Images from commons
upload\.wikimedia\.org/

# Photobucket
.*?\.photobucket\.com/

# Youtube thumbnails
# See [[Template:YoutubePopup]]
# See http://stackoverflow.com/questions/2068344/how-to-get-thumbnail-of-youtube-video-link-using-youtube-api
img\.youtube\.com/

# Bitcoin
blockchain\.info/

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