Skip to content

Commit

Permalink
Migrate Timeless configs to ManageWikiSettings (#3436)
Browse files Browse the repository at this point in the history
* Migrate $wgTimelessWordmark to ManageWikiSettings

* Add other timeless configs

* add timeless configs
  • Loading branch information
Universal-Omega committed Nov 14, 2020
1 parent f67be03 commit f9facb1
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
7 changes: 6 additions & 1 deletion LocalSettings.php
Expand Up @@ -3336,9 +3336,14 @@
],

// Timeless
'wgTimelessBackdropImage' => [
'default' => 'cat.svg',
],
'wgTimelessLogo' => [
'default' => null,
],
'wgTimelessWordmark' => [
'default' => null,
'closinglogosgroupwiki' => 'CLGHorizontal.png',
],

// Timezone
Expand Down
27 changes: 27 additions & 0 deletions ManageWikiSettings.php
Expand Up @@ -1890,6 +1890,33 @@
'section' => 'styling',
'help' => 'Set to your wiki\'s page name at <a href="https://www.wikiapiary.com">Wikiapiary</a> to add the monitored by Wikiapary footer icon. If you do not have an article there for your wiki, please leave this field blank.',
],
'wgTimelessBackdropImage' => [
'name' => 'Timeless Backdrop Image',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'text',
'overridedefault' => 'cat.svg',
'section' => 'styling',
'help' => 'Set to the filename, excluding the File namespace, of a background image to use for the Timeless skin.',
],
'wgTimelessLogo' => [
'name' => 'Timeless Logo',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'text',
'overridedefault' => null,
'section' => 'styling',
'help' => 'Set to the filename, excluding the File namespace, of a logo to use for the Timeless skin.',
],
'wgTimelessWordmark' => [
'name' => 'Timeless Wordmark',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'text',
'overridedefault' => null,
'section' => 'styling',
'help' => 'Set to the filename, excluding the File namespace, of a wordmark to use for the Timeless skin.',
],
'wgMetrolookDownArrow' => [
'name' => 'Metrolook Down Arrow',
'from' => 'metrolook',
Expand Down

0 comments on commit f9facb1

Please sign in to comment.