Merge pull request 'mediawiki: add VisualEditor' (#26) from mediawiki-add-visual-editor into main

Reviewed-on: https://git.pvv.ntnu.no/Drift/pvv-nixos-config/pulls/26
This commit is contained in:
Oystein Kristoffer Tveit 2024-04-06 21:19:41 +02:00
commit f25a4e5c02
3 changed files with 9 additions and 1 deletions

View File

@ -85,7 +85,7 @@ in {
}; };
extensions = { extensions = {
inherit (pkgs.mediawiki-extensions) DeleteBatch UserMerge PluggableAuth SimpleSAMLphp; inherit (pkgs.mediawiki-extensions) DeleteBatch UserMerge PluggableAuth SimpleSAMLphp VisualEditor;
}; };
extraConfig = '' extraConfig = ''

View File

@ -4,4 +4,5 @@ lib.makeScope pkgs.newScope (self: {
PluggableAuth = self.callPackage ./pluggable-auth { }; PluggableAuth = self.callPackage ./pluggable-auth { };
SimpleSAMLphp = self.callPackage ./simple-saml-php { }; SimpleSAMLphp = self.callPackage ./simple-saml-php { };
UserMerge = self.callPackage ./user-merge { }; UserMerge = self.callPackage ./user-merge { };
VisualEditor = self.callPackage ./visual-editor { };
}) })

View File

@ -0,0 +1,7 @@
{ fetchzip }:
fetchzip {
name = "mediawiki-visual-editor-source";
url = "https://extdist.wmflabs.org/dist/extensions/VisualEditor-REL1_40-5f8c97e.tar.gz";
hash = "sha256-oBMmEDKsFxrD0tpN2dy264IXK164BrZWrNK3v3FNX6w=";
}