Page MenuHomeDevCentral

No OneTemporary

diff --git a/config/Settings.php b/config/Settings.php
index 66e54da..596d717 100644
--- a/config/Settings.php
+++ b/config/Settings.php
@@ -1,195 +1,225 @@
<?php
namespace Nasqueron\SAAS\MediaWiki\Configuration;
class Settings extends MappableSettings {
static public function getDatabaseMap () : array {
return [
'agora' => 'nasqueron_wiki',
'wolfplex' => 'wolfplexdb',
];
}
static public function getMappedSettings () : array {
return [
///
/// MediaWiki Core
///
'wgAllowTitlesInSVG' => [
'default' => true,
],
'wgDBprefix' => [
'default' => '',
// Legacy installations
'arsmagica' => 'arsm_',
'utopia' => 'wiki_',
'wolfplex' => 'mw_', // shared database
],
'wgDefaultSkin' => [
'default' => 'vector',
'agora' => 'timeless',
// TODO: find utopia skin
],
'wgEnableCreativeCommonsRdf' => [
'default' => true,
],
'wgEnableDublinCoreRdf' => [
'default' => true,
],
'wgEnableUploads' => [
'default' => false,
'agora' => true,
'wolfplex' => true,
],
'wgExtraNamespaces' => [
'wolfplex' => [
320 => 'Bulletin',
321 => 'Discussion_Bulletin',
322 => 'Event',
323 => 'Discussion_Event',
]
],
'wgUseInstantCommons' => [
'default' => true,
],
'+wgFileExtensions' => [
'default' => [
'svg',
]
],
'wgLanguageCode' => [
'default' => 'en',
'arsmagica' => 'fr',
'utopia' => 'fr',
'wolfplex' => 'fr',
],
'wgLogo' => [
'default' => '/images/b/bc/Wiki.png',
'agora' => 'https://assets.nasqueron.org/logos/logo-main-133px.png',
'wolfplex' => '/img/logo135.png',
],
'wgMetaNamespace' => [
'default' => false,
'utopia' => 'Utopia',
'wolfplex' => 'Wolfplex',
],
'+wgNamespacesWithSubpages' => [
'wolfplex' => [
NS_MAIN => true,
320 => true, // Bulletin
],
'agora' => [
NS_MAIN => true,
],
],
'wgPasswordSender' => [
'default' => 'mediawiki-saas-no-reply@nasqueron.org',
],
'wgSitename' => [
'default' => 'Wiki',
'agora' => 'Nasqueron Agora',
'arsmagica' => 'Ars Magica',
'utopia' => 'Utopia',
'wolfplex' => 'Wolfplex',
],
'wgSVGConverter' => [
'default' => 'rsvg',
],
'wgUseFileCache' => [
'default' => false,
],
'wgUseGzip' => [
'default' => true,
],
'wgUseImageMagick' => [
'default' => true,
],
'wgUsePathInfo' => [
// Per https://www.dereckson.be/blog/2013/10/24/mediawiki-nginx-configuration-file/
'default' => true,
],
'saasExtraGroupPermissions' => [
'default' => [
'*' => [
'edit' => false,
'createaccount' => false,
],
]
],
'saasLicense' => [
'default' => 'CC-BY 4.0',
],
'saasUrlScheme' => [
'default' => 'wiki',
'agora' => 'root',
'arsmagica' => 'root',
],
///
- /// Skins and extensions
+ /// ContactPage extension
+ ///
+
+ 'wgContactConfig' => [
+ 'wolfplex' => [
+ 'default' => [
+ "RecipientUser" => 'Spike',
+ "SenderEmail" => null,
+ "SenderName" => "Contact Form on Wolfplex",
+ "RequireDetails" => false,
+ "IncludeIP" => false,
+ "RLModules" => [],
+ "RLStyleModules" => [],
+ "AdditionalFields" => [
+ "Text" => [
+ "label-message" => "emailmessage",
+ "type" => "textarea",
+ "required" => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+
+ ///
+ /// Skins and extensions to load
///
'saasUseExtensionCite' => [
'default' => true,
],
+ 'saasUseExtensionContactPage' => [
+ 'default' => false,
+ 'wolfplex' => true,
+ ],
+
'saasUseExtensionParserFunctions' => [
'default' => true,
],
'saasUseExtensionPoem' => [
'default' => true,
],
'saasUseExtensionWolfplexMessages' => [
'default' => false,
'wolfplex' => true,
],
'saasUseSkinMonoBook' => [
'default' => true,
],
'saasUseSkinVector' => [
'default' => true,
],
'saasUseSkinTimeless' => [
'default' => true,
],
'saasUseScribunto' => [
'default' => false,
'agora' => true,
'wolfplex' => true,
],
];
}
}

File Metadata

Mime Type
text/x-diff
Expires
Fri, Feb 28, 22:18 (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2447934
Default Alt Text
(6 KB)

Event Timeline