Skip to content

Commit 886a285

Browse files
authored
mediawiki: 1.42.4 -> 1.43.0 (#369641)
2 parents 252bfe3 + 19a38ac commit 886a285

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

nixos/modules/services/web-apps/mediawiki.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ in
623623
tr -dc A-Za-z0-9 </dev/urandom 2>/dev/null | head -c 64 > ${stateDir}/secret.key
624624
fi
625625
626-
echo "exit( wfGetDB( DB_MASTER )->tableExists( 'user' ) ? 1 : 0 );" | \
626+
echo "exit( wfGetDB( DB_PRIMARY )->tableExists( 'user' ) ? 1 : 0 );" | \
627627
${php}/bin/php ${pkg}/share/mediawiki/maintenance/eval.php --conf ${mediawikiConfig} && \
628628
${php}/bin/php ${pkg}/share/mediawiki/maintenance/install.php \
629629
--confpath /tmp \

pkgs/by-name/me/mediawiki/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
stdenvNoCC.mkDerivation rec {
44
pname = "mediawiki";
5-
version = "1.42.4";
5+
version = "1.43.0";
66

77
src = fetchurl {
88
url = "https://releases.wikimedia.org/mediawiki/${lib.versions.majorMinor version}/mediawiki-${version}.tar.gz";
9-
hash = "sha256-jiCXmH1Nu6fASFP2LNo338M4GeACjKSALSXzRM/o5yc=";
9+
hash = "sha256-VuCn/i/3jlC5yHs9WJ8tjfW8qwAY5FSypKI5yFhr2O4=";
1010
};
1111

1212
postPatch = ''

0 commit comments

Comments
 (0)