Yes, here it is:
# when set to false, this will not block any uploads even if not in the
$wgFileExtensions list
$wgStrictFileExtensions = false;
# Not even necessary when $wgStrictFileExtensions = false; then it will list
them as preferred instead of allowed file types. But, will prevent warning
messages.
$wgFileExtensions = array(
'png',
'gif',
'jpg',
'jpeg',
'ppt',
'pdf',
'djvu',
'psd',
'svg',
'mp3',
'xls',
'xlsx',
'swf',
'doc',
'docx',
'odt',
'odc',
'odp',
'odg',
'mpp',
'ogg',
'flv',
'avi',
'wmv',
'm2v',
'qt',
'mpg',
'mpeg',
'mp4',
'mp3',
'txt',
'gpg',
);
John W Foster-3 wrote:
>
> On Sun, 2011-11-13 at 14:38 -0800, badon wrote:
>> I switched to rsvg, and I notice no difference. I tried deleting the
>> previous
>> PNG created by ImageMagick, but although it's being served by the server,
>> I
>> can't find it in the directory:
>>
>> http://www.coincompendium.com/wiki/images/thumb/4/4c/Template-info.svg/117px-Template-info.svg.png
>>
>> Ideas? This seems strange that I'm having so much trouble with images. Is
>> it
>> caused by me configuring things incorrectly, or is it just a quirk of my
>> server? Here's my localsettings.php:
>>
>> ## To enable image uploads, make sure the 'images' directory
>> ## is writable, then set this to true:
>> $wgEnableUploads = true;
>> $wgHashedUploadDirectory = true;
>> $wgUseImageMagick = true;
>> $wgImageMagickConvertCommand = "/usr/bin/convert";
>>
>> # http://www.mediawiki.org/wiki/Manual:Image_Administration#SVG
>> $wgAllowTitlesInSVG = true;
>> $wgSVGConverter = 'rsvg';
>> #
>> http://www.mediawiki.org/wiki/Manual:Errors_and_Symptoms#Image_Thumbnails_not_working_and.2For_appearing
>> $wgSVGConverterPath = "/usr/bin";
>> $wgUseImageResize = true;
>> # https://www.mediawiki.org/wiki/InstantCommons
>> $wgUseInstantCommons = true;
>> # http://www.mediawiki.org/wiki/Manual:Thumb.php
>> # $wgGenerateThumbnailOnParse = false;
>>
>> Notice the only change is $wgSVGConverter = 'rsvg';
>>
>>
>>
>>
>> badon wrote:
>> >
>> > OK, while I'm updating imagemagick or switching to rsvg, any guesses
>> how
>> > to deal with the URL resizing 404?
>> >
>> >
>> >
>> >
>> > Platonides wrote:
>> >>
>> >> On 11/11/11 23:37, badon wrote:
>> >>>
>> >>> OK, I ran it again but to a different directory, I got the exact same
>> >>> image
>> >>> you see on the site: distorted. So, ImageMagick works but it's giving
>> me
>> >>> distorted PNG's.
>> >>
>> >> Great. So the culprit was imagemagick. You can try to update
>> ImageMagick
>> >> to a newer version with better SVG support, or try using a different
>> >> tool (such as rsvg) for SVG->PNG transformation.
>> >>
>> >>
>> >> _______________________________________________
>> >> MediaWiki-l mailing list
>> >> [email protected]
>> >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>> >
>
> Do you have a line like this in your LocalSettinngs.php ??
>
> $wgFileExtensions = array( 'png', 'eps', 'ps', 'gif', 'jpg', 'jpeg',
> 'svg', 'ppt', 'pdf', 'psd', 'mp3', 'xls', 'xlsx', 'swf', 'doc','docx',
> 'odt', 'odc', 'odp', 'odg', 'mpp');
>
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
--
View this message in context:
http://old.nabble.com/Help%3A-URL-resizing-404%2C-SVG%27s-render-distorted-tp32801191p32843021.html
Sent from the WikiMedia General mailing list archive at Nabble.com.
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l