Difference between revisions of "Changing logo displayed by mediawiki"

From Notes_Wiki
(Created page with "=Changing logo displayed by mediawiki= To change logo displayed by mediawiki, change value of '$wgLogo' variable in file 'LocalSettings.php'. Sample value is listed below. <p...")
 
m
Line 3: Line 3:
To change logo displayed by mediawiki, change value of '$wgLogo' variable in file 'LocalSettings.php'. Sample value is listed below.
To change logo displayed by mediawiki, change value of '$wgLogo' variable in file 'LocalSettings.php'. Sample value is listed below.
<pre>
<pre>
$wgLogo = "/readme/skins/common/images/todo.jpg";
$wgLogo = "$wgStylePath/common/images/ra.jpeg";
</pre>
</pre>
'''Note:''' Here mediawiki was setup at <domain>/readme and the image file was copied to folder '<tt>/usr/share/mediawiki-<name>/skins/common/images</tt>'. Basically absolute path with respect to virtual host on which mediawiki is hosted should be given.
'''Note:''' Here image file was copied to folder '<tt>skins/common/images</tt>' within mediawiki installation folder.

Revision as of 01:41, 17 May 2013

Changing logo displayed by mediawiki

To change logo displayed by mediawiki, change value of '$wgLogo' variable in file 'LocalSettings.php'. Sample value is listed below.

$wgLogo = "$wgStylePath/common/images/ra.jpeg";

Note: Here image file was copied to folder 'skins/common/images' within mediawiki installation folder.