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";
|
localAddress6 = "fd00::42:15";
|
||||||
|
|
||||||
config = {config, pkgs, ... }: {
|
config = {config, pkgs, ... }: {
|
||||||
|
networking.hosts."fd00::42:14" = [ "wiki.lantifa.org" ];
|
||||||
networking.firewall.allowedTCPPorts = [ 4422 ];
|
networking.firewall.allowedTCPPorts = [ 4422 ];
|
||||||
users.users.mediawiki.extraGroups = [ "keys" ];
|
users.users.mediawiki.extraGroups = [ "keys" ];
|
||||||
|
|
||||||
|
@ -22,6 +23,8 @@ in {
|
||||||
extraConfig = ''require_once('/var/lib/mediawiki/plugins/WikiDB/WikiDB.php');
|
extraConfig = ''require_once('/var/lib/mediawiki/plugins/WikiDB/WikiDB.php');
|
||||||
$wgExtraNamespaces = array( 100 => "Table", 101 => "Table_Talk",);
|
$wgExtraNamespaces = array( 100 => "Table", 101 => "Table_Talk",);
|
||||||
$wgWikiDBNamespaces = 100;
|
$wgWikiDBNamespaces = 100;
|
||||||
|
$wgGroupPermissions['user']['writeapi'] = true;
|
||||||
|
$wgDefaultUserOptions['visualeditor-enable'] = 1;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
extensions = {
|
extensions = {
|
||||||
|
@ -29,6 +32,7 @@ in {
|
||||||
url = "https://extdist.wmflabs.org/dist/extensions/TemplateData-REL1_31-0bf2ec0.tar.gz";
|
url = "https://extdist.wmflabs.org/dist/extensions/TemplateData-REL1_31-0bf2ec0.tar.gz";
|
||||||
sha256 = ''1kygi069jqlrkpwxwf2m5467k02wmbj38vzp796rl827ajrzxfip'';
|
sha256 = ''1kygi069jqlrkpwxwf2m5467k02wmbj38vzp796rl827ajrzxfip'';
|
||||||
};
|
};
|
||||||
|
VisualEditor = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualHost = {
|
virtualHost = {
|
||||||
|
|
Loading…
Reference in a new issue