Message: 6 Date: Wed, 27 May 2009 00:51:16 +0200 From: Platonides <[email protected]> Subject: Re: [Mediawiki-l] Thumbs generating issue To: [email protected] Message-ID: <[email protected]> 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_error_logging > ) 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 <[email protected]> Subject: [Mediawiki-l] [PATCH] anonymous editing To: [email protected] Message-ID: <[email protected]> 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. -- Hanno B?ck Blog: http://www.hboeck.de/ GPG: 3DBD3B20 Jabber/Mail: [email protected] http://ausdenaugenausdemsinn.de - Kein Sicherheitsrabatt f?r CO2-Speicher http://tinyurl.com/dceu73 - Internetzensur stoppen! http://schokokeks.org - professional webhosting -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20090527/c7a8497f/attachment-0001.pgp ------------------------------ Message: 8 Date: Tue, 26 May 2009 20:16:02 -0400 From: Michael Daly <[email protected]> Subject: Re: [Mediawiki-l] [PATCH] anonymous editing To: MediaWiki announcements and site admin list <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hanno B?ck wrote: > > Attached is a patch to mediawiki that adds a new option > $wgDontSaveIPs It's a bad idea to use a negative in a name. In English, it makes for confusing program statements with double negatives ( e.g. not don't save) It would be better to use a name like: $wgSaveIPs and have it default to true (the current state). Then set it to false if you don't want the IPs saved. Mike ------------------------------ Message: 9 Date: Tue, 26 May 2009 17:37:50 -0700 From: Jan Steinman <[email protected]> Subject: [Mediawiki-l] Link for "E-mail new password" breaks when username has a space in it To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes I have changed the text of MediaWiki:Passwordremindertext in an attempt to include a link, so that people won't have to go enter user/ pass on a form. I know, it's a small thing, but almost all other websites that have you register with an email address have this feature, and we have a fairly large number of users who are not particularly sophisticated computer users. So I put: {{SERVER}}{{localurl:Special:Userlogin}}?wpName=$2&wpPassword= $3&returnto=Special:Preferences in the Passwordremindertext message, but the user ID has (by convention) a space in it, as we use (by convention) "Firstname Lastname" as our user IDs. This causes the link to break in {{localurl:Special:Userlogin}}. This causes our unsophisticated user base to simply give up, rather than copy-n-paste the password. At one time, I'm pretty sure I had this working, but a user recently complained, and then I discovered that it *never* works any longer, at least for our user name convention, at least for MW 1.13. Are there others out there who are successfully using a "clickback" link in MediaWiki:passwordremindertext who would like to share their secret? Thanks in advance! :::: The antidote to fear is action! :::: :::: Jan Steinman http://www.EcoReality.org :::: ------------------------------ _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l End of MediaWiki-l Digest, Vol 68, Issue 37 ******************************************* _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
