Skip to content

Commit

Permalink
add $wgWordmark width and height to MWS
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega committed Oct 28, 2020
1 parent 428ca02 commit 59a2997
Showing 1 changed file with 27 additions and 9 deletions.
36 changes: 27 additions & 9 deletions ManageWikiSettings.php
Expand Up @@ -1771,15 +1771,6 @@
'section' => 'styling',
'help' => 'This will replace Miraheze\'s default logo. See <a href="https://meta.miraheze.org/wiki/ManageWiki#How_do_I_change_my_logo.2Ffavicon.3F">this link</a> for how you can change it. Sets the value of <code>$wgLogos[&#39;1x&#39;]</code>.',
],
'wgWordmark' => [
'name' => 'Wordmark',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'url',
'overridedefault' => null,
'section' => 'styling',
'help' => 'This will set the value of <code>$wgLogos[&#39;wordmark&#39;][&#39;src&#39;]</code>. Also used as the copyright wordmark for the Minerva skin.',
],
'wgFavicon' => [
'name' => 'Favicon',
'from' => 'mediawiki',
Expand All @@ -1798,6 +1789,33 @@
'section' => 'styling',
'help' => 'Favicon for Apple mobile devices. See <a href="https://meta.miraheze.org/wiki/ManageWiki#How_do_I_change_my_logo.2Ffavicon.3F">this link</a> on how you can add one.',
],
'wgWordmark' => [
'name' => 'Wordmark',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'url',
'overridedefault' => null,
'section' => 'styling',
'help' => 'This will set the value of <code>$wgLogos[&#39;wordmark&#39;][&#39;src&#39;]</code>. Also used as the copyright wordmark for the Minerva skin.',
],
'wgWordmarkWidth' => [
'name' => 'Wordmark width',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'integer',
'overridedefault' => 116,
'section' => 'styling',
'help' => 'This will set the width value of the wordmark set by <code>$wgWordmark</code>. For use with the Minerva skin's copyright wordmark, this should be set to "116"',
],
'wgWordmarkHeight' => [
'name' => 'Wordmark height',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'integer',
'overridedefault' => 18,
'section' => 'styling',
'help' => 'This will set the height value of the wordmark set by <code>$wgWordmark</code>. For use with the Minerva skin's copyright wordmark, this should be set to "18"',
],
'wgMetrolookDownArrow' => [
'name' => 'Metrolook Down Arrow',
'from' => 'metrolook',
Expand Down

2 comments on commit 59a2997

@RhinosF1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's broken string markers. You need to escape any use of ' within strings

@Universal-Omega
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's broken string markers. You need to escape any use of ' within strings

I thought I did.

Please sign in to comment.