Module:File: Difference between revisions
From Neodyland Wiki
More actions
m Changed protection settings for "Module:File": High-risk Lua module ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite)) |
Add webp to list of supported file types |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
-- Module for handling Media files (Origin: Wikimedia Commons) | -- Module for handling Media files (Origin: Wikimedia Commons) | ||
require(' | require('strict') | ||
-- ================================================== | -- ================================================== | ||
| Line 25: | Line 25: | ||
TIFF = 'image/tiff', | TIFF = 'image/tiff', | ||
WEBM = 'video/webm', | WEBM = 'video/webm', | ||
WEBP = 'image/webp', | |||
WAV = 'audio/x-wav', | WAV = 'audio/x-wav', | ||
XCF = 'image/xcf', | XCF = 'image/xcf', | ||