fixed issues with mediawiki not connecting to sqlite db