cached F::app()->wg and used new $wgSolrDefaultPort variable instead of hardcoded int