On continuous integration, we run several update.php with paths coming
from environnement variables. To make sure the correct path is always
used and assist in debugging, the maintenance/update.php script now
print out the SQLite database full filename whenever we are using a
SQLite database backend.
Change-Id: I2bba919e054c1947c1d956d94998c2cf95fd9683
$db = wfGetDB( DB_MASTER );
$this->output( "Going to run database updates for " . wfWikiID() . "\n" );
+ if( $db->getType() === 'sqlite' ) {
+ $this->output( "Using SQLite file: '{$db->mDatabaseFile}'\n" );
+ }
$this->output( "Depending on the size of your database this may take a while!\n" );
if ( !$this->hasOption( 'quick' ) ) {