public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] mediawiki: Enabling uploads?
@ 2006-04-07 12:32 Alexander Skwar
  2006-04-07 13:01 ` Max Lorenz
  2006-04-07 14:34 ` Michael Gisbers
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Skwar @ 2006-04-07 12:32 UTC (permalink / raw
  To: gentoo-user

Hello!

For my wiki site, I'd like to enable uploads. To do so, I
*added* lines

$wgDisableUpload = false;
$wgDisableUploads = false;

to my LocalSettings.php.

But I still cannot upload - the wiki is telling me

	Upload file
	
	Sorry, uploading is disabled.

How do I enable uploads?

I'm using mediawiki 1.5.8, "compiled" with the following
flags:

hetzner wiki # emerge -vpt mediawiki

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] www-apps/mediawiki-1.5.8  USE="imagemagick vhosts -math" 0 kB

Thanks a lot,

Alexander Skwar
-- 
When neither their poverty nor their honor is touched, the majority of men
live content.
		-- Niccolo Machiavelli
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] mediawiki: Enabling uploads?
  2006-04-07 12:32 [gentoo-user] mediawiki: Enabling uploads? Alexander Skwar
@ 2006-04-07 13:01 ` Max Lorenz
  2006-04-07 14:34 ` Michael Gisbers
  1 sibling, 0 replies; 3+ messages in thread
From: Max Lorenz @ 2006-04-07 13:01 UTC (permalink / raw
  To: gentoo-user

Hi,

On 4/7/06, Alexander Skwar <listen@alexander.skwar.name> wrote:
> Hello!
>
> For my wiki site, I'd like to enable uploads. To do so, I
> *added* lines
>
> $wgDisableUpload = false;
> $wgDisableUploads = false;
>
> to my LocalSettings.php.

>From >=1.5 it's the other way around, like so:
$wgEnableUploads = true;

see:
http://www.mediawiki.org/wiki/Configuring_file_uploads


> Alexander Skwar
Max

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] mediawiki: Enabling uploads?
  2006-04-07 12:32 [gentoo-user] mediawiki: Enabling uploads? Alexander Skwar
  2006-04-07 13:01 ` Max Lorenz
@ 2006-04-07 14:34 ` Michael Gisbers
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Gisbers @ 2006-04-07 14:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 562 bytes --]

Am Freitag, 7. April 2006 14:32 schrieb Alexander Skwar:
> Hello!
>
> For my wiki site, I'd like to enable uploads. To do so, I
> *added* lines
>
> $wgDisableUpload = false;
> $wgDisableUploads = false;
>
> to my LocalSettings.php.
>
> [..]

In mediawiki 1.5.x this parameter has been reversed. So just try:

## To enable image uploads, make sure the 'images' directory
## is writable, then uncomment this:
$wgEnableUploads                = true;

;-)
-- 
 Michael Gisbers
 http://www.lugor.de

[---- Printed on recycled electrons ----]

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-07 14:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-07 12:32 [gentoo-user] mediawiki: Enabling uploads? Alexander Skwar
2006-04-07 13:01 ` Max Lorenz
2006-04-07 14:34 ` Michael Gisbers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox