Add DynamicPageList + PageForms extension

Signed-off-by: hexchen <hexchen@lilwit.ch>
This commit is contained in:
octycs 2021-01-15 10:33:57 +01:00 committed by hexchen
parent d0eedd4dcc
commit 4964ac6817

View file

@ -32,12 +32,27 @@ in {
$wgGroupPermissions['user']['writeapi'] = true; $wgGroupPermissions['user']['writeapi'] = true;
$wgDefaultUserOptions['visualeditor-enable'] = 1; $wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgLogo = "/images/a/ac/LantifaLogoFem0.1.png"; $wgLogo = "/images/a/ac/LantifaLogoFem0.1.png";
// PageForms config
$wgGroupPermissions['*']['viewedittab'] = false;
$wgGroupPermissions['user']['viewedittab'] = true;
// intersection / DynamicPageList config
$wgDLPMaxCacheTime = 5 * 60;
''; '';
extensions = { extensions = {
TemplateData = null; TemplateData = null;
VisualEditor = null; VisualEditor = null;
InputBox = null; InputBox = null;
intersection = pkgs.fetchzip { # This is the DynamicPageList extension
url = "https://extdist.wmflabs.org/dist/extensions/intersection-REL1_35-f657385.tar.gz";
sha256 = "0f4bpxdfj5k4ll56s3i6cpgcpfalsff307shdhqhrbl0n3kbr3q0";
};
PageForms = pkgs.fetchzip {
url = "https://github.com/wikimedia/mediawiki-extensions-PageForms/archive/5.0.1.zip";
sha256 = "172m7p941fbkl29h5bhanx3dn42jfmzgyvgmgm2lgdbmkawwly96";
};
}; };
virtualHost = { virtualHost = {