Difference between revisions of "MediaWiki:External image whitelist"
From FireSpeakerWiki
Jump to navigationJump to searchFirespeaker (talk | contribs) (Created page with " #Leave this line exactly as it is<pre> #Put regular expression fragments (just the part that goes between the //) below #These will be matched with the URLs of external (hotl...") |
Firespeaker (talk | contribs) |
||
Line 5: | Line 5: | ||
#Lines beginning with # are treated as comments | #Lines beginning with # are treated as comments | ||
#This is case-insensitive | #This is case-insensitive | ||
− | |||
− | |||
#Used on [[Manual:$wgAllowExternalImages]] to show an example, so it'd be nice if said example worked | #Used on [[Manual:$wgAllowExternalImages]] to show an example, so it'd be nice if said example worked | ||
^https?://en\.wikipedia\.org/upload/b/bc/Wiki\.png$ | ^https?://en\.wikipedia\.org/upload/b/bc/Wiki\.png$ | ||
+ | |||
+ | #Put all regex fragments above this line. Leave this line exactly as it is</pre> |
Revision as of 02:42, 21 January 2001
#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 #Used on [[Manual:$wgAllowExternalImages]] to show an example, so it'd be nice if said example worked ^https?://en\.wikipedia\.org/upload/b/bc/Wiki\.png$ #Put all regex fragments above this line. Leave this line exactly as it is