Skip to content

Commit 19a38ac

Browse files
committed
nixos/mediawiki: make changes for 1.43.0
1 parent dc93e32 commit 19a38ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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 \

0 commit comments

Comments
 (0)