Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • GenWiki Update GenWiki Update
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • genwiki
  • GenWiki UpdateGenWiki Update
  • Wiki
  • LocalSettings.php

LocalSettings.php · Changes

Page history
Update LocalSettings.php authored May 12, 2022 by Anton Huber's avatar Anton Huber
Hide whitespace changes
Inline Side-by-side
LocalSettings.php.md
View page @ bef4962a
``
<?php
# This file was automatically generated by the MediaWiki 1.35.2
# installer. If you make manual changes, please keep track in case you
# need to recreate them later.
#
# See includes/DefaultSettings.php for all configurable settings
# and their default values, but don't forget to make changes in _this_
# file, not there.
#
# Further documentation for configuration settings may be found at:
# https://www.mediawiki.org/wiki/Manual:Configuration_settings
# Protect against web entry
if ( !defined( 'MEDIAWIKI' ) ) {
exit;
}
## Uncomment this to disable output compression
# $wgDisableOutputCompression = true;
$wgSitename = "GenWiki";
## 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:
## https://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath = "";
$wgArticlePath = "/$1";
## The protocol and server name to use in fully-qualified URLs
$wgServer = "https://wiki.genealogy.net";
## The URL path to static resources (images, scripts, etc.)
$wgResourceBasePath = $wgScriptPath;
## UPO means: this is also a user preference option
$wgEnableEmail = false;
$wgEnableUserEmail = false; # UPO
$wgEmergencyContact = "GenWiki@genealogy.net";
$wgPasswordSender = "GenWikiNachrichten@genealogy.net";
$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = false;
## Database settings
$wgDBtype = "mysql";
$wgDBserver = "database";
$wgDBname = "wiki_de";
$wgDBuser = "wiki_de";
$wgDBpassword = "gwLfmlNrZm8Rs";
# MySQL specific settings
$wgDBprefix = "";
# MySQL table options to use during installation or update
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
# Shared database table
# This has no effect unless $wgSharedDB is also set.
$wgSharedTables[] = "actor";
## Shared memory settings
$wgMainCacheType = CACHE_ACCEL;
$wgMemCachedServers = [];
## To enable image uploads, make sure the 'images' directory
## is writable, then set this to true:
$wgEnableUploads = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";
# InstantCommons allows wiki to use images from https://commons.wikimedia.org
$wgUseInstantCommons = false;
# Periodically send a pingback to https://www.mediawiki.org/ with basic data
# about this MediaWiki instance. The Wikimedia Foundation shares this data
# with MediaWiki developers to help guide future development efforts.
$wgPingback = false;
## If you use ImageMagick (or any other shell command) on a
## Linux server, this will need to be set to the name of an
## available UTF-8 locale. This should ideally be set to an English
## language locale so that the behaviour of C library functions will
## be consistent with typical installations. Use $wgLanguageCode to
## localise the wiki.
$wgShellLocale = "C.UTF-8";
## Set $wgCacheDirectory to a writable directory on the web server
## to make your wiki go slightly faster. The directory should not
## be publicly accessible from the web.
#$wgCacheDirectory = "$IP/cache";
# Site language code, should be one of the list in ./languages/data/Names.php
$wgLanguageCode = "de";
$wgSecretKey = "1326f595594c4b840a4350fe5003b1c5f25370170be0af1ab40fb07adb38edaf";
# Changing this will log out all existing sessions.
$wgAuthenticationTokenVersion = "1";
# Site upgrade key. Must be set to a string (default provided) to turn on the
# web installer while LocalSettings.php is in place
$wgUpgradeKey = "825295fe3d33ade3";
## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "";
$wgRightsText = "";
$wgRightsIcon = "";
# Path to the GNU diff3 utility. Used for conflict resolution.
$wgDiff3 = "/usr/bin/diff3";
# The following permissions were set based on your choice in the installer
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['createaccount'] = false;
#$wgDefaultSkin = "MonoBook"; # mit dem MonoBook Skin funktioniert der Editor nicht
$wgDefaultSkin = "Vector";
# Enabled skins.
# The following skins were automatically enabled:
#wfLoadSkin( 'MonoBook' );
#wfLoadSkin( 'Timeless' );
wfLoadSkin( 'Vector' );
# Enabled extensions. Most of the extensions are enabled by adding
# wfLoadExtension( 'ExtensionName' );
# to LocalSettings.php. Check specific extension documentation for more details.
# The following extensions were automatically enabled:
wfLoadExtension( 'CategoryTree' );
wfLoadExtension( 'Cite' );
wfLoadExtension( 'CiteThisPage' );
wfLoadExtension( 'CodeEditor' );
wfLoadExtension( 'ImageMap' );
wfLoadExtension( 'Interwiki' );
wfLoadExtension( 'Lockdown' );
wfLoadExtension( 'Loops' );
wfLoadExtension( 'ParserFunctions' );
wfLoadExtension( 'Renameuser' );
wfLoadExtension( 'SyntaxHighlight_GeSHi' );
wfLoadExtension( 'VisualEditor' );
wfLoadExtension( 'WikiEditor' );
#wfLoadExtension( 'YouTube' );
# End of automatically generated settings.
# Add more configuration options below.
$wgLogos = [
'1x' =>"https://www.genealogy.net/images/CG-Logo-2018_135px.png"
];
$wgGroupPermissions['*']['autocreateaccount'] = true;
$wgPluggableAuth_EnableAutoLogin = true;
$wgPluggableAuth_EnableLocalLogin = false;
wfLoadExtension( 'MW-OAuth2Client' );
$wgOAuth2Client['client']['id'] = "MCZiPCscPvcZRbZ4PxNFqmhDGwWT7bAq1Ej2b4rj";
$wgOAuth2Client['client']['secret'] = "FYkKPP1Lhi4EEoztraybujmZLGXHFqJkJdbbm0VRvKhg3aoLQN6cU8iBQ8NPrbFqnV0YbkVGtxU2Or2Q7TRcbSum76mmLpL9YV8Q4HMnXpPa7yGQWuzDtUUYZBfcgpKR";
$wgOAuth2Client['configuration']['authorize_endpoint']='https://team.genealogy.net/o/authorize/';
$wgOAuth2Client['configuration']['access_token_endpoint']='https://team.genealogy.net/o/token/';
$wgOAuth2Client['configuration']['api_endpoint']='https://team.genealogy.net/o/me/';
$wgOAuth2Client['configuration']['redirect_uri']='https://wiki.genealogy.net/index.php/Spezial:OAuth2Client/callback';
$wgOAuth2Client['configuration']['email'] = 'email';
$wgOAuth2Client['configuration']['scopes'] = 'read';
$wgOAuth2Client['configuration']['username'] = 'name';
$wgOAuth2Client['configuration']['id'] = 'ldap_uid';
$wgShowExceptionDetails = true;
#$wgDebugLogFile='/tmp/mediawiki.log';
$wgUploadPath = "https://wiki.genealogy.net/images/";
$wgFetchCommonsDescriptions = false;
$wgUseSharedUploads = false;
$wgShowEXIF = false;
define('NS_INTERNAL', 112);
define('NS_INTERNAL_TALK', 113);
define('NS_GOV', 114);
define('NS_GOV_TALK', 115);
define('NS_COMPGEN', 118);
define('NS_COMPGEN_TALK', 119);
define('NS_CG_RED', 120);
define('NS_CG_RED_TALK', 121);
define('NS_GEDBAS4ALL', 122);
define('NS_GEDBAS4ALL_TALK', 123);
$wgNamespacesWithSubpages = array(
NS_MAIN => true,
NS_TALK => true,
NS_USER => true,
NS_USER_TALK => true,
NS_PROJECT_TALK => true,
NS_MEDIAWIKI_TALK => true,
NS_TEMPLATE_TALK => true,
NS_INTERNAL => true,
NS_HELP_TALK => true,
NS_CATEGORY_TALK => true,
NS_COMPGEN => true,
NS_CG_RED => true
);
$wgExtraNamespaces[NS_INTERNAL] = "Intern";
$wgExtraNamespaces[NS_INTERNAL_TALK] = "Intern_Diskussion";
$wgExtraNamespaces[NS_GOV] = "GOV";
$wgExtraNamespaces[NS_GOV_TALK] = "GOV_Diskussion";
$wgExtraNamespaces[NS_COMPGEN] = "CompGen";
`
$wgExtraNamespaces[NS_COMPGEN_TALK] = "CompGen_Diskussion";
$wgExtraNamespaces[NS_CG_RED] = "CG";
$wgExtraNamespaces[NS_CG_RED_TALK] = "CG_Diskussion";
......@@ -268,3 +52,4 @@ $wgDjvuRenderer = "ddjvu";
$wgDjvuTxt = "djvutxt";
$wgDjvuPostProcessor = "pnmtojpeg";
$wgDjvuOutputExtension = 'jpg';
`
\ No newline at end of file
Clone repository
  • 2022 02 25Telko
  • 2022 09 08Telko
  • Changelog
  • Features
  • Ideen
  • LocalSettings.php
  • Settings.php
  • ToDo
  • Wichtige Befehle
  • genwiki.yml
  • Home

Impressum | Datenschutz