wiki: add MobileFrontend und Minerva
This commit is contained in:
parent
3a218b625f
commit
0ef987fd94
1 changed files with 6 additions and 2 deletions
|
@ -38,6 +38,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
wfLoadSkin( 'MinervaNeue' );
|
||||||
$wgSitename = "FSR Wiki";
|
$wgSitename = "FSR Wiki";
|
||||||
$wgArticlePath = '/$1';
|
$wgArticlePath = '/$1';
|
||||||
|
|
||||||
|
@ -57,6 +58,7 @@ in
|
||||||
$wgUseAjax = true;
|
$wgUseAjax = true;
|
||||||
$wgEnableMWSuggest = true;
|
$wgEnableMWSuggest = true;
|
||||||
$wgDefaultSkin = 'timeless';
|
$wgDefaultSkin = 'timeless';
|
||||||
|
$wgDefaultMobileSkin = 'minerva';
|
||||||
|
|
||||||
//TODO what about $wgUpgradeKey ?
|
//TODO what about $wgUpgradeKey ?
|
||||||
|
|
||||||
|
@ -75,13 +77,15 @@ in
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
'';
|
'';
|
||||||
|
|
||||||
extensions = {
|
extensions = {
|
||||||
# some extensions are included and can enabled by passing null
|
# some extensions are included and can enabled by passing null
|
||||||
VisualEditor = null;
|
VisualEditor = null;
|
||||||
# the dir in the mediawiki-1.42.3.tar.gz inside of the extension folder is called "SyntaxHighlight_GeSHi" not "SyntaxHighlight"
|
# the dir in the mediawiki-1.42.3.tar.gz inside of the extension folder is called "SyntaxHighlight_GeSHi" not "SyntaxHighlight"
|
||||||
SyntaxHighlight_GeSHi = null;
|
SyntaxHighlight_GeSHi = null;
|
||||||
|
MobileFrontend = pkgs.fetchzip {
|
||||||
|
url = "https://extdist.wmflabs.org/dist/extensions/MobileFrontend-REL1_43-3b4cac8.tar.gz";
|
||||||
|
hash = "sha256-aJOArZl+oO/ADjxIhlFVGS8hGmpSp6nsgC7XkKEk1Ks=";
|
||||||
|
};
|
||||||
PluggableAuth = pkgs.fetchzip {
|
PluggableAuth = pkgs.fetchzip {
|
||||||
url = "https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_42-1da98f4.tar.gz";
|
url = "https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_42-1da98f4.tar.gz";
|
||||||
hash = "sha256-5uBUy7lrr86ApASYPWgF6Wa09mxxP0o+lXLt1gVswlA=";
|
hash = "sha256-5uBUy7lrr86ApASYPWgF6Wa09mxxP0o+lXLt1gVswlA=";
|
||||||
|
|
Loading…
Add table
Reference in a new issue