Message: 6 Date: Wed, 27 May 2009 00:51:16 +0200 From: Platonides Platonides@gmail.com Subject: Re: [Mediawiki-l] Thumbs generating issue To: mediawiki-l@lists.wikimedia.org Message-ID: gvhrp3$vgh$1@ger.gmane.org Content-Type: text/plain; charset=ISO-8859-1
Bogdan Toma wrote:
Hi all,
My host enabled safe_mode so I'm kind of struggling in my way to install mediawiki.
A bad move.
*** There is nothing I can do about it.
* MediaWiki version: 1.14 * PHP version: 5.2.8 (GD enabled) * MySQL version: 4.1.22
Currently I have two issues with my mediawiki installation:
- I had to set 777 on images folder; otherwise upload won't work (I heard this action isn't safe at all); how I can make it to work with 755 only?
It really depends on your configuration. You should ask your host about it.
*** I can't contact them but according with MediaWiki workaround for safe_mode=on I don't need 777 on images folder (755 should be enough). Why do I have to contact my host and what should I tell them about it?
- currently no thumbs are generated (somehow it worked on another installation that I had to remove it)
I noticed that if I upload 2 images (image1.jpg and image2.jpg) they will be copied/created under /images folder and under thumb folder I can see two folders (not files) /images/thumb/image1.jpg and /images/thumb/image2.jpg with no files inside. I don't think it supposed to do that (one folder/file)
It is. But those folders are not supposed to be empty but to contain the thumbs. What permissions are they created with? You may need to change the mw folder creation permission to 777 too.
*** I set 777 - as I said - on all images subdirectories. I used a FTP client to create them.
I don't have putty access to server (only ftp - To control domain I use Parallels Plesk Control Panel 8.6: http://www.parallels.com/products/plesk/)
I couldn't change php.ini settings but I modified LocalSettings.php as suggested here( http://www.mwusers.com/wiki/index.php?title=PHP_Configuration#Enable_php_err... ) but I didn't get any error when the upload was made. Only thumbnails aren't generated.
Here are the entries from my LocalSettings file that are upload related:
$wgEnableUploads = true; $wgHashedUploadDirectory = false; $wgSaveDeletedFiles = true; $wgFileStore['deleted']['directory'] = false;// Defaults to $wgUploadDirectory/deleted $wgFileStore['deleted']['url'] = null; // Private, so set to null $wgFileStore['deleted']['hash'] = 0; // 0-level subdirectory split $wgThumbnailScriptPath = "{$wgScriptPath}/thumb.php";
*** Are these right ?
Thank you, Bogdan
------------------------------
Message: 7 Date: Wed, 27 May 2009 01:51:32 +0200 From: Hanno B?ck hanno@hboeck.de Subject: [Mediawiki-l] [PATCH] anonymous editing To: mediawiki-l@lists.wikimedia.org Message-ID: 200905270151.33647.hanno@hboeck.de Content-Type: text/plain; charset="utf-8"
Hi,
Attached is a patch to mediawiki that adds a new option $wgDontSaveIPs
What it does is allowing completely anonymous wikis by replacing the IP adress with 0.0.0.0.
(a bit background, there's a german campaign wirspeichernnicht.de, which wants to enforce a more anonymous web and provides a couple of descriptions how to disable ip saving in different apps - for mediawiki it tells to change the source, though I thought a clean option would be better: http://www.wirspeichernnicht.de/content/view/9/24/)
Attached patch is against mediawiki 1.15rc1. Would be nice if you would apply it.
mediawiki-l@lists.wikimedia.org