mediawiki: update to lastest versions
This commit is contained in:
parent
3fc5565c6b
commit
d252ec452f
2 changed files with 15 additions and 5 deletions
|
@ -64,7 +64,8 @@ in
|
||||||
# https://www.mediawiki.org/wiki/Extension:PluggableAuth
|
# https://www.mediawiki.org/wiki/Extension:PluggableAuth
|
||||||
# https://www.mediawiki.org/wiki/Extension:OpenID_Connect
|
# https://www.mediawiki.org/wiki/Extension:OpenID_Connect
|
||||||
$wgOpenIDConnect_MigrateUsersByEmail = true;
|
$wgOpenIDConnect_MigrateUsersByEmail = true;
|
||||||
$wgPluggableAuth_EnableLocalLogin = true;
|
//$wgOpenIDConnect_MigrateUsersByUserName = true;
|
||||||
|
$wgPluggableAuth_EnableLocalLogin = false;
|
||||||
$wgPluggableAuth_Config["iFSR Login"] = [
|
$wgPluggableAuth_Config["iFSR Login"] = [
|
||||||
"plugin" => "OpenIDConnect",
|
"plugin" => "OpenIDConnect",
|
||||||
"data" => [
|
"data" => [
|
||||||
|
@ -85,14 +86,14 @@ in
|
||||||
PluggableAuth = pkgs.fetchFromGitHub {
|
PluggableAuth = pkgs.fetchFromGitHub {
|
||||||
owner = "wikimedia";
|
owner = "wikimedia";
|
||||||
repo = "mediawiki-extensions-PluggableAuth";
|
repo = "mediawiki-extensions-PluggableAuth";
|
||||||
rev = "REL1_42";
|
rev = "7.3.0";
|
||||||
hash = "sha256-DKDVcAfWL90FmZbSsdx1J5PkGu47EsDQmjlCpcgLCn4=";
|
hash = "sha256-d9hztPSdAcyNxaxiB5Bfb4UhfLrjqpJbkto+pxfSPMY=";
|
||||||
};
|
};
|
||||||
OpenIDConnect = pkgs.fetchFromGitHub {
|
OpenIDConnect = pkgs.fetchFromGitHub {
|
||||||
owner = "wikimedia";
|
owner = "wikimedia";
|
||||||
repo = "mediawiki-extensions-OpenIDConnect";
|
repo = "mediawiki-extensions-OpenIDConnect";
|
||||||
rev = "REL1_42";
|
rev = "8.2.0";
|
||||||
hash = "sha256-0egGL3Gr7UQPdd2fjPEThcdJx+H+PcdXEGfQFMe45Sk=";
|
hash = "sha256-wVlAEMcBphw/MoREjiG90UWpQrV3aGAdhPd3rCrI/+Y=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -25,4 +25,13 @@ in
|
||||||
|
|
||||||
keycloak_ifsr_theme = callPackage ../modules/keycloak/theme.nix { };
|
keycloak_ifsr_theme = callPackage ../modules/keycloak/theme.nix { };
|
||||||
portunus = callPackage ./portunus.nix { };
|
portunus = callPackage ./portunus.nix { };
|
||||||
|
mediawiki = (prev.mediawiki.overrideAttrs (_old: rec {
|
||||||
|
version = "1.43.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://releases.wikimedia.org/mediawiki/${prev.lib.versions.majorMinor version}/mediawiki-${version}.tar.gz";
|
||||||
|
hash = "sha256-VuCn/i/3jlC5yHs9WJ8tjfW8qwAY5FSypKI5yFhr2O4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue