mediawiki-skins-MinervaNeue/includes
jdlrobson 51a348097d Deprecate wgMinervaCustomLogos in favor of $wgLogos
Testing:
```
// Start with no Minerva config and no wgLogos defined in LocalSettings.php

// Set $wgMinervaCustomLogos
// Should trigger deprecation warning.
$wgMinervaCustomLogos = [
	'copyright' => 'https://en.m.wikipedia.org/static/images/mobile/copyright/wikipedia-wordmark-fr.svg',
	'copyright-height' => 40,
	'copyright-width' => 120,
];

// Set wgLogos without wordmark
// Should trigger deprecation warning as $wgMinervaCustomLogos is still
// defined.
$wgLogos = [
	'1x' => 'https://en.wikipedia.beta.wmflabs.org/static/images/project-logos/enwiki.png'
];


// Set wgLogos['wordmark']
// No deprecation warning. $wgMinervaCustomLogos will now be ignored
// in favor of the new wordmark key.
$wgLogos = [
	'1x' => 'https://en.wikipedia.beta.wmflabs.org/static/images/project-logos/enwiki.png',
	'wordmark' => [
		'src' => 'https://en.m.wikipedia.org/static/images/mobile/copyright/wikipedia-wordmark-fr.svg',
		'height' => 40,
		'width' => 120,
	],
];

// You can now safely drop $wgMinervaCustomLogos.

```
Depends-On: I66a971631c623cc94b58eb0e5e5bad804789bf1c
Bug: T232140
Change-Id: I013bd0904fe8c55efa49d14e84cf06ec1412896f
2020-02-19 23:59:28 +00:00
..
menu Merge "Fix double escaping of menu item messages" 2020-02-05 06:53:58 +00:00
permissions Allow passing context to MinervaPagePermissions 2020-01-29 10:33:36 -08:00
skins Deprecate wgMinervaCustomLogos in favor of $wgLogos 2020-02-19 23:59:28 +00:00
LanguagesHelper.php Extract language/variants check to a service 2019-07-16 19:53:57 +00:00
MinervaHooks.php Make MobileFrontend dependency a soft one 2020-01-17 14:02:23 -08:00
MinervaUI.php Allow null on MinervaUI::iconClass 2019-12-30 17:26:31 +01:00
ResourceLoaderLessVarFileModule.php Add GPL file header to PHP classes 2018-04-15 16:23:10 -07:00
ServiceWiring.php Allow passing context to MinervaPagePermissions 2020-01-29 10:33:36 -08:00
SkinOptions.php Discontinue back-to-top feature 2019-12-11 05:12:43 +00:00