photographyliner.blogg.se

Mediawiki change logo
Mediawiki change logo








mediawiki change logo

I have simply used the header block from my blogpage, as you can see below. Now when you go to the main screen of your MediaWiki page you will see your new logo. This should exit from nano having saved your file. You will be asked if you want to 'Save modified buffer', Simply press y and then press return. You should change newLogo.jpg to the name of your logo. $wgStylePath = " $wgScriptPath/skins" $wgLogo = "$wgStylePath/common/images/newLogo.jpg" So below these two lines type in the following. This is where you should put your customised option. # End of automatically generated settings. Scroll down to the very bottom of this file using the arrow keys, and you should see the following two lines. # Further documentation for configuration settings may be found at: # Protect against web entry if ( ! defined ( 'MEDIAWIKI' ) ) # Uncomment this to disable output compression # See includes/DefaultSettings.php for all configurable settings # and their default values, but don't forget to make changes in _this_ # file, not there.

Mediawiki change logo manual#

If you make manual changes, please keep track in case you # need to recreate them later. change this file, in the terminal, you need to type That may sound more complex than it is, but don't worry, it really is simple! You will find this in the /var/lib/mediawiki/ folder. Most modifications you make within MediaWiki are within the LocalSettings.php file. To change the logo it suggests you 'Set $wgLogo to the URL path to your own logo image.' Once this in place you now have to change your settings file to point to the new logo. You should not try to edit the image found in: /var/lib/mediawiki/skins/. Others may work, but I have not tested them! You might want to change the logo seen in the upper left hand corner of your screen. If it's not square just make sure that the largest number of pixels in x or y is 135. The logo should be 135 x 135 pixels in size, otherwise you will not see all of it.










Mediawiki change logo