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
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Changing logo displayed by mediawiki=
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Web based tools or applications]] > [[Mediawiki configuration]] > [[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.
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.
 
 
 
 
 
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Web based tools or applications]] > [[Mediawiki configuration]] > [[Changing logo displayed by mediawiki]]

Latest revision as of 13:13, 28 July 2022

Home > CentOS > CentOS 6.x > Web based tools or applications > Mediawiki configuration > 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.



Home > CentOS > CentOS 6.x > Web based tools or applications > Mediawiki configuration > Changing logo displayed by mediawiki