/** * Constructor method. * Sets defaults -- no writing to memache, and a default search indexer instance */ public function __construct() { parent::__construct(); $this->service = new MediaWikiService(); $this->service->setGlobal('AllowMemcacheWrites', false)->setGlobal('AppStripsHtml', true); if (function_exists('newrelic_disable_autorum')) { newrelic_disable_autorum(); } if (function_exists('newrelic_background_job')) { newrelic_background_job(true); } }