Page MenuHomeDevCentral

config/test.yaml

Authored By
dereckson
Mar 31 2018, 01:43
Size
6 KB
Referenced Files
None
Subscribers
None

config/test.yaml

# -------------------------------------------------------------
# MediaWiki farm
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2018-03-26
# -------------------------------------------------------------
# -------------------------------------------------------------
# Instances
#
# :: host => database map for the main instance list
# :: database => vhosts map for the aliases
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
instances:
agora.nasqueron.org: nasqueron_wiki
arsmagica.espace-win.org: arsmagica
utopia.espace-win.org: utopia
www.wolfplex.org: wolfplexdb
instances_aliases:
wolfplexdb:
- www.wolfplex.be
- wiki.wolfplex.org
- wiki.wolfplex.be
# -------------------------------------------------------------
# Databases map
#
# Sometimes, legacy databases aren't the most natural names.
#
# You can then map an alias for the database,
# to use in the configuration.
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
database_map:
agora: nasqueron_wiki
wolfplex: wolfplexdb
# -------------------------------------------------------------
# MediaWiki settings
#
# :: MediaWiki core
# :: MediaWiki extensions
#
# Use default to provide a base default value to every wiki.
# Then, it can be superseded specifying the wiki name
# and another value.
#
# By default, default values (from MediaWiki code or from the
# default key) are replaced by values set.
#
# If you need a merge instead, prepend the key with a '+'.
#
# Yaml aliases allow to enable or disable a setting everywhere
# in one line.
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
aliases:
- &enabled
default: true
- &disabled
default: false
settings:
# -----------------------------------------------------------
# MediaWiki core
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
wgAllowTitlesInSVG: *enabled
wgDBprefix:
default: ''
# Legacy installations
arsmagica: arsm_
utopia: wiki_
wolfplex: mw_ # this database is shared
wgDefaultSkin:
default: vector
agora: timeless
wgEnableCreativeCommonsRdf: *enabled
wgEnableDublinCoreRdf: *enabled
wgEnableUploads:
default: false
agora: true
wolfplex: true
wgEnotifUserTalk: *enabled
wgEnotifWatchlist: *enabled
wgExtraNamespaces:
wolfplex:
320: Bulletin
321: Discussion_Bulletin
322: Event
323: Discussion_Event
wgUseInstantCommons: *enabled
+wgFileExtensions:
default:
- svg
wgLanguageCode:
default: en
arsmagica: fr
utopia: fr
wolfplex: fr
wgLocalInterwikis:
agora:
- agora
arsmagica:
- arsm
- arsmagica
utopia:
- utopia
wolfplex:
- wolfplex
wgLogo:
default: /images/b/bc/Wiki.png
agora: 'https://assets.nasqueron.org/logos/logo-main-133px.png'
arsmagica: /images/3/33/ArsMagica.png
wolfplex: /img/logo135.png
utopia: /img/BoatDesaturedBlueUtopiaIcon_135x135.png
wgMetaNamespace:
default: false
utopia: Utopia
wolfplex: Wolfplex
+wgNamespacesWithSubpages:
wolfplex:
0: true # NS_MAIN
320: true # Bulletin
agora:
0: true # NS_MAIN
wgPasswordSender:
default: mediawiki-saas-no-reply@nasqueron.org
wgRestrictDisplayTitle:
default: true
wolfplex: false
wgSitename:
default: Wiki
agora: 'Nasqueron Agora'
arsmagica: 'Ars Magica'
utopia: Utopia
wolfplex: Wolfplex
wgSVGConverter:
default: rsvg
wgUseFileCache: *disabled
wgUseGzip: *enabled
wgUseImageMagick: *enabled
wgUsePathInfo: *enabled
saasExtraGroupPermissions:
default:
'*':
edit: false
createaccount: false
sysop:
deletelogentry: true
deleterevision: true
+utopia:
confirmed:
autoconfirmed: true
upload: true
saasLicense:
default: 'CC-BY 4.0'
utopia: 'CC-BY-NC-SA 3.0' # T1376
saasUrlScheme:
default: wiki
agora: root
arsmagica: root
# -------------------------------------------------------------
# Logging
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
wgMWLoggerDefaultSpi:
class: \MediaWiki\Logger\MonologSpi
args:
-
loggers:
'@default':
processors:
- wiki
- psr
- web
- introspection
handlers:
- stream
processors:
wiki:
class: \MediaWiki\Logger\Monolog\WikiProcessor
psr:
class: \Monolog\Processor\PsrLogMessageProcessor
web:
class: \Monolog\Processor\WebProcessor
introspection:
class: \Monolog\Processor\IntrospectionProcessor
handlers:
stream:
class: \Monolog\Handler\StreamHandler
args:
- /var/log/mediawiki/error.log
formatter: line
formatters:
line:
class: \Monolog\Formatter\LineFormatter
# -------------------------------------------------------------
# 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
# -------------------------------------------------------------
# SaaS packs of extensions
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
saasUseScribunto:
default: false
agora: true
wolfplex: true
# -------------------------------------------------------------
# Extensions and skins to load
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
extensions:
default:
- CategoryTree
- Cite
- Gadgets
- ParserFunctions
- Poem
+wolfplex:
- ContactPage
- WolfplexMessages
skins:
default:
- MonoBook
- Vector
- Timeless

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
156584
Default Alt Text
config/test.yaml (6 KB)

Event Timeline