Media Wiki Configure Site Logo: Difference between revisions

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

Revision as of 05:52, 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.