mock wgWikiaEnvironment