mirror of
https://forge.katzen.cafe/katzen-cafe/katzen-cafe.git
synced 2024-11-22 05:54:41 +01:00
visual editor and stuff
This commit is contained in:
parent
e4fa74a53f
commit
cc33dfdbc6
|
@ -22,6 +22,7 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
config = { config, pkgs, ... }: {
|
config = { config, pkgs, ... }: {
|
||||||
|
environment.systemPackages = with pkgs; [ luajit ];
|
||||||
services.mediawiki = {
|
services.mediawiki = {
|
||||||
enable = true;
|
enable = true;
|
||||||
name = "phtanum-b";
|
name = "phtanum-b";
|
||||||
|
@ -48,6 +49,12 @@
|
||||||
|
|
||||||
$wgLogo = 'images/d/de/Phtanum-b-wikilogo.png';
|
$wgLogo = 'images/d/de/Phtanum-b-wikilogo.png';
|
||||||
|
|
||||||
|
$wgScribuntoDefaultEngine = 'luastandalone';
|
||||||
|
$wgScribuntoEngineConf['luastandalone']['luaPath'] = '${pkgs.luajit}/bin/lua';
|
||||||
|
|
||||||
|
$wgScribuntoUseGeSHi = true;
|
||||||
|
$wgScribuntoUseCodeEditor = true;
|
||||||
|
|
||||||
$wgGroupPermissions['oidc_interface_admin'] = $wgGroupPermissions['interface_admin'];
|
$wgGroupPermissions['oidc_interface_admin'] = $wgGroupPermissions['interface_admin'];
|
||||||
$wgGroupPermissions['oidc_admin'] = $wgGroupPermissions['sysop'];
|
$wgGroupPermissions['oidc_admin'] = $wgGroupPermissions['sysop'];
|
||||||
$wgGroupPermissions['oidc_admin']['userrights'] = true;
|
$wgGroupPermissions['oidc_admin']['userrights'] = true;
|
||||||
|
@ -77,18 +84,24 @@
|
||||||
url = "https://extdist.wmflabs.org/dist/extensions/OpenIDConnect-REL1_38-8f8bab6.tar.gz";
|
url = "https://extdist.wmflabs.org/dist/extensions/OpenIDConnect-REL1_38-8f8bab6.tar.gz";
|
||||||
sha256 = "sha256-g+PGNzt0o2FebI3xyVamz5RA95E86MD2yqD4v8N6zKU=";
|
sha256 = "sha256-g+PGNzt0o2FebI3xyVamz5RA95E86MD2yqD4v8N6zKU=";
|
||||||
};
|
};
|
||||||
ParserFunctions = pkgs.fetchzip {
|
#ParserFunctions = pkgs.fetchzip {
|
||||||
url = "https://extdist.wmflabs.org/dist/extensions/ParserFunctions-REL1_38-9455755.tar.gz";
|
#url = "https://extdist.wmflabs.org/dist/extensions/ParserFunctions-REL1_38-9455755.tar.gz";
|
||||||
sha256 = "sha256-+S89JIFkkc1o9nQmq278+WRdO9ByekGKDrwrrxyqXCc=";
|
#sha256 = "sha256-+S89JIFkkc1o9nQmq278+WRdO9ByekGKDrwrrxyqXCc=";
|
||||||
};
|
#};
|
||||||
TemplateStyles = pkgs.fetchzip {
|
TemplateStyles = pkgs.fetchzip {
|
||||||
url = "https://extdist.wmflabs.org/dist/extensions/TemplateStyles-REL1_38-a2d1ae3.tar.gz";
|
url = "https://extdist.wmflabs.org/dist/extensions/TemplateStyles-REL1_38-a2d1ae3.tar.gz";
|
||||||
sha256 = "sha256-AFTfKP5McB/UikA9RRAmw1vLrb7zWjbBLtJhsEP9sTY=";
|
sha256 = "sha256-AFTfKP5McB/UikA9RRAmw1vLrb7zWjbBLtJhsEP9sTY=";
|
||||||
};
|
};
|
||||||
TemplateData = pkgs.fetchzip {
|
#TemplateData = pkgs.fetchzip {
|
||||||
url = "https://extdist.wmflabs.org/dist/extensions/TemplateData-REL1_38-7763625.tar.gz";
|
#url = "https://extdist.wmflabs.org/dist/extensions/TemplateData-REL1_38-7763625.tar.gz";
|
||||||
sha256 = "sha256-204EBxEeuFZHtXoJPpa190vPSmPBcktxDVchIURW5Lo=";
|
#sha256 = "sha256-204EBxEeuFZHtXoJPpa190vPSmPBcktxDVchIURW5Lo=";
|
||||||
};
|
#};
|
||||||
|
Scribunto = null;
|
||||||
|
ParserFunctions = null;
|
||||||
|
TemplateData = null;
|
||||||
|
VisualEditor = null;
|
||||||
|
WikiEditor = null;
|
||||||
|
CodeEditor = null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue