Skip to content

Commit 153b54c

Browse files
authored
T14475: Add two Monaco settings to ManageWiki (#6167)
https://issue-tracker.miraheze.org/T14475
1 parent 1645769 commit 153b54c

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

LocalSettings.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4599,6 +4599,14 @@
45994599
'default' => [],
46004600
],
46014601

4602+
// Monaco
4603+
'wgMonacoAllowUseTheme' => [
4604+
'default' => true,
4605+
],
4606+
'wgMonacoTheme' => [
4607+
'default' => 'sapphire',
4608+
],
4609+
46024610
// MsCatSelect vars
46034611
'wgMSCS_WarnNoCategories' => [
46044612
'default' => true,

ManageWikiSettings.php

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4647,6 +4647,40 @@
46474647
'help' => 'The theme to use for the Mirage skin.',
46484648
'requires' => [],
46494649
],
4650+
'wgMonacoAllowUseTheme' => [
4651+
'name' => 'Monaco Allow Using Themes',
4652+
'from' => 'monaco',
4653+
'type' => 'check',
4654+
'overridedefault' => true,
4655+
'section' => 'styling',
4656+
'help' => 'Whether users can select a Monaco theme in their user preferences.',
4657+
'requires' => [],
4658+
],
4659+
'wgMonacoTheme' => [
4660+
'name' => 'Monaco Theme',
4661+
'from' => 'monaco',
4662+
'type' => 'list',
4663+
'options' => [
4664+
'Beach' => 'beach',
4665+
'Brick' => 'brick',
4666+
'Carbon' => 'carbon',
4667+
'Forest' => 'forest',
4668+
'Gaming' => 'gaming',
4669+
'Jade' => 'jade',
4670+
'Moonlight' => 'moonlight',
4671+
'Obsession' => 'obsession',
4672+
'Ruby' => 'ruby',
4673+
'Sapphire' => 'sapphire',
4674+
'Sky' => 'sky',
4675+
'Slate' => 'slate',
4676+
'Smoke' => 'smoke',
4677+
'Spring' => 'spring',
4678+
],
4679+
'overridedefault' => 'sapphire',
4680+
'section' => 'styling',
4681+
'help' => 'The theme to use for the Monaco skin.',
4682+
'requires' => [],
4683+
],
46504684

46514685
// Wikibase
46524686
'wgMFUseWikibase' => [

0 commit comments

Comments
 (0)