]> scripts.mit.edu Git - wizard.git/commitdiff
Pass server and scriptpath to MediaWiki CLI installer.
authorEdward Z. Yang <ezyang@mit.edu>
Sun, 31 Jul 2011 04:12:06 +0000 (00:12 -0400)
committerEdward Z. Yang <ezyang@mit.edu>
Sun, 31 Jul 2011 04:12:06 +0000 (00:12 -0400)
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
wizard/app/mediawiki.py

index 12d0c483c7532f02e0bb317772773aa5787ea926..30953d966e6af3412e8d2961ba0527e54edf4449 100644 (file)
@@ -69,6 +69,8 @@ class Application(app.Application):
                     "--dbuser", options.dsn.username,
                     "--email", options.email,
                     "--pass", options.admin_password,
+                    "--server", "http://" + options.web_host,
+                    "--scriptpath", options.web_path,
                     options.title, options.admin_name,
                     log=True)
         except shell.CallError as e: