Fix thumbnails not working for larger SVGs
See linked docs in code comments
This commit is contained in:
parent
2358ed00db
commit
11c7019bfa
@ -170,6 +170,10 @@ $wgGroupPermissions['team']['editprotected'] = true;
|
||||
$wgGroupPermissions['sysop']['edit'] = true;
|
||||
$wgEnableUploads = true;
|
||||
$wgFileExtensions = [ 'png', 'gif', 'jpg', 'jpeg', 'webp', 'svg' ];
|
||||
// Parse large SVGs, so they can be thumbnailed without errors
|
||||
// https://phabricator.wikimedia.org/T199737
|
||||
// https://www.mediawiki.org/wiki/Manual:$wgSVGMetadataCutoff
|
||||
$wgSVGMetadataCutoff = 20000000; // 20 MB
|
||||
|
||||
$wgExtraNamespaces[100] = "Feature";
|
||||
$wgNamespacesWithSubpages[100] = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user