If you have followed the instructions above and you still do not see your logo, please make sure that in the LocalSettings.php the image upload is allowed. The wiki's logo is defined by assigning a URL to the wgLogo variable in. For example if you have uploaded you logo logo.png in the skins/common/images/ directory the line should look like:Ĥ. Go to the MediaWiki:Copyrightwarning page and edit it and you will see the. This Mediawiki is installed on Windows 7. This quick tutorial explains how to replace and set your Wiki Logo. If you have uploaded the logo in a subdirectory of you public_html, be sure to paste the whole path. How to change and set a Logo in Mediawiki. For example if we suppose that your logo is named logo.png and you have uploaded it directly in the public_html folder the line should look like: If there is no such line you should add it yourself and if there already is such a line you should edit it to contain the path to your logo. You should open the LocalSetting.php and look for a line that starts with $wgLogo. If it is installed in a subdirectory of the public_html, the file will be located in the subdirectory. Weve long been using MediaWiki (the same wiki software used by Wikipedia. MediaWiki:Mainpage should always contain the title, because it is a system message that is reserved for the title of the main page, so dont change it to MediaWiki:x. Then edit it so its content is the name of the page you want to be the main page. If it is installed directly in the public_html, this file will also be there. Youll read about these changes in the changelog of the upcoming 0.48.0. In the search bar, type MediaWiki:Mainpage. The LocalSettings.php file is located under the directory where your MediaWiki is installed. This allows the photo to be replaced easily, so you may want to protect the page if you use this method. Now when you clear you browser cache and refresh your MediaWiki site you will see your logo replace the generic logo. Upload your logo image somewhere on your web hosting account.įor example you can upload it directly in the public_html folder.ģ. Add or edit the $wgLogo line in the LocalSettings.php to contain the path to your logo Upload a picture with your wiki and use that address. Replace the wiki.png image with your image We suggest renaming the original wiki.png image to something random, like wiki.png-old and rename your image to wiki.png. Please note that if you upload image with different dimensions it may not be displayed.Ģ. In order to change the MediaWiki default logo you should do the following:ġ. Create an image for your logo with dimensions of 135x135 pixels.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |