Merge pull request 'mediawiki: allow svg, pdf file type uploads' (#312) from mediawiki-allow-svg-uploads into main
Reviewed-on: #312 Reviewed-by: hensoko <hensoko@noreply.git.pub.solar>
This commit is contained in:
commit
c54c14cc60
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ let
|
|||
$wgUploadDirectory = "/var/www/html/uploads";
|
||||
$wgUploadPath = $wgScriptPath . "/uploads";
|
||||
|
||||
$wgFileExtensions = [ 'png', 'gif', 'jpg', 'jpeg', 'webp', 'svg', 'pdf', ];
|
||||
|
||||
$wgUseImageMagick = true;
|
||||
$wgImageMagickConvertCommand = "/usr/bin/convert";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue