Media Wiki Configure Site Logo: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:
* https://www.mediawiki.org/wiki/Manual:$wgLogo
* https://www.mediawiki.org/wiki/Manual:$wgLogo
=Internal=
=Internal=
* [[Media_Wiki_Concepts#Site_Logo|MediaWiki Concepts]]
=Overview=
=Overview=
Add to [[Media_Wiki_Concepts#LocalSettings.php|LocalSettings.php]]:
Add to [[Media_Wiki_Concepts#LocalSettings.php|LocalSettings.php]]:

Revision as of 05:50, 18 November 2021

External

Internal

Overview

Add to LocalSettings.php:

$wgLogo = 'resources/assets/cat.png';

The value should be a relative path from DOCUMENT_ROOT.

⚠️ Do not simply overwrite the default logo installed with MediaWiki (/resources/assets/wiki.png); this file will automatically be overwritten when you upgrade and your changes will be lost.