MediaWiki:External image whitelist
Senatorhung (Talk | contribs) m (Undo revision 49743 by Senatorhung (Talk)) |
Senatorhung (Talk | contribs) m |
||
Line 16: | Line 16: | ||
# Adding All Image Files on Official Galaxy Legion Site: | # Adding All Image Files on Official Galaxy Legion Site: | ||
- | ^https?://galaxylegion\.erismedia\.netdna-cdn\.com\/. | + | ^https?://galaxylegion\.erismedia\.netdna-cdn\.com\/\.(png$|jpg$|gif$|bmp$) |
- | ^https?://galaxylegion-erismedia\.netdna-ssl\.com\/. | + | ^https?://galaxylegion-erismedia\.netdna-ssl\.com\/\.(png$|jpg$|gif$|bmp$) |
# https://galaxylegionfb.com/galaxylegion/images/icons/credits.png | # https://galaxylegionfb.com/galaxylegion/images/icons/credits.png | ||
- | ^https?://galaxylegionfb\.com\/. | + | ^https?://galaxylegionfb\.com\/\.(png$|jpg$|gif$|bmp$) |
- | ^https?://galaxylegion\.com\/. | + | ^https?://galaxylegion\.com\/\.(png$|jpg$|gif$|bmp$) |
#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> | ||
[[Category:AdminPages]] | [[Category:AdminPages]] |
Revision as of 09:57, 17 December 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 (hot-linked) 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 #Exmaple Used on [[Manual:$wgAllowExternalImages]] to show an example, so it'd be nice if said example worked #Example: ^https?://en\.wikipedia\.org/upload/b/bc/Wiki\.png$ # Example Specific JPG from Galaxy Legion Site # Example: ^https?://galaxylegion\.erismedia\.netdna-cdn\.com/galaxylegion/images/missions/tonm.jpg # Adding All Image Files on Official Galaxy Legion Site: ^https?://galaxylegion\.erismedia\.netdna-cdn\.com\/\.(png$|jpg$|gif$|bmp$) ^https?://galaxylegion-erismedia\.netdna-ssl\.com\/\.(png$|jpg$|gif$|bmp$) # https://galaxylegionfb.com/galaxylegion/images/icons/credits.png ^https?://galaxylegionfb\.com\/\.(png$|jpg$|gif$|bmp$) ^https?://galaxylegion\.com\/\.(png$|jpg$|gif$|bmp$) #Put all regex fragments above this line. Leave this line exactly as it is