am 13.11.2012 15:26 schrieb Mark A. Hershberger:
> On 11/13/2012 08:58 AM, Peter Velan wrote:
>> There's something wrong with my install, but what?
> 
> Could you post your LocalSettings.php (with passwords and other private
> information removed) and the URL of your site?

- LocalSettings.php attached
- URL not possible; its an intranet wiki

Peter

<?php

# See includes/DefaultSettings.php for all configurable settings
# and their default values, but don't forget to make changes in _this_
# file, not there.

# If you customize your file layout, set $IP to the directory that contains
# the other MediaWiki files. It will be used as a base to locate files.

if( defined( 'MW_INSTALL_PATH' ) ) {
  $IP = MW_INSTALL_PATH;
} else {
  $IP = dirname( __FILE__ );
}
$path = array( $IP, "$IP/includes", "$IP/languages" );
set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . 
get_include_path() );

require_once( 'includes/DefaultSettings.php' );

$wgDisableOutputCompression = true;

$wgSitename = "Berater-Wiki";

## For more information on customizing the URLs please see:
## http://meta.wikimedia.org/wiki/Eliminating_index.php_from_the_url
## If using PHP as a CGI module, the ?title= style usually must be used.

$wgScriptPath = "/w2";         # Path to the actual files. This should already 
be there
$wgArticlePath = "/wiki2/$1";  # Virtual path. This directory MUST be different 
from the one used in $wgScriptPath
$wgUsePathInfo = true;        # Enable use of pretty URLs

$wgRedirectScript   = "$wgScriptPath/redirect.php";
$wgUploadPath       = "$wgScriptPath/images";
$wgStylePath        = "$wgScriptPath/skins";

$wgLogo             = "$wgStylePath/common/images/rv-logo-2.png";
$wgStyleDirectory   = "$IP/skins";
$wgUploadDirectory  = "$IP/images";
$wgAllowExternalImages = true;

$wgEnableEmail      = true;
$wgEnableUserEmail  = true;
$wgEmergencyContact = '[email protected]';
$wgPasswordSender   = '[email protected]';

$wgEnableMWSuggest  = true;

$wgExternalLinkTarget = '_blank';

## For a detailed description of the following switches see
## http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent
## There are many more options for fine tuning available see
## /includes/DefaultSettings.php
## UPO means: this is also a user preference option

$wgEnotifUserTalk       = true; // Set to true to allow e-mail notification for 
the own user_talk page. # UPO
$wgEnotifWatchlist      = true; // Set to true to allow e-mail notification for 
watched pages. # UPO
$wgEmailAuthentication  = true;

$wgAllowUserJs = true;
$wgUseSiteJs = true;

$wgUseFileCache = true; /* default: false */
$wgFileCacheDirectory = "$IP/cache";
$wgShowIPinHeader = false;

$wgUsersNotifiedOnAllChanges = array( 'Wikisysop' );

$wgDBtype     = 'mysql';
$wgDBserver   = 'localhost';
$wgDBname     = 'mwiki';
$wgDBuser     = 'xxx';
$wgDBpassword = 'xxx';
$wgDBport     = '5432';
$wgDBprefix   = '';

# Schemas for Postgres
$wgDBmwschema   = 'mediawiki';
$wgDBts2schema  = 'public';

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

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

## To enable image uploads, make sure the 'images' directory
## is writable, then set this to true:
$wgEnableUploads  = true;
$wgUseImageResize = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = '/usr/bin/convert';

## If you have the appropriate support software installed
## you can enable inline LaTeX equations:
$wgUseTeX           = false;
$wgMathPath         = "{$wgUploadPath}/math";
$wgMathDirectory    = "{$wgUploadDirectory}/math";
$wgTmpDirectory     = "{$wgUploadDirectory}/tmp";

$wgLocalInterwiki   = $wgSitename;
$wgLanguageCode     = 'de';
$wgProxyKey         = 
'c65e62d92923e09cd9194c2e445c39f8be5daf02eae58a33a8e6b0e826cd4ddf';

## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
$wgDefaultSkin = 'vector';

$wgSkipSkins = array
( 'simple'
, 'standard'
, 'monobook'
, 'modern'
);


# $wgEnableCreativeCommonsRdf = true;
$wgRightsPage   = ''; # Set to the title of a wiki page that describes your 
license/copyright
$wgRightsUrl    = '';
$wgRightsText   = '';
$wgRightsIcon   = '';
$wgUseTwoButtonsSearchForm = true;

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

/**
 * Fix double redirects after a page move.
 * Tends to conflict with page move vandalism, use only on a private wiki.
 */
$wgFixDoubleRedirects = true;

# When you make changes to this configuration file, this will make
# sure that cached pages are cleared.

$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) );
$wgCacheEpoch = max( $wgCacheEpoch, $configdate );

$wgEmailConfirmToEdit = true;
$wgWhitelistRead = array( "Hauptseite", "Special:UserLogin", 
"Special:UserLogout", "Special:PasswordReset", "MediaWiki:Common.css" );


// ~~~ give credit to author ~~~~~~~~~~~~~~~~~~~~

$wgMaxCredits = 0;  // Set this to the number of authors that you want to be 
credited below an article text.
                    // Set it to zero to hide the attribution block, and a 
negative number (like -1) to show all authors.


// ~~~ set default timezone ~~~~~~~~~~~~~~~~~~~~~

$wgLocalTZoffset = date( 'Z' ) / 60;


// ~~~ category settings ~~~~~~~~~~~~~~~~~~~~~~~

$wgCategoryPagingLimit = 500;


// ~~~ handling of file upload ~~~~~~~~~~~~~~~~~~

$wgUploadSizeWarning = 64 * 1024 * 1024;  // max file size - here 64MB

$wgCheckFileExtensions = true;  // true: check against $wgFileExtensions  | 
false: don't check
$wgStrictFileExtensions = true; // true: strict checking                  | 
false: warn for wrong extensions
$wgVerifyMimeType = false;      // true: check type of file               | 
false: don't check
$wgFileExtensions = array       // --- list of allowed file extensions
( '7z', 'zip'                   // archives
, 'bm2'                         // boardmaker
, 'exe'                         // executables
, 'mp3'                         // sound
, 'cdd'                         // ??
, 'gif', 'jpeg', 'jpg', 'png'   // pics
, 'doc', 'ppt', 'xls'           // MS documents
, 'odp', 'ods', 'odt'           // OOo documents
, 'pdf'                         // pdf documents
, 'epg', 'pak'                  // dynavox type files
);


// ~~~ permissions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$wgImplicitGroups = array
( '*'
, 'user'
, 'autoconfirmed'
, 'bureaucrat'
, 'sysop'
, 'emailconfirmed'
);

$wgGroupPermissions['sysop']['userrights'] = true;
$wgGroupPermissions['sysop']['specialpages'] = true;

// ~~~ '*' = implicit group for all visitors
$wgGroupPermissions['*']['createaccount'] = false; // 1.5.0 - default = true
$wgGroupPermissions['*']['read'] = false;          // 1.5.0 - default = true
$wgGroupPermissions['*']['edit'] = false;          // 1.5.0 - default = true
$wgGroupPermissions['*']['createpage'] = false;    // 1.6.0 - default = true
$wgGroupPermissions['*']['createtalk'] = false;    // 1.6.0 - default = true

$wgGroupPermissions['wikieditor']['delete'] = true;

// enable subpage feature for ...

# $wgNamespacesWithSubpages[600]
# = $wgNamespacesWithSubpages[601]
# = true;

$wgNamespacesWithSubpages = array_fill(0, 601, true);

$wgShowExceptionDetails = true;


// ~~~ extensions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

#~#require_once( "$IP/extensions/UsabilityInitiative/Vector/Vector.php" );
require_once( "$IP/extensions/Vector/Vector.php" );
$wgDefaultSkin = 'vector'; // If you want to change the default skin for new 
users

#~#require_once( "$IP/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php" 
);
require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );

# Enables use of WikiEditor by default but still allow users to disable it in 
preferences
$wgDefaultUserOptions['usebetatoolbar'] = 1;
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;

# Displays the Preview and Changes tabs
$wgDefaultUserOptions['wikieditor-preview'] = 1;

# Displays the Publish and Cancel buttons on the top right side
$wgDefaultUserOptions['wikieditor-publish'] = 1;

# Displays a navigation column (summary) on the right side
$wgDefaultUserOptions['usenavigabletoc'] = 1;

$wgWikiEditorModules['toc']['global'] = true; // Enable the TOC for everyone
$wgWikiEditorModules['toc']['user'] = false; // Don't allow users to turn the 
TOC on/off individually


// ~~~ under construction ~~~ $wgReadOnly ~~~~~~~

$wgReadOnly = ''
. "<br />"
. "<div style="
. "'float:left;"
. " color:red;"
. " font-weight:bold;"
. " font-size:1.5em;"
. " border:2px solid red;"
. " padding: 6px;"
. " background: yellow;"
. " text-align: center;"
. " margin: 8px;"
. "'>"
. "Wartungsarbeiten an der Wiki - nur Lesen moeglich!<br />\n"
. "Ab 8.11.2012 20:00 Uhr kannst du wieder etwas eintragen."
. "</div><br clear='all' />"
;

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

Reply via email to