Venkatesh Gotimukul
Venkatesh Gotimukul

Reputation: 761

How to add favicon to your wiki on mediawiki?

Is there any way to add favicon to your wiki pages created by mediawiki? As a Main/privileged user can i make changes on any page on wiki to get the favicon on all the pages?

Upvotes: 2

Views: 1499

Answers (1)

a stone arachnid
a stone arachnid

Reputation: 1288

In your LocalSettings.php, set $wgFavicon to the path to the favicon file, i.e:

$wgFavicon = '/path/to/favicon.ico'

Alternately, naming your file favicon.ico at the site root will work, because $wgFavicon defaults to /favicon.ico.

These will only work if you have direct access to the server, so you can't do it from the MediaWiki interface.

Upvotes: 4

Related Questions