https://bugzilla.wikimedia.org/show_bug.cgi?id=61358

--- Comment #11 from grant <gr...@lrio.com> ---
if it's a mess excuse me. 

***

if ( !defined( 'MEDIAWIKI' ) ) {
    exit;
}

$path = array( $IP, "$IP/includes", "$IP/languages" );
set_include_path( implode( PATH_SEPARATOR, $path ) );

#$wgCanonicalServer = 'http://wiki.x.com';
#require_once( "includes/DefaultSettings.php" );


$wgSitename      = "Idx ww";
$wgMetaNamespace = "Idx_ww";

$wgServer = "http://wiki.x.com";;

$wgScriptPath      = "";            # not edited. that is how it appears  tuf
to figure paths for subdomain. 
$wgScript           = "$wgScriptPath/index.php";
$wgRedirectScript   = "$wgScriptPath/redirect.php";
$wgArticlePath      = "$wgScript?title=$1";
$wgStylePath        = "$IP/skins";
$wgStyleDirectory   = "skins";
$wgLogo             = "images/bookthumb.jpg";
$wgSecureLogin      = false;
$wgEnableEmail         = true;
$wgEnableUserEmail = false;

$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = true;

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

## Shared memory settings
$wgEnableParserCache = false;
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = array();

## To enable image uploads, make sure the 'images' directory
## is writable, then set this to true:
$wgTmpDirectory   = true;
$wgEnableUploads = true;
 $wgFileExtensions =
array('png','gif','jpg','jpeg','xls','pdf','tiff','bmp','kml');
$wgUseImageResize = true;
$wgUseImageMagick = true;
##$wgImageMagickConvertCommand = "/usr/bin/convert";
##image majik thumb fix sept 10
$wgCustomConvertCommand = "/usr/bin/convert -resize %wx%h %s %d";
$wgImageMagickTempDir = "$IP/x/tmp";
$wgTmpDirectory = "$IP/x/tmp";
$wgLanguageCode = "en";
$wgProxyKey = "xx";
$wgDefaultSkin = 'monobook';
$wgEnableCreativeCommonsRdf = true;
$wgRightsPage = "Copyright";

$wgDiff3 = "/usr/bin/diff3";


$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) );
$wgWhitelistRead =  array( "Main Page", "Special:Userlogin", "Help:Contents",
"Idaho Whitewater:Privacy policy", "Idaho_Whitewater:About", "Special:Contact",
"Payette,_Middle_Fork,_Silver_Creek");
$wgGroupPermissions['*'    ]['edit']            = false;
$wgGroupPermissions['*'    ]['read']            = false;
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['sysop']['createaccount']   = true;

# extensions start here
enableSemantics( 'wiki.x.com');
# Namespace config SMW
$smwgNamespace = 'http://wiki.x.com';
# Semantic Maps
require_once( "$IP/extensions/SemanticMaps/SemanticMaps.php" );  
# installer
require_once "$IP/extensions/ExtensionInstaller/ExtensionInstaller.php";        
 // Category Tree
#$wgUseAjax = true;
require_once( "$IP/extensions/CategoryTree/CategoryTree.php" );
#forms
include_once( "$IP/extensions/SemanticForms/SemanticForms.php" );
$wgAllowExternalImages = true;

# mobile frontend
#require_once "$IP/extensions/MobileFrontend/MobileFrontend.php";
require_once __DIR__ . "/extensions/MobileFrontend/MobileFrontend.php";
$wgMFAutodetectMobileView = true;

# ajax poll
require_once __DIR__ . "/extensions/AJAXPoll/AJAXPoll.php";
$wgGroupPermissions['user']['ajaxpoll-view-results'] = true;
#contactpage
require_once( "$IP/extensions/ContactPage/ContactPage.php" );
$wgContactUser = 'me';
$wgContactSender = $wgPasswordSender;
$wgContactSenderName = 'Contact Form on ' . $wgSitename;

#confirm edit
require_once "$IP/extensions/ConfirmEdit/ReCaptcha.php";
$wgCaptchaClass = 'ReCaptcha';
$wgReCaptchaPublicKey = 'x';
$wgReCaptchaPrivateKey = 'x';
#turn on captcha on the contact
$wgCaptchaTriggers['contactpage'] = true;

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to