Last modified: 2014-02-28 18:14:20 UTC
Created attachment 10430 [details] Patch that adds new options to the command line installer The command-line installer has a dbpassfile option, which can be used to avoid specifying the password for the database user in plaintext on the command line, as one would do with the dbpass option. It would be nice if there were a way to do that for the pass and installdbpass options as well. I've attached a patch against the current git master that does this. I'm running a similar modification on 1.18.2 at my site to get this functionality.
This enhancement is related to #26911.
Kevan, do you have a Labs account to submit this to Gerrit yourself?
Kevan: Thanks for your patch! You are welcome to use Developer access https://www.mediawiki.org/wiki/Developer_access to submit this as a Git branch directly into Gerrit: https://www.mediawiki.org/wiki/Git/Tutorial Putting your branch in Git makes it easier to review it quickly. Thanks again! We appreciate your contribution.
(In reply to Kevan Carstensen from comment #0) > Created attachment 10430 [details] > Patch that adds new options to the command line installer Tried to put the patch into Gerrit via http://tools.wmflabs.org/gerrit-patch-uploader/ but patch needs rework: patch -p1 < patch patching file maintenance/install.php Hunk #1 FAILED at 69. 1 out of 1 hunk FAILED -- saving rejects to file maintenance/install.php.rej patching file maintenance/install.php Hunk #1 FAILED at 40. Hunk #2 succeeded at 60 (offset 6 lines). Hunk #3 FAILED at 70. 2 out of 3 hunks FAILED -- saving rejects to file maintenance/install.php.rej