[Mediawiki-l] File upload not activated

Hans Hoogers - Scramble hans.hoogers at scramble.nl
Thu Oct 12 09:36:07 UTC 2006


Add the next line to your LocalSettings.php too:

$wgFileExtensions = array( 'png', 'jpg', 'jpeg', 'gif' );

Adjust the extensions array as necessary.

Regards,


Hans Hoogers
Dutch Aviation Society/Scramble
---------------------------------------------
website http://www.scramble.nl
e-mail hans.hoogers at scramble.nl

<citaat van="Indraveni">
> Hi,
>
>   I edited that, now what ever the (png or jpg), it is saying
>  "." is not a recommended image file format.
>
>   why so??
>
> Hans Hoogers - Scramble <hans.hoogers at scramble.nl> wrote: Hi,
>
> Locate the line containing
> $wgEnableUploads  = true;
> Probably this is still commented; just delete the # in front of it.
>
> Regards
>
>
> Hans Hoogers
> Dutch Aviation Society/Scramble
> ---------------------------------------------
> website http://www.scramble.nl
> e-mail hans.hoogers at scramble.nl
>
>
>> Hi,
>>   I am new to mediawiki. I am tring to upload an image in one of the
>> page
>> with [[Image:/opt/lampp/image.png]]...
>>
>>  I am getting an error message after saving that
>>  File uploads are disabled on this wiki.
>>
>>  In my Localsettings.php file I added the lines
>>
>>  $wgGroupPermissions['*']['upload'] = true;
>>  $wgGroupPermissions['sysop']['upload'] = true;
>>
>>  Still no use. Can some one help me please
>>
>>
>> Thanks & Regards,
>>  K.Indraveni,
>>  Project Engineer,
>>  CDAC -Chennai.
>>
>>
>> ---------------------------------
>>  Find out what India is talking about on  - Yahoo! Answers India
>>  Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8.
>> Get it NOW
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l at Wikimedia.org
>> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>>
>
>
>
>
>
> ---------------------------------
>  Find out what India is talking about on  - Yahoo! Answers India
>  Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8.
> Get it NOW





More information about the MediaWiki-l mailing list