MediaWiki - Configure Theme: Difference between revisions
Created page with "== LocalSettings.php == Download LocalSettings.php, apply the changes below and reupload it to the root folder of the Wiki. === Enable the modern version of the Vector skin === Set the following commands:<pre>$wgDefaultSkin = "vector-2022"; $wgVectorNightMode['beta'] = true; $wgVectorNightMode['logged_out'] = true; $wgVectorNightMode['logged_in'] = true;</pre> === Enable Dark Mode === Set the following command:<pre> $wgDefaultUserOptions['vector-theme'] = 'night'; </pr..." |
(No difference)
|
Revision as of 19:54, 19 October 2025
LocalSettings.php
Download LocalSettings.php, apply the changes below and reupload it to the root folder of the Wiki.
Enable the modern version of the Vector skin
Set the following commands:
$wgDefaultSkin = "vector-2022"; $wgVectorNightMode['beta'] = true; $wgVectorNightMode['logged_out'] = true; $wgVectorNightMode['logged_in'] = true;
Enable Dark Mode
Set the following command:
$wgDefaultUserOptions['vector-theme'] = 'night';
Hide useless panels
Set the following commands:
$wgDefaultUserOptions['vector-main-menu-pinned'] = 1; $wgDefaultUserOptions['vector-page-tools-pinned'] = 0; $wgDefaultUserOptions['vector-toc-pinned'] = 1; $wgDefaultUserOptions['vector-appearance-pinned'] = 0;