Thread:Project:Support desk/MediaWiki 1.20 tarball issues/reply (11)

(This would not work using a Windows based computer cause chmod is no command there.)

True, but you could still ftp from a Windows computer. If your wiki is hosted on a *nix system (most are) then it will work.

I never had to set $wgTmpDirectory before. Is that new? Shouldn't this the be done by the mw-config script at setup?

Good point. Tracked here: https://bugzilla.wikimedia.org/show_bug.cgi?id=43644

$wgUploadDirectory and $wgUploadPath have not been set by mw-config script. This is the standard configuration so they shouldn't be needed (and they are not in my 1.18 Wiki).

Are they needed? What happens if you don't set them? The documentation for $wgUploadPath and $wgUploadDirectory makes it look like they don't need to be set unless you want to have some sort of special control over them.

Why does $wgUploadDirectory use the $IP and $wgUploadPath use the $wgScriptPath variable. I used $wgScriptPath for both but thats not working.

The documentation (linked above) explains what is going on. $wgUploadDirectory is pointing to the location on disk. $wgUploadPath provides the path portion of the url. $wgScriptPath doesn't point to an actual directory on disk, but $IP does.

In my other Wiki all /images and subfolders are 0755. Why now 0777? 0755 does it the same way in my case

Who owns the directory on your other Wiki? 0755 means that anyone can see the files but only the owner of that directory can write files. The 0777 permissions make it so that anyone can write the files there.