Addshore has submitted this change and it was merged.

Change subject: If we use a prefix also install with a prefix..
......................................................................


If we use a prefix also install with a prefix..

Change-Id: Id93090a947496de34d588b18d087f3da63e5c873
---
M .travis.sh
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Addshore: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.travis.sh b/.travis.sh
index 54f3f68..f012283 100644
--- a/.travis.sh
+++ b/.travis.sh
@@ -21,7 +21,7 @@
        cd ../phase3
 
        mysql -e 'create database its_a_mw;'
-       php maintenance/install.php --dbtype $DBTYPE --dbuser root --dbname 
its_a_mw --dbpath $(pwd) --pass nyan TravisWiki admin
+       php maintenance/install.php --dbtype $DBTYPE --dbuser root --dbname 
its_a_mw --dbpath $(pwd) --dbprefix mw_ --pass nyan TravisWiki admin
 
        cd extensions/WikibaseDatabase
        composer install
@@ -33,7 +33,7 @@
        echo 'ini_set("display_errors", 1);' >> LocalSettings.php
        echo '$wgShowExceptionDetails = true;' >> LocalSettings.php
        echo '$wgDevelopmentWarnings = true;' >> LocalSettings.php
-       echo 'if ( $wgDBtype == "mysql" ) { $wgDBprefix = "mw_"; }' >> 
LocalSettings.php
+       echo '$wgDBprefix = "mw_";' >> LocalSettings.php
 
        php maintenance/update.php --quick
 

-- 
To view, visit https://gerrit.wikimedia.org/r/90338
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id93090a947496de34d588b18d087f3da63e5c873
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseDatabase
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to