Generate "$wgServer" from SiteConfiguration using wikiid (dbname)

Change-Id: I3a90ae7f085e2c18c905b7023eee026b6468d469