/var/lib/mediawiki/skins/common/images/
The logo should be 135 x 135 pixels in size, otherwise you will not see all of it. If it's not square just make sure that the largest number of pixels in x or y is 135. I tend to use .png of .jpg images. Others may work, but I have not tested them!
Once this in place you now have to change your settings file to point to the new logo.
To change the logo it suggests you 'Set $wgLogo to the URL path to your own logo image.'
Most modifications you make within MediaWiki are within the LocalSettings.php file. You will find this in the /var/lib/mediawiki/ folder. That may sound more complex than it is, but don't worry, it really is simple!
To change this file, in the terminal, you need to type
For those that don't know.
- sudo - gives you administrator rights to change the file.
- nano - is a text editor. There are others you can use but for demonstration purposes I am using nano.
- /var/lib/mediawiki/LocalSettings.php - this is the location and name of the file you want to change. The file is LocalSettings.php, which is in location /var/lib/mediawiki/
This will open the LocalSettings.php file for you to edit.
You should see something like this.
Scroll down to the very bottom of this file using the arrow keys, and you should see the following two lines.
This is where you should put your customised option. So below these two lines type in the following.
You should change newLogo.jpg to the name of your logo.
Now press ctrl-x to exit. You will be asked if you want to 'Save modified buffer', Simply press y and then press return. This should exit from nano having saved your file.
Now when you go to the main screen of your MediaWiki page you will see your new logo.
I have simply used the header block from my blogpage, as you can see below.
There you go, you have completed the first step to customising your MediaWiki page. A big improvement over the standard logo!
Big chief extracts
ReplyDeleteBuy big chief extracts
Big chief carts
buy chronic carts online
chronic carts
buy cobra extracts online
cobra extracts
buy glo extracts online
glo extracts
glo carts
glo cartridges
buy optimum extracts online
optimum extracts
optimum extracts cartridge
optimum carts
pure one carts
pure one cartridges
skyhigh carts
skyhigh original carts
buy lions breath carts online
lions breath carts
Can you please update this? Localsettings.php is no longer in the var folder, and common folder doesn't exist.
ReplyDelete
ReplyDeleteشركات نقل عفش واثاث بجدة
شركات نقل عفش بالطائف
اسعار وارقام شركات نقل العفش بالمدينة المنورة
دينا نقل عفش جدة ,افضل دينا
ارخص شركه نقل عفش بجده
دليل شركات نقل العفش بجدة
شركة نقل عفش برابغ ,15 عام خبرة
شركات نقل عفش واثاث بالباحه
وسائل نقل العفش بخميس مشيط
doja dispensary
ReplyDeletedoja weed
doja
doja dispensary michigan
doja dispensary kalamazoo
doja exclusive
doja exclusive weed
doja exclusive rs11
doja exclusive strains
doja exclusive gelonade strain
doja exclusive delivery
Rs11 strain
doja cookies strain