force master database connection during wiki creation process

This prevents random failures during the wiki creation process because of slave lag.  

@lgarczewski @michalroszka