Difference between revisions of "MediaWiki:External image whitelist"
From FireSpeakerWiki
Jump to navigationJump to searchFirespeaker (talk | contribs) |
Firespeaker (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
# my github | # my github | ||
− | ^https://github.com/jonorthwash/$ | + | ^https://github.com/jonorthwash/.*\.png$ |
+ | # ICEDPaleography | ||
+ | ^https://github.com/ICEDPaleography/.*\.png$ | ||
#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 16:38, 14 October 2018
#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$ # all images from commons ^http://upload\.wikimedia\.org/ # my github ^https://github.com/jonorthwash/.*\.png$ # ICEDPaleography ^https://github.com/ICEDPaleography/.*\.png$ #Put all regex fragments above this line. Leave this line exactly as it is