Difference between revisions of "Changing default skin for mediawiki"
From Notes_Wiki
(Created page with "<yambe:breadcrumb>Mediawiki_configuration|Mediawiki configuration</yambe:breadcrumb> =Changing default skin for mediawiki= To change default skin for mediawiki, edit LocalSet...") |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Web based tools or applications]] > [[Mediawiki configuration]] > [[Changing default skin for mediawiki]] | |||
To change default skin for mediawiki, edit LocalSettings.php file to modify: | To change default skin for mediawiki, edit LocalSettings.php file to modify: | ||
Line 13: | Line 12: | ||
One can go to skin preferences for a logged in user to see whether modern skin is getting correctly identified as default or not. | One can go to skin preferences for a logged in user to see whether modern skin is getting correctly identified as default or not. | ||
==Change font size in Modern skin== | |||
To change font size in modern skin edit '<tt>skins/Modern/resources/main.css</tt>' and update font-size in body appropriately. | |||
<pre> | |||
body { | |||
... | |||
font-size: x-small; | |||
... | |||
} | |||
</pre> | |||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Web based tools or applications]] > [[Mediawiki configuration]] > [[Changing default skin for mediawiki]] |
Latest revision as of 13:06, 28 July 2022
Home > CentOS > CentOS 6.x > Web based tools or applications > Mediawiki configuration > Changing default skin for mediawiki
To change default skin for mediawiki, edit LocalSettings.php file to modify:
$wgDefaultSkin = 'vector';
For example to make default skin as modern use:
$wgDefaultSkin = 'modern';
One can go to skin preferences for a logged in user to see whether modern skin is getting correctly identified as default or not.
Change font size in Modern skin
To change font size in modern skin edit 'skins/Modern/resources/main.css' and update font-size in body appropriately.
body { ... font-size: x-small; ... }
Home > CentOS > CentOS 6.x > Web based tools or applications > Mediawiki configuration > Changing default skin for mediawiki