added Wiki DB & Template Data plugins

This commit is contained in:
Schweby mit Hut 2021-01-12 23:14:05 +01:00
parent 5006060d68
commit 2d8eeb45ab

View file

@ -16,6 +16,17 @@
name = "LANtifa"; name = "LANtifa";
database.createLocally = true; database.createLocally = true;
passwordFile = "/var/lib/mediawiki/mediawiki-password"; passwordFile = "/var/lib/mediawiki/mediawiki-password";
extraConfig = ''require_once('/var/lib/mediawiki/plugins/WikiDB/WikiDB.php');
$wgExtraNamespaces = array( 100 => "Table", 101 => "Table_Talk",);
$wgWikiDBNamespaces = 100;
'';
extensions = {
TemplateData = pkgs.fetchzip {
url = "https://extdist.wmflabs.org/dist/extensions/TemplateData-REL1_31-0bf2ec0.tar.gz";
sha256 = ''1kygi069jqlrkpwxwf2m5467k02wmbj38vzp796rl827ajrzxfip'';
};
};
virtualHost = { virtualHost = {
hostName = "wiki.lantifa.org"; hostName = "wiki.lantifa.org";