hookContainer = $hookContainer; $this->revisionStore = $revisionStore; $this->titleParser = $titleParser; } /** * @param IDatabase $db * @param int|array $history * @param int $text * @param null|array $limitNamespaces * * @return WikiExporter */ public function getWikiExporter( IDatabase $db, $history = WikiExporter::CURRENT, $text = WikiExporter::TEXT, $limitNamespaces = null ): WikiExporter { return new WikiExporter( $db, $this->hookContainer, $this->revisionStore, $this->titleParser, $history, $text, $limitNamespaces ); } }