hellvorti.blogg.se

Change mediawiki logo
Change mediawiki logo










change mediawiki logo

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:

  • Once you have the logo on your hosting account you have to specify it's name and path in the LocalSettings.php file of your MediaWiki.
  • If you prefer it, you can upload the logo directly in the root MediaWiki folder (e.g. So, for example, if your MediaWiki is installed directly in the public_html folder on the hosting account, the path to that folder will be public_html/resources/assets. This is the path in relation to the root MediaWiki folder.

    change mediawiki logo

    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

    #Change mediawiki logo how to

    Knowledgebase How to change the logo in MediaWiki












    Change mediawiki logo