forked from hacc/haccfiles
hainich/lantifa: attempt visualeditor fix
This commit is contained in:
parent
ea80c4fe41
commit
548188be4d
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,7 @@ in {
|
|||
localAddress6 = "fd00::42:15";
|
||||
|
||||
config = {config, pkgs, ... }: {
|
||||
networking.hosts."fd00::42:14" = [ "wiki.lantifa.org" ];
|
||||
networking.firewall.allowedTCPPorts = [ 4422 ];
|
||||
users.users.mediawiki.extraGroups = [ "keys" ];
|
||||
|
||||
|
@ -22,6 +23,8 @@ in {
|
|||
extraConfig = ''require_once('/var/lib/mediawiki/plugins/WikiDB/WikiDB.php');
|
||||
$wgExtraNamespaces = array( 100 => "Table", 101 => "Table_Talk",);
|
||||
$wgWikiDBNamespaces = 100;
|
||||
$wgGroupPermissions['user']['writeapi'] = true;
|
||||
$wgDefaultUserOptions['visualeditor-enable'] = 1;
|
||||
'';
|
||||
|
||||
extensions = {
|
||||
|
@ -29,6 +32,7 @@ in {
|
|||
url = "https://extdist.wmflabs.org/dist/extensions/TemplateData-REL1_31-0bf2ec0.tar.gz";
|
||||
sha256 = ''1kygi069jqlrkpwxwf2m5467k02wmbj38vzp796rl827ajrzxfip'';
|
||||
};
|
||||
VisualEditor = null;
|
||||
};
|
||||
|
||||
virtualHost = {
|
||||
|
|
Loading…
Reference in a new issue