*/
$wgPageImagesAPIDefaultLicense = "any";
$wgPageImagesLeadSectionOnly = false;
$wgPageImagesNamespaces = $wgContentNamespaces;
$wgPageImagesOpenGraphFallbackImage = "$wgResourceBasePath/resources/assets/logo.svg";
/**
* Extension:Scribunto
*
* @see https://github.com/wikimedia/mediawiki-extensions-Scribunto
*/
$wgScribuntoDefaultEngine = "luasandbox";
$wgScribuntoEngineConf["luasandbox"]["memoryLimit"] = 50 * 1024 * 1024; // 50 MB
$wgScribuntoEngineConf["luasandbox"]["cpuLimit"] = 10; // Seconds
$wgScribuntoGatherFunctionStats = true;
/**
* Extension:TemplateSandbox
*
* @see https://github.com/wikimedia/mediawiki-extensions-TemplateSandbox
*/
// Add module namespace support for TemplateSandbox
$wgTemplateSandboxEditNamespaces[] = NS_MODULE;
/**
* Extension:TextExtracts
*
* @see https://github.com/wikimedia/mediawiki-extensions-TextExtracts
*/
$wgExtractsRemoveClasses[] = ".metadata";
/**
* Extension:UploadWizard
*
* @see https://github.com/wikimedia/mediawiki-extensions-UploadWizard
*/
// MW core settings that are required by UploadWizard
$wgApiFrameOptions = "SAMEORIGIN";
//$wgAllowCopyUploads = true;
//$wgCopyUploadsDomains = ["*.flickr.com", "*.staticflickr.com"];
$wgUploadNavigationUrl = "$wgScriptPath/index.php/Special:UploadWizard";
// Extension settings
// @see https://github.com/wikimedia/mediawiki-extensions-UploadWizard/blob/REL1_43/UploadWizard.config.php
$wgUploadWizardConfig = [
"tutorial" => [
"skip" => true,
],
// License selection page
"licensing" => [
'ownWorkDefault' => 'own',
'ownWork' => [
'type' => 'or',
'template' => 'licensing', // this adds a link to Template:Licensing to the file info page
'licenses' => [
'generic',
],
],
],
"maxUploads" => 20,
"feedbackLink" => false,
"allCategoriesLink" => "",
"altUploadForm" => "Special:Upload",
"alternativeUploadToolsPage" => "",
];
/**
* Extension:VisualEditor
*
* @see https://github.com/wikimedia/mediawiki-extensions-VisualEditor
*/
// Enable Edit Check
// @see https://www.mediawiki.org/wiki/Edit_check
$wgVisualEditorEditCheck = true;
/**
* Extension:WikiEditor
*
* @see https://github.com/wikimedia/mediawiki-extensions-WikiEditor
*/
$wgWikiEditorRealtimePreview = true;
/**
* Enable WikiDiff2
*/
if ( extension_loaded( "wikidiff2" ) ) {
$wgDiffEngine = "wikidiff2";
}
/**
* User group permission settings
*/
$wgGroupPermissions["sysop"]["interwiki"] = true;
$wgGroupPermissions["*"]["edit"] = false;
$wgImportSources = [
'starcitizen',
];
$wgDeletePagesForGoodNamespaces = [
NS_MAIN => true,
NS_TALK => true,
NS_MODULE => true,
NS_CATEGORY => true,
NS_CATEGORY_TALK => true,
NS_SKELETON => true,
NS_TEMPLATE => true,
NS_TEMPLATE_TALK => true,
NS_USER => true,
NS_USER_TALK => true,
NS_FILE => true,
NS_FILE_TALK => true,
];
#$wgParserCacheType = CACHE_NONE;
#$wgCachePages = false;
MediaWiki internal error.
Original exception: [04bf39612714c30084eeffae] 2026-11-09 18:27:23: Fatal exception of type "MediaWiki\Exception\FatalError"
Exception caught inside exception handler.
Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.