

Let's assume that the filename of the logo that you uploaded is new-logo.jpg and you uploaded it in the folder /resources/assets. The style path is the folder where the skins are contained (simply put it corresponds to the skins folder). The script path is the folder on the account in which MediaWiki is installed, while in the second example the style path is used instead. In the first example the script path is included. Note that in the above two default examples in addition to the different folder paths, the path variable is different too. Just make sure you find the variable $wgLogo. If it has already been changed, the filename and the path may be different. These examples are for the default logo that comes prepackaged with MediaWiki. $wgLogo = "$wgStylePath/common/images/wiki.png" $wgLogo = "$wgScriptPath/resources/assets/wiki.png" įor older versions and for those upgraded to 1.24 from older versions the corresponding line will be a bit different: In MediaWiki 1.24 and newer versions find the following line in LocalSettings.php:

In MediaWiki versions 1.24 and newer the logo is in the folder /resources/assets (in older versions it's in /skins/common/images). To keep all the logo images together, if you want to, you can upload it in the same folder in which the default logo is located. It can be in the root MediaWiki folder on the account or it can be in a subfolder. The path to it can be specified later in the LocalSettings.php file. You're not required to upload the logo in a particular folder of your MediaWiki. Another approach is to use an FTP client (e.g. One way for HostKnox customers to do that is from the Files section of the Pixie control panel. First you have to upload the new logo on your hosting account.You have to upload the new image on your MediaWiki hosting account and you have to modify a line in the LocalSettings.php file of your MediaWiki. If you want to change it with your own logo, you can achieve this by doing a couple of things. MediaWiki comes prepackaged with a default logo image.

#Change mediawiki logo how to
Knowledgebase How to change the logo in MediaWiki
