I have a number of persistant issues with Mediawiki 1.22.4.
These have persisted since I upgraded from 1.22.2 a few weeks ago.
I "THINK" these are all related to some kind of permissions issues with
the server. these are a section of the relevant lines from
LocalSettings.php

<?php

# Protect against web entry
if ( !defined( 'MEDIAWIKI' ) ) {
exit;
}

## Uncomment this to disable output compression
# $wgDisableOutputCompression = true;snipet

$wgSitename = "PhysicsWiki";

## The URL base path to the directory containing the wiki;
## defaults for all runtime URL paths are based off of this.
## For more information on customizing the URLs
## (like /w/index.php/Page_title to /wiki/Page_title) please see:
## http://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath = "";
$wgScriptExtension = ".php";

## The protocol and server name to use in fully-qualified URLs
$wgServer = "http://www.physicswiki.net";;
$wgCanonicalServer = 'http://www.physicswiki.net';

## The relative URL path to the skins directory
$wgStylePath = "$wgScriptPath/skins";

## UPO means: this is also a user preference option

$wgEnableEmail = true;
$wgEnableUserEmail = true; # UPOsnipet

$wgEmergencyContact = "[email protected]";
$wgPasswordSender = "[email protected]";
$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = true;

## Database settings
$wgDBtype = "mysql";
$wgDBserver = "localhost";
$wgDBname = "pw";
$wgDBuser = "myusername";
$wgDBpassword = "mypassword";

# MySQL specific settings
$wgDBprefix = "";

# MySQL table options to use during installation or update
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";

# Experimental charset support for MySQL 5.0.
$wgDBmysql5 = false;

## To enable image uploads, make sure the 'images' directory
## is writable, then set this to true:
$wgEnableUploads = true;
$wgUseImageMagick = true;
$wgUseImageResize = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";
require_once( "$IP/extensions/NativeSvgHandler/NativeSvgHandler.php" );

$wgSVGConverter = 'ImageMagick';
$wgSVGConverterPath = "/usr/bin/";
snipet
$wgSVGConverters = array(
    'ImageMagick' => '$path/convert -background white -thumbnail $widthx
$height\! $input PNG:$output',
#    'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
#    'rsvg' => '$path/rsvg -w $width -h $height $input $output',

$wgTmpDirectory = "$IP/images/temp";
$wgUploadPath = "$wgScriptPath/images";
$wgUploadDirectory = "$IP/images";
# InstantCommons allows wiki to use images from
http://commons.wikimedia.org
$wgUseInstantCommons = true;

## If you use ImageMagick (or any other shell command) on asnipet
## Linux server, this will need to be set to the name of an
## available UTF-8 locale
$wgShellLocale = "en_US.utf8";

## If you want to use image uploads under safe mode,
## create the directories images/archive, images/thumb and
## images/temp, and make them all writable. Then uncomment
## this, if it's not already uncommented:
#$wgHashedUploadDirectory = false;

## Set $wgCacheDirectory to a writable directory on the web server
## to make your wiki go slightly faster. The directory should not
## be publically accessible from the web.
$wgCacheDirectory = "$IP/cache";

Any one interested. Please look over these settings & send any ideas for
correcting them to something that works with all images. The issues
seems to also affect $wgInstantCommons  usage as well.

Real path to the wiki is /var/www/pw
I have set the /var/www/pw/images  directory and all its recursives to
mode 777 just as a temporary situation; I think that they should be set
to 0775 or 0755.
Entire site is owned by "myusername"  not www-data or root
Thanks for any assist.
john


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to