We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc93e32 commit 19a38acCopy full SHA for 19a38ac
nixos/modules/services/web-apps/mediawiki.nix
@@ -623,7 +623,7 @@ in
623
tr -dc A-Za-z0-9 </dev/urandom 2>/dev/null | head -c 64 > ${stateDir}/secret.key
624
fi
625
626
- echo "exit( wfGetDB( DB_MASTER )->tableExists( 'user' ) ? 1 : 0 );" | \
+ echo "exit( wfGetDB( DB_PRIMARY )->tableExists( 'user' ) ? 1 : 0 );" | \
627
${php}/bin/php ${pkg}/share/mediawiki/maintenance/eval.php --conf ${mediawikiConfig} && \
628
${php}/bin/php ${pkg}/share/mediawiki/maintenance/install.php \
629
--confpath /tmp \
0 commit comments